SMIL  0.9.1
+ Collaboration diagram for Labelling:

Classes

class  labelFunctFast< T1, T2, compOperatorT >
 
class  labelFunctGeneric< T1, T2, compOperatorT >
 
struct  lambdaEqualOperator< T >
 
class  neighborsFunct< T1, T2 >
 

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 labelWithMaxima (const Image< T1 > &imIn, const Image< T2 > &imLabelsInit, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization with the maximum values of each connected components in the imLabelsInit image. More...
 
template<class T1 , class T2 >
size_t labelWithMean (const Image< T1 > &imIn, const Image< T2 > &imLabelsInit, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization with the mean values of each connected components in the imLabelsInit image. More...
 
template<class T1 , class T2 >
size_t labelWithoutFunctor (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 
template<class T1 , class T2 >
size_t labelWithoutFunctor2Partitions (const Image< T1 > &imIn, const Image< T1 > &imIn2, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 
template<class T1 , class T2 >
size_t labelWithVolume (const Image< T1 > &imIn, const Image< T2 > &imLabelsInit, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Image labelization with the volume (sum of values) of each connected components in the imLabelsInit image. More...
 
template<class T1 , class T2 >
size_t lambdaFastLabel (const Image< T1 > &imIn, const T1 &lambdaVal, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Lambda-flat zones fast labelization. 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::labelWithMaxima ( const Image< T1 > &  imIn,
const Image< T2 > &  imLabelsInit,
Image< T2 > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image labelization with the maximum values of each connected components in the imLabelsInit image.

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

Image labelization with the mean values of each connected components in the imLabelsInit image.

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

Image labelization with the volume (sum of values) of each connected components in the imLabelsInit image.

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

Lambda-flat zones fast labelization.

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

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.