$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Labeling Canvas

Functions

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)
template<typename I , typename N , typename L , typename S , typename F >
mln::trait::ch_value< I, L >::ret mln::canvas::labeling::impl::generic::labeling (const Image< I > &input_, const Neighborhood< N > &nbh_, L &nlabels, const Site_Set< S > &s_, F &f)
template<typename I , typename N , typename L , typename F >
mln::trait::ch_value< I, L >::ret mln::canvas::labeling::sorted (const Image< I > &input, const Neighborhood< N > &nbh, L &nlabels, F &functor, bool increasing)
template<typename I , typename N , typename L , typename F >
mln::trait::ch_value< I, L >::ret mln::canvas::labeling::video (const Image< I > &input, const Neighborhood< N > &nbh, L &nlabels, F &functor)

Detailed Description

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

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

Parameters
[in]inputThe input image.
[in]nbhThe connexity of the objects.
[out]nlabelsThe Number of labels. Its value is set in the algorithms.
[in,out]functorA 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).

template<typename I , typename N , typename L , typename S , typename F >
mln::trait::ch_value< I , L >::ret mln::canvas::labeling::impl::generic::labeling ( const Image< I > &  input_,
const Neighborhood< N > &  nbh_,
L &  nlabels,
const Site_Set< S > &  s_,
F &  f 
)

Generic Connected component labeling of the object part in a binary image.

template<typename I , typename N , typename L , typename F >
mln::trait::ch_value< I , L >::ret mln::canvas::labeling::sorted ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
L &  nlabels,
F &  functor,
bool  increasing 
)
inline

Fast connected component labeling of the object part in a binary image.

template<typename I , typename N , typename L , typename F >
mln::trait::ch_value< I , L >::ret mln::canvas::labeling::video ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
L &  nlabels,
F &  functor 
)

Fast connected component labeling of the object part in a binary image.