SMIL  0.8
 All Classes Functions Variables Groups Pages
Labelling
+ Collaboration diagram for Labelling:

Functions

template<class T1 , class T2 >
size_t fastLabel (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization. More...
 
template<class T1 , class T2 >
size_t label (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization. More...
 
template<class T1 , class T2 >
size_t labelWithArea (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization with the size of each connected components. More...
 
template<class T1 , class T2 >
size_t lambdaLabel (const Image< T1 > &imIn, const T1 &lambdaVal, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Lambda-flat zones labelization. More...
 
template<class T1 , class T2 >
RES_T neighbors (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Neighbors. More...
 

Detailed Description

Function Documentation

size_t smil::fastLabel ( const Image< T1 > &  imIn,
Image< T2 > &  imOut,
const StrElt &  se = DEFAULT_SE 
)

Image labelization.

Return the number of labels (or 0 if error).

size_t smil::label ( const Image< T1 > &  imIn,
Image< T2 > &  imOut,
const StrElt &  se = DEFAULT_SE 
)

Image labelization.

Return the number of labels (or 0 if error).

size_t smil::labelWithArea ( const Image< T1 > &  imIn,
Image< T2 > &  imOut,
const StrElt &  se = DEFAULT_SE 
)

Image labelization with the size of each connected components.

size_t smil::lambdaLabel ( const Image< T1 > &  imIn,
const T1 &  lambdaVal,
Image< T2 > &  imOut,
const StrElt &  se = DEFAULT_SE 
)

Lambda-flat zones labelization.

Return the number of labels (or 0 if error).

RES_T smil::neighbors ( const Image< T1 > &  imIn,
Image< T2 > &  imOut,
const StrElt &  se = DEFAULT_SE 
)

Neighbors.

Return for each pixel the number of different values in the neighborhoud. Usefull in order to find interfaces or multiple points between basins.