SMIL
1.1.1-dev
|
In Mathematical morphology, a Residue is the symetrical difference between an image and some transformation or between two transformations.
Functions | |
template<class T > | |
RES_T | gradient (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
gradient() - Morphological gradient More... | |
template<class T > | |
RES_T | gradient (const Image< T > &imIn, Image< T > &imOut, const StrElt &dilSe, const StrElt &eroSe) |
gradient() - Morphological gradient More... | |
template<class T > | |
RES_T | topHat (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
topHat() - Top-Hat More... | |
template<class T > | |
RES_T | dualTopHat (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
dualTopHat() - Dual Top-Hat More... | |
RES_T smil::gradient | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
gradient() - Morphological gradient
: The morphological gradient of an image is defined as the difference between its dilation and its erosion :
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::gradient | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | dilSe, | ||
const StrElt & | eroSe | ||
) |
gradient() - Morphological gradient
: The morphological gradient of an image is defined as the difference between its dilation and its erosion :
This function allows the use of different structuring elements for the dilation and erosion.
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | dilSe | : dilation structuring element |
[in] | eroSe | : erosion structuring element |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T smil::dualTopHat | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
dualTopHat() - Dual Top-Hat
Dual Top-Hat or Close top-hat or Black top-hat is defined as the difference between the closing of the image and itself :
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |