Generic implementation namespace of labeling namespace. More...
Functions | |
template<typename I , typename N , typename L > | |
mln::trait::ch_value< I, L >::ret | blobs_ (const I &input, const N &nbh, L &nlabels) |
template<typename A , typename L > | |
util::array< typename A::result > | compute (const Accumulator< A > &a_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. | |
template<typename A , typename I , typename L > | |
util::array< typename A::result > | compute (util::array< A > &accus, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. | |
template<typename A , typename I , typename L > | |
util::array< typename A::result > | compute (const Accumulator< A > &a_, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Generic implementation of labeling::compute. | |
template<typename I , typename L > | |
mln::trait::concrete< I >::ret | mean_values (const Image< I > &input_, const Image< L > &lbl_, typename L::value nlabels) |
Generic implementation namespace of labeling namespace.
mln::trait::ch_value< I , L >::ret mln::labeling::impl::generic::blobs_ | ( | const I & | input, | |
const N & | nbh, | |||
L & | nlabels | |||
) |
References mln::p_queue_fast< P >::compute_has(), mln::data::fill(), mln::p_queue_fast< P >::front(), mln::initialize(), mln::internal::site_set_base_< P, p_queue_fast< P > >::is_empty(), mln::p_queue_fast< P >::pop(), mln::p_queue_fast< P >::push(), mln::trace::warning(), and mln::literal::zero.
Referenced by mln::labeling::impl::blobs_().
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | const Accumulator< A > & | a_, | |
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
[in] | a_ | An accumulator. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |
References mln::labeling::internal::compute_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().
Referenced by mean_values().
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | util::array< A > & | accus, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
[in] | accus | An array of accumulators. |
[in] | input_ | The input image. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().
util::array<typename A ::result> mln::labeling::impl::generic::compute | ( | const Accumulator< A > & | a_, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Generic implementation of labeling::compute.
[in] | a_ | An accumulator. |
[in] | input_ | The input image. |
[in] | label_ | The labeled image. |
[in] | nlabels | The number of labels in label . |
References mln::labeling::internal::compute_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().
mln::trait::concrete< I >::ret mln::labeling::impl::generic::mean_values | ( | const Image< I > & | input_, | |
const Image< L > & | lbl_, | |||
typename L::value | nlabels | |||
) |