SMIL
1.0.3
|
Geodesic Transformations. More...
Geodesic Transformations.
Functions | |
template<class T > | |
RES_T | geoDilate (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
geoDilate() - Geodesic dilation More... | |
template<class T > | |
RES_T | geoErode (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
geoErode() - Geodesic erosion More... | |
template<class T > | |
RES_T | geoBuild (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
geoBuild() - Geodesic Reconstruction More... | |
template<class T > | |
RES_T | geoDualBuild (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
geoDualBuild() - Geodesic Dual Reconstruction More... | |
template<class T > | |
RES_T | dualBuild (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
dualBuild() - Reconstruction by erosion - dual build - (using hierarchical queues). More... | |
template<class T > | |
RES_T | build (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
build() - Reconstruction by dilation (using hierarchical queues). More... | |
template<class T > | |
RES_T | binBuild (const Image< T > &imIn, const Image< T > &imMask, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
binBuild() - Reconstruction (using hierarchical queues). More... | |
template<class T > | |
RES_T | hBuild (const Image< T > &imIn, const T &height, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
hBuild() - h-Reconstuction More... | |
template<class T > | |
RES_T | hDualBuild (const Image< T > &imIn, const T &height, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
hDualBuild() - Dual h-Reconstuction More... | |
template<class T > | |
RES_T | buildOpen (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
buildOpen() - Opening by reconstruction More... | |
template<class T > | |
RES_T | buildClose (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
buildClose() - Closing by reconstruction More... | |
template<class T > | |
RES_T | asBuildOpen (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
Alternate Sequential reconstructions beginning by a buildOpen. More... | |
template<class T > | |
RES_T | asBuildClose (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
Alternate Sequential reconstructions beginning by a buildClose. More... | |
template<class T > | |
RES_T | fillHoles (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
fillHoles() - Hole filling More... | |
template<class T > | |
RES_T | levelPics (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
levelPics() - Dual hole filling More... | |
RES_T smil::geoDilate | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
geoDilate() - Geodesic dilation
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::geoErode | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
geoErode() - Geodesic erosion
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::geoBuild | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
geoBuild() - Geodesic Reconstruction
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::geoDualBuild | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
geoDualBuild() - Geodesic Dual Reconstruction
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::dualBuild | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
dualBuild() - Reconstruction by erosion - dual build - (using hierarchical queues).
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::build | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
build() - Reconstruction by dilation (using hierarchical queues).
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::binBuild | ( | const Image< T > & | imIn, |
const Image< T > & | imMask, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
binBuild() - Reconstruction (using hierarchical queues).
[in] | imIn | : input image |
[in] | imMask | : mask |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::hBuild | ( | const Image< T > & | imIn, |
const T & | height, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
hBuild() - h-Reconstuction
Performs a subtraction of size height followed by a reconstruction
[in] | imIn | : input image |
[in] | height | : value to be subtracted to the image values |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::hDualBuild | ( | const Image< T > & | imIn, |
const T & | height, | ||
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
hDualBuild() - Dual h-Reconstuction
Performs an addition of size height followed by a dual reconstruction
[in] | imIn | : input image |
[in] | height | : value to be added to the image values |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::buildOpen | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
buildOpen() - Opening by reconstruction
Erosion followed by a reconstruction (build)
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::buildClose | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
buildClose() - Closing by reconstruction
Dilation followed by a reconstruction (dualBuild)
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::asBuildOpen | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
Alternate Sequential reconstructions beginning by a buildOpen.
Sequence of buildOpen() and buildClose() with increasing size 1, 2, ..., max_size. The max_size is given by the size of the structuring element (for example 3 for SE(3)).
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element with the maximum size of the filter |
RES_T smil::asBuildClose | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
Alternate Sequential reconstructions beginning by a buildClose.
Sequence of buildClose() and buildOpen() with increasing size 1, 2, ..., max_size. The max_size is given by the size of the structuring element (for example 3 for SE(3)).
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element with the maximum size of the filter |
Example
RES_T smil::fillHoles | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
fillHoles() - Hole filling
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |
RES_T smil::levelPics | ( | const Image< T > & | imIn, |
Image< T > & | imOut, | ||
const StrElt & | se = DEFAULT_SE |
||
) |
levelPics() - Dual hole filling
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | se | : structuring element |