$extrastylesheet
Namespaces | |
| namespace | image |
| namespace | impl |
| namespace | internal |
| namespace | logic |
| namespace | math |
| namespace | meta |
| namespace | shape |
| namespace | site_set |
| namespace | stat |
Classes | |
| struct | and_not |
| Logical "and not" of accumulators. More... | |
| 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 |
| Define an accumulator that counts the occurrence of 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 | minus |
| Difference of accumulators. 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... | |
Functions | |
| template<typename A , typename I > | |
| A::result | compute (const Accumulator< A > &a, const Image< I > &input) |
| template<typename A , typename I > | |
| mln::internal::meta_accu_ret_result_helper < A, util::pix< I > >::result | compute (const Meta_Accumulator< A > &a, const Image< I > &input) |
| template<typename Meta_Accu , unsigned Dir, typename I , typename O > | |
| void | line (const Image< I > &input, const typename I::site &p_start, def::coord len, def::coord half_length, Image< O > &output) |
| 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) |
| 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 I , typename A , typename W > | |
| mln::trait::ch_value< I, typename mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::ret | transform (const Image< I > &input, const Meta_Accumulator< A > &a, 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, typename mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::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_directional (const 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 mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::ret | transform_directional (const Meta_Accumulator< A > &a, const Image< I > &input, const Window< W > &win, 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 > | |
| mln::trait::ch_value< I, typename mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::ret | transform_line (const Meta_Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir) |
| 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 A , typename I , typename W > | |
| mln::trait::ch_value< I, typename mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::ret | transform_snake (const Meta_Accumulator< A > &a, const Image< I > &input, 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 I , typename A , typename W > | |
| mln::trait::ch_value< I, typename mln::internal::meta_accu_ret_result_helper < A, typename I::value > ::result >::ret | transform_stop (const Image< I > &input, const Meta_Accumulator< A > &a, const Window< W > &win) |
| template<typename T > | |
| stat::rank_high_quant< T > | unmeta (const meta::stat::rank_high_quant &m, T) |
| template<typename M , typename T > | |
| M::template with< T >::ret | unmeta (const M &, T) |
| template<typename M , typename T > | |
| void | unmeta (const Meta_Accumulator< M > &, T) |
| template<typename T > | |
| stat::median_alt< T > | unmeta (const meta::stat::median_alt< T > &m, T) |
| template<typename T > | |
| stat::rank< T > | unmeta (const meta::stat::rank &m, T) |
Namespace of accumulators.
| void mln::accu::line | ( | const Image< I > & | input, |
| const typename I::site & | p_start, | ||
| def::coord | len, | ||
| def::coord | half_length, | ||
| Image< O > & | output | ||
| ) |
Line an accumulator onto the pixel values of the image input.
\param[in] input The input image.
\param[in] p_start The starting site of the line.
\param[in] len The line length.
\param[in] half_length The half length of the line.
\param[in,out] output The resulting image.
This routine runs: \n
tmp = \p a \n
tmp.init() \n
accu::take(\p input, tmp) \n
return tmp.to_result() \n
| std::ostream& mln::accu::operator<< | ( | std::ostream & | ostr, |
| const histo< V > & | h | ||
| ) |
| void mln::accu::take | ( | const Image< I > & | input, |
| Accumulator< A > & | a | ||
| ) |
Make an accumulator take the pixels of the image input.
| [in] | input | The input image. |
| [in,out] | a | The accumulator. |
This routine runs:
for all p of input, a.take( pix(input, p) )
| mln::trait::ch_value< I , typename A ::result >::ret mln::accu::transform | ( | const Image< I > & | input, |
| const Accumulator< A > & | a, | ||
| const Window< W > & | win | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform | ( | const Image< I > & | input, |
| const Meta_Accumulator< A > & | a, | ||
| const Window< W > & | win | ||
| ) |
| 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 | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform_diagonal | ( | const Meta_Accumulator< A > & | a, |
| const Image< I > & | input, | ||
| const Window< W > & | win | ||
| ) |
| 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 | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform_directional | ( | const Meta_Accumulator< A > & | a, |
| const Image< I > & | input, | ||
| const Window< W > & | win, | ||
| unsigned | dir | ||
| ) |
| 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 | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform_line | ( | const Meta_Accumulator< A > & | a, |
| const Image< I > & | input, | ||
| unsigned | length, | ||
| unsigned | dir | ||
| ) |
| 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 | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform_snake | ( | const Meta_Accumulator< A > & | a, |
| const Image< I > & | input, | ||
| const Window< W > & | win | ||
| ) |
| 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 | ||
| ) |
| mln::trait::ch_value< I , typename mln::internal::meta_accu_ret_result_helper< A , typename I ::value >::result >::ret mln::accu::transform_stop | ( | const Image< I > & | input, |
| const Meta_Accumulator< A > & | a, | ||
| const Window< W > & | win | ||
| ) |
| stat::rank_high_quant<T> mln::accu::unmeta | ( | const meta::stat::rank_high_quant & | m, |
| T | |||
| ) |
Definition at line 122 of file rank_high_quant.hh.
| void mln::accu::unmeta | ( | const Meta_Accumulator< M > & | , |
| T | |||
| ) |
| stat::median_alt<T> mln::accu::unmeta | ( | const meta::stat::median_alt< T > & | m, |
| T | |||
| ) |
Definition at line 131 of file median_alt.hh.
| stat::rank<T> mln::accu::unmeta | ( | const meta::stat::rank & | m, |
| T | |||
| ) |