SMIL  1.0.3
MaxTree Algorithm

Detailed Description

+ Collaboration diagram for MaxTree Algorithm:

Functions

template<class T1 , class T2 >
RES_T ultimateOpen (const Image< T1 > &imIn, Image< T1 > &imTrans, Image< T2 > &imIndic, const StrElt &se=DEFAULT_SE, T2 stopSize=0, UINT delta=0)
 Ultimate Opening using the max-trees. More...
 
template<class T >
RES_T heightOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Height opening. More...
 
template<class T >
RES_T widthOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Width opening. More...
 
template<class T >
RES_T areaOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Area opening. More...
 
template<class T >
RES_T areaClose (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Area closing. More...
 
void updateCriteria (const int node)
 Update criteria of a given max-tree node.
 

Function Documentation

◆ ultimateOpen()

RES_T smil::ultimateOpen ( const Image< T1 > &  imIn,
Image< T1 > &  imTrans,
Image< T2 > &  imIndic,
const StrElt se = DEFAULT_SE,
T2  stopSize = 0,
UINT  delta = 0 
)

Ultimate Opening using the max-trees.

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

Parameters
[in]imInInput image
[out]imTransThe transformation image
[out]imIndicThe indicator image
[in]stopSize(optional)
[in]delta(optional)
[in]sestructuring element

◆ heightOpen()

RES_T smil::heightOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Height opening.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ widthOpen()

RES_T smil::widthOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Width opening.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ areaOpen()

RES_T smil::areaOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Area opening.

Max-tree based algorithm

Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ areaClose()

RES_T smil::areaClose ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Area closing.

Max-tree based algorithm

Parameters
[in]imInInput image
[in]stopSizeThe size of the closing
[out]imOutOutput image
[in]seStructuring element