Classes | |
struct | center |
Mass center accumulator. More... | |
struct | convolve |
Generic convolution accumulator class. More... | |
struct | count_adjacent_vertices |
Accumulator class counting the number of vertices adjacent to a set of mln::p_edges_psite (i.e., a set of edges). More... | |
struct | count_labels |
Count the number of different labels in an image. More... | |
struct | count_value |
Count a given value. More... | |
struct | histo |
Generic histogram class over a value set with type V . More... | |
struct | label_used |
References all the labels used. More... | |
struct | maj_h |
Compute the majority value. More... | |
struct | max_site |
Define an accumulator that computes the first site with the maximum value in an image. More... | |
struct | nil |
Define an accumulator that does nothing. More... | |
struct | p |
Generic p of accumulators. More... | |
struct | pair |
Generic pair of accumulators. More... | |
struct | rms |
Generic root mean square accumulator class. More... | |
struct | tuple |
Generic tuple of accumulators. More... | |
struct | val |
Generic val of accumulators. More... | |
Namespaces | |
namespace | image |
Namespace of accumulator image routines. | |
namespace | impl |
Implementation namespace of accumulator namespace. | |
namespace | internal |
Internal namespace of accumulators. | |
namespace | logic |
Namespace of logical accumulators. | |
namespace | math |
Namespace of mathematic accumulators. | |
namespace | meta |
namespace | shape |
Namespace of shape accumulators. | |
namespace | site_set |
namespace | stat |
Namespace of statistical accumulators. | |
Functions | |
template<typename A, typename I> | |
A::result | compute (const Accumulator< A > &a, const Image< I > &input) |
Make an accumulator compute the pixels of the image input . | |
template<typename Meta_Accu, unsigned Dir, typename I, typename O> | |
void | line (const Image< I > &input, const typename I::site &p_start, unsigned len, unsigned half_length, Image< O > &output) |
template<typename A, typename I> | |
mln_meta_accu_result (A, util::pix< I >) compute(const Meta_Accumulator< A > &a | |
Make an accumulator compute the pixels of the image input . | |
template<typename V> | |
std::ostream & | operator<< (std::ostream &ostr, const histo< V > &h) |
template<typename A, typename I> | |
void | take (const Image< I > &input, Accumulator< A > &a) |
Make an accumulator take the pixels of the image input . | |
template<typename I, typename A, typename W> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform (const Image< I > &input, const Meta_Accumulator< A > &a, const Window< W > &win) |
template<typename I, typename A, typename W> | |
mln::trait::ch_value< I, typename A::result >::ret | transform (const Image< I > &input, const Accumulator< A > &a, const Window< W > &win) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform_diagonal (const Meta_Accumulator< A > &a, const Image< I > &input, const Window< W > &win) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, typename A::result >::ret | transform_diagonal (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform_directional (const Meta_Accumulator< A > &a, const Image< I > &input, const Window< W > &win, unsigned dir) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, typename A::result >::ret | transform_directional (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win, unsigned dir) |
template<typename A, typename I> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform_line (const Meta_Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir) |
template<typename A, typename I> | |
mln::trait::ch_value< I, typename A::result >::ret | transform_line (const Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform_snake (const Meta_Accumulator< A > &a, const Image< I > &input, const Window< W > &win) |
template<typename A, typename I, typename W> | |
mln::trait::ch_value< I, typename A::result >::ret | transform_snake (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win) |
template<typename I, typename A, typename W> | |
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret | transform_stop (const Image< I > &input, const Meta_Accumulator< A > &a, const Window< W > &win) |
template<typename I, typename A, typename W> | |
mln::trait::ch_value< I, typename A::result >::ret | transform_stop (const Image< I > &input, const Accumulator< A > &a, const Window< W > &win) |
template<typename M, typename T> | |
void | unmeta (const Meta_Accumulator< M > &, T) |
template<typename M, typename T> | |
M::template with< T >::ret | unmeta (const M &, T) |
template<typename T> | |
stat::rank_high_quant< T > | unmeta (const meta::stat::rank_high_quant &m, T) |
template<typename T> | |
stat::rank< T > | unmeta (const meta::stat::rank &m, T) |
template<typename T> | |
stat::median_alt< T > | unmeta (const meta::stat::median_alt< T > &m, T) |
Variables | |
const Image< I > & | input |
A::result mln::accu::compute | ( | const Accumulator< A > & | a, | |
const Image< I > & | input | |||
) | [inline] |
Make an accumulator compute the pixels of the image input
.
[in] | input | The input image. |
[in] | a | An accumulator. |
Definition at line 130 of file accu/compute.hh.
References mln::accu::internal::compute_dispatch(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
void mln::accu::line | ( | const Image< I > & | input, | |
const typename I::site & | p_start, | |||
unsigned | len, | |||
unsigned | half_length, | |||
Image< O > & | output | |||
) | [inline] |
Line an accumulator onto the pixel values of the image input
.
[in] | input | The input image. |
[in] | p_start | The starting site of the line. |
[in] | len | The line length. |
[in] | half_length | The half length of the line. |
[in,out] | output | The resulting image. |
a
input
, tmp) Definition at line 381 of file accu/line.hh.
References mln::exact(), and input.
mln::accu::mln_meta_accu_result | ( | A | , | |
util::pix< I > | ||||
) | const [inline] |
std::ostream & mln::accu::operator<< | ( | std::ostream & | ostr, | |
const histo< V > & | h | |||
) | [inline] |
Definition at line 224 of file accu/histo.hh.
void mln::accu::take | ( | const Image< I > & | input, | |
Accumulator< A > & | a | |||
) | [inline] |
Make an accumulator take the pixels of the image input
.
[in] | input | The input image. |
[in,out] | a | The accumulator. |
input
, a.take
( pix(input
, p) )
Definition at line 85 of file take.hh.
References mln::exact(), and mln::accu::impl::take().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform | ( | const Image< I > & | input, | |
const Meta_Accumulator< A > & | a, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 201 of file accu/transform.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_dispatch(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform | ( | const Image< I > & | input, | |
const Accumulator< A > & | a, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 185 of file accu/transform.hh.
References mln::extension::adjust(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), and mln::accu::internal::transform_dispatch().
Referenced by mln::morpho::impl::generic::general_on_function(), and mln::accu::internal::transform_dispatch().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform_diagonal | ( | const Meta_Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 448 of file transform_diagonal.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_diagonal_dispatch(), mln::accu::internal::transform_diagonal_tests(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform_diagonal | ( | const Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 429 of file transform_diagonal.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::trace::exiting(), mln::accu::internal::transform_diagonal_dispatch(), and mln::accu::internal::transform_diagonal_tests().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform_directional | ( | const Meta_Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win, | |||
unsigned | dir | |||
) | [inline] |
Definition at line 322 of file transform_directional.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_directional_dispatch(), mln::accu::internal::transform_directional_tests(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform_directional | ( | const Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win, | |||
unsigned | dir | |||
) | [inline] |
Definition at line 302 of file transform_directional.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::trace::exiting(), mln::accu::internal::transform_directional_dispatch(), and mln::accu::internal::transform_directional_tests().
Referenced by mln::morpho::impl::rank_filter_directional().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform_line | ( | const Meta_Accumulator< A > & | a, | |
const Image< I > & | input, | |||
unsigned | length, | |||
unsigned | dir | |||
) | [inline] |
Definition at line 527 of file transform_line.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_line_dispatch(), mln::accu::internal::transform_line_tests(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform_line | ( | const Accumulator< A > & | a, | |
const Image< I > & | input, | |||
unsigned | length, | |||
unsigned | dir | |||
) | [inline] |
Definition at line 506 of file transform_line.hh.
References mln::extension::adjust(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), mln::accu::internal::transform_line_dispatch(), and mln::accu::internal::transform_line_tests().
Referenced by mln::data::impl::median_line(), mln::morpho::impl::rank_filter_line(), and mln::accu::internal::transform_line_dispatch().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform_snake | ( | const Meta_Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 456 of file transform_snake.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_snake_dispatch(), mln::accu::internal::transform_snake_tests(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform_snake | ( | const Accumulator< A > & | a, | |
const Image< I > & | input, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 437 of file transform_snake.hh.
References mln::extension::adjust(), mln::geom::delta(), mln::trace::entering(), mln::trace::exiting(), mln::accu::internal::transform_snake_dispatch(), and mln::accu::internal::transform_snake_tests().
mln::trait::ch_value< I, mln_meta_accu_result(A, typename I::value) >::ret mln::accu::transform_stop | ( | const Image< I > & | input, | |
const Meta_Accumulator< A > & | a, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 205 of file transform_stop.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::accu::internal::transform_stop_dispatch(), and unmeta().
mln::trait::ch_value< I, typename A::result >::ret mln::accu::transform_stop | ( | const Image< I > & | input, | |
const Accumulator< A > & | a, | |||
const Window< W > & | win | |||
) | [inline] |
Definition at line 189 of file transform_stop.hh.
References mln::extension::adjust(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), input, and mln::accu::internal::transform_stop_dispatch().
Referenced by mln::morpho::impl::generic::general_on_set(), and mln::accu::internal::transform_stop_dispatch().
void mln::accu::unmeta | ( | const Meta_Accumulator< M > & | , | |
T | ||||
) | [inline] |
M::template with< T >::ret mln::accu::unmeta | ( | const M & | , | |
T | ||||
) | [inline] |
Definition at line 144 of file meta_accumulator.hh.
stat::rank_high_quant<T> mln::accu::unmeta | ( | const meta::stat::rank_high_quant & | m, | |
T | ||||
) | [inline] |
Definition at line 122 of file rank_high_quant.hh.
References mln::accu::meta::stat::rank_high_quant::k, and mln::accu::meta::stat::rank_high_quant::n.
stat::rank<T> mln::accu::unmeta | ( | const meta::stat::rank & | m, | |
T | ||||
) | [inline] |
stat::median_alt<T> mln::accu::unmeta | ( | const meta::stat::median_alt< T > & | m, | |
T | ||||
) | [inline] |
Definition at line 140 of file median_alt.hh.
References mln::accu::meta::stat::median_alt< T >::s.
Referenced by mln::labeling::compute(), mln::morpho::elementary::impl::generic::like_ero_fun(), mln::morpho::elementary::impl::like_ero_fun_fastest(), transform(), transform_diagonal(), transform_directional(), transform_line(), transform_snake(), and transform_stop().
const Image<I>& mln::accu::input |
Definition at line 76 of file accu/compute.hh.
Referenced by mln::accu::image::impl::generic::init(), mln::accu::image::impl::init_fastest(), mln::accu::impl::generic::line(), mln::accu::impl::line_fastest(), mln::accu::image::impl::generic::set_value(), mln::accu::impl::take(), mln::accu::image::impl::generic::take(), mln::accu::image::impl::generic::take_as_init(), mln::accu::image::impl::generic::take_n_times(), mln::accu::image::impl::generic::to_result(), mln::accu::impl::generic::transform_stop(), and mln::accu::image::impl::generic::untake().