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

Functions

template<class T >
RES_T areaClose (const Image< T > &imIn, int stopSize, Image< T > &imOut)
 Area closing. More...
 
template<class T >
RES_T areaOpen (const Image< T > &imIn, int stopSize, Image< T > &imOut)
 Area opening. More...
 
template<class T1 , class T2 >
RES_T ultimateOpen (const Image< T1 > &imIn, Image< T1 > &imTrans, Image< T2 > &imIndic, int stopSize=-1, UINT delta=0)
 Ultimate Opening using the max-trees. More...
 

Detailed Description

Function Documentation

RES_T smil::areaClose ( const Image< T > &  imIn,
int  stopSize,
Image< T > &  imOut 
)

Area closing.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]sizeThe size of the closing
[out]imOutOutput image
RES_T smil::areaOpen ( const Image< T > &  imIn,
int  stopSize,
Image< T > &  imOut 
)

Area opening.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]sizeThe size of the opening
[out]imOutOutput image
RES_T smil::ultimateOpen ( const Image< T1 > &  imIn,
Image< T1 > &  imTrans,
Image< T2 > &  imIndic,
int  stopSize = -1,
UINT  delta = 0 
)

Ultimate Opening using the max-trees.

Max-tree based algorithm as described by Fabrizio and Marcotegui (2009) [3]

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[out]imOutThe transformation image
[out]imIndicThe indicator image
[in]stopSize(optional)