SMIL
1.0.3
|
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. | |
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]
[in] | imIn | Input image |
[out] | imTrans | The transformation image |
[out] | imIndic | The indicator image |
[in] | stopSize | (optional) |
[in] | delta | (optional) |
[in] | se | structuring element |
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
[in] | imIn | Input image |
[in] | stopSize | The size of the opening |
[out] | imOut | Output image |
[in] | se | Structuring element |
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
[in] | imIn | Input image |
[in] | stopSize | The size of the opening |
[out] | imOut | Output image |
[in] | se | Structuring element |
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
[in] | imIn | Input image |
[in] | stopSize | The size of the opening |
[out] | imOut | Output image |
[in] | se | Structuring element |