Implementation namespace of labeling namespace. More...
Namespaces | |
namespace | generic |
Generic implementation namespace of labeling namespace. | |
Classes | |
struct | flat_zones_functor |
struct | regional_maxima_functor |
struct | regional_minima_functor |
struct | value_and_compute_functor |
struct | value_functor |
Functions | |
template<typename A , typename I , typename L > | |
util::array< typename A::result > | compute_fastest (const Accumulator< A > &a_, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Fastest implementation of labeling::compute. | |
template<typename A , typename I , typename L > | |
util::array< typename A::result > | compute_fastest (util::array< A > &accus, const Image< I > &input_, const Image< L > &label_, const typename L::value &nlabels) |
Fastest implementation of labeling::compute. | |
template<typename I , typename L > | |
mln::trait::concrete< I >::ret | mean_values_rgb (const Image< I > &input_, const Image< L > &lbl_, typename L::value nlabels) |
Implementation namespace of labeling namespace.
util::array<typename A ::result> mln::labeling::impl::compute_fastest | ( | const Accumulator< A > & | a_, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Fastest 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 . |
Definition at line 373 of file labeling/compute.hh.
References mln::labeling::internal::compute_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::convert::from_to(), mln::geom::ncols(), and mln::value::next().
Referenced by mln::labeling::internal::compute_dispatch().
util::array<typename A ::result> mln::labeling::impl::compute_fastest | ( | util::array< A > & | accus, | |
const Image< I > & | input_, | |||
const Image< L > & | label_, | |||
const typename L::value & | nlabels | |||
) | [inline] |
Fastest 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 . |
Definition at line 427 of file labeling/compute.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::convert::from_to(), mln::geom::ncols(), mln::value::next(), mln::util::array< T >::resize(), and mln::util::array< T >::size().
mln::trait::concrete< I >::ret mln::labeling::impl::mean_values_rgb | ( | const Image< I > & | input_, | |
const Image< L > & | lbl_, | |||
typename L::value | nlabels | |||
) |
Definition at line 130 of file mean_values.hh.
References mln::labeling::compute(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::convert::from_to(), mln::labeling::internal::mean_values_tests(), mln::convert::to(), mln::data::transform(), mln::literal::yellow, and mln::literal::zero.
Referenced by mln::labeling::internal::mean_values_dispatch().