SMIL
1.0.4
|
Basic Mathematical Morphology Operators. More...
Basic Mathematical Morphology Operators.
The most basic mathematical morphology operators are dilate() and erode(). The very most of Mathematical Morphology are based on these operations combined with a Structuring Element.
template<class T > | |
RES_T | dilate (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE, const T borderVal=ImDtTypes< T >::min()) |
dilate() - Morphological grayscale dilation More... | |
template<class T > | |
RES_T | dilate (const Image< T > &imIn, Image< T > &imOut, UINT seSize, const T borderVal=ImDtTypes< T >::min()) |
dilate() - Morphological grayscale dilation using the default structuring element but being able to set its size More... | |
template<class T > | |
RES_T | erode (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE, const T borderVal=ImDtTypes< T >::max()) |
erode() - Morphological grayscale erosion More... | |
template<class T > | |
RES_T | erode (const Image< T > &imIn, Image< T > &imOut, UINT seSize, const T borderVal=ImDtTypes< T >::max()) |
erode() - Morphological grayscale erosion using the default structuring element but being able to set its size More... | |
RES_T smil::dilate | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE , |
||
const T | borderVal = ImDtTypes<T>::min() |
||
) |
dilate() - Morphological grayscale dilation
Morphological grayscale dilation
\htmlonly <script src="dynsections.js" type="text/javascript"></script> <div id="dilation" class="dynheader closed" style="cursor:pointer;" onclick="return toggleVisibility(this)"> <img id="dilation-trigger" alt="+" src="closed.png"> "Theoretical Details:" </div> <div id="dilation-summary" class="dynsummary" style="display: none;"> </div> <div id="dilation-content" class="dyncontent" style="display: none;"> \endhtmlonly
Denoting an image by and the structuringfunction" by , the grayscale dilation of by is given by [14] :
[in] | imIn | Input image |
[out] | imOut | Output image |
[in] | se | (optional) The structuring element to use |
[in] | borderVal | (optional) The border value |
RES_T smil::dilate | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
UINT | seSize, | ||
const T | borderVal = ImDtTypes<T>::min() |
||
) |
dilate() - Morphological grayscale dilation using the default structuring element but being able to set its size
[in] | imIn | Input image |
[out] | imOut | Output image |
[in] | seSize | The size of the default structuring element |
[in] | borderVal | (optional) The border value |
RES_T smil::erode | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE , |
||
const T | borderVal = ImDtTypes<T>::max() |
||
) |
erode() - Morphological grayscale erosion
\htmlonly <script src="dynsections.js" type="text/javascript"></script> <div id="erosion" class="dynheader closed" style="cursor:pointer;" onclick="return toggleVisibility(this)"> <img id="erosion-trigger" alt="+" src="closed.png"> "Theoretical Details:" </div> <div id="erosion-summary" class="dynsummary" style="display: none;"> </div> <div id="erosion-content" class="dyncontent" style="display: none;"> \endhtmlonly
Denoting an image by and the Structuring Elements (or structuring function) by , the grayscale erosion of by is given by [14] :
[in] | imIn | : Input image |
[out] | imOut | : Output image |
[in] | se | : Structuring element |
[in] | borderVal | : (optional) The border value |
RES_T smil::erode | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
UINT | seSize, | ||
const T | borderVal = ImDtTypes<T>::max() |
||
) |
erode() - Morphological grayscale erosion using the default structuring element but being able to set its size
[in] | imIn | : Input image |
[out] | imOut | : Output image |
[in] | seSize | : The size of the default structuring element |
[in] | borderVal | : (optional) The border value |