mln::canvas::labeling Namespace Reference

Namespace of labeling canvas. More...


Namespaces

namespace  impl
 Implementation namespace of labeling canvas namespace.

Functions

template<typename I, typename N, typename L, typename F>
mln::trait::ch_value< I, L >::ret blobs (const Image< I > &input_, const Neighborhood< N > &nbh_, L &nlabels, F &functor)
 Canvas for connected component labeling of the binary objects of a binary image using a queue-based algorithm.


Detailed Description

Namespace of labeling canvas.

Function Documentation

template<typename I, typename N, typename L, typename F>
mln::trait::ch_value< I, L >::ret mln::canvas::labeling::blobs ( const Image< I > &  input_,
const Neighborhood< N > &  nbh_,
L &  nlabels,
F &  functor 
) [inline]

Canvas for connected component labeling of the binary objects of a binary image using a queue-based algorithm.

Parameters:
[in] input The input image.
[in] nbh The connexity of the objects.
[out] nlabels The Number of labels. Its value is set in the algorithms.
[in,out] functor A functor computing data while labeling.
Returns:
The label image.
Precondition:
The input image has to be binary (checked at compile-time).
A fast queue is used so that the algorithm is not recursive and can handle large binary objects (blobs).

Referenced by mln::labeling::blobs(), and mln::labeling::blobs_and_compute().


Generated on Thu Sep 9 19:31:53 2010 for Milena (Olena) by  doxygen 1.5.6