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.


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).

Referenced by mln::labeling::colorize(), mln::labeling::compute(), mln::labeling::compute_image(), mln::labeling::fill_holes(), mln::make::p_edges_with_mass_centers(), mln::make::p_vertices_with_mass_centers(), mln::labeling::pack(), and mln::labeling::pack_inplace().

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).

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).


Generated on Tue Jul 14 16:33:06 2009 for Milena (Olena) by  doxygen 1.5.9