mln::labeling::impl::generic Namespace Reference

Generic implementation namespace of labeling namespace. More...


Functions

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 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 I, typename L>
mln::trait::concrete< I >::ret mean_values (const Image< I > &input_, const Image< L > &lbl_, typename L::value nlabels)


Detailed Description

Generic implementation namespace of labeling namespace.

Function Documentation

template<typename A, typename I, typename L>
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.

Compute an accumulator onto the pixel values of the image input.

Parameters:
[in] accus An array of accumulators.
[in] input_ The input image.
[in] label_ The labeled image.
[in] nlabels The number of labels in label.
Returns:
A mln::p_array of accumulator result (one result per label).

Definition at line 275 of file labeling/compute.hh.

References mln::labeling::internal::compute_dispatch(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().

Referenced by mln::labeling::compute(), mln::labeling::compute_image(), mln::labeling::fill_holes(), mln::labeled_image< I >::init_(), mean_values(), mln::labeling::impl::mean_values_rgb(), mln::my_algorithm(), mln::labeling::n_max(), mln::make::p_edges_with_mass_centers(), and mln::make::p_vertices_with_mass_centers().

template<typename A, typename I, typename L>
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.

Compute an accumulator onto the pixel values of the image input.

Parameters:
[in] a_ An accumulator.
[in] input_ The input image.
[in] label_ The labeled image.
[in] nlabels The number of labels in label.
Returns:
A mln::p_array of accumulator result (one result per label).

Definition at line 237 of file labeling/compute.hh.

References mln::labeling::internal::compute_dispatch(), mln::labeling::internal::compute_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().

template<typename A, typename L>
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.

Compute an accumulator onto the pixel sites of each component domain of label.

Parameters:
[in] a_ An accumulator.
[in] label_ The labeled image.
[in] nlabels The number of labels in label.
Returns:
A mln::p_array of accumulator result (one result per label).

Definition at line 201 of file labeling/compute.hh.

References mln::labeling::internal::compute_dispatch(), mln::labeling::internal::compute_tests(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::convert::from_to().

Referenced by mln::labeling::internal::compute_dispatch().

template<typename I, typename L>
mln::trait::concrete< I >::ret mln::labeling::impl::generic::mean_values ( const Image< I > &  input_,
const Image< L > &  lbl_,
typename L::value  nlabels 
) [inline]


Generated on Sun Apr 25 02:03:10 2010 for Milena (Olena) by  doxygen 1.5.6