SMIL 1.1.2
|
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 | |
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 | |
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 | |
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 | |
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). | |
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). | |
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). | |
template<class T > | |
RES_T | hBuild (const Image< T > &imIn, const T &height, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
hBuild() - h-Reconstuction | |
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 | |
template<class T > | |
RES_T | buildOpen (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
buildOpen() - Opening by reconstruction | |
template<class T > | |
RES_T | buildClose (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
buildClose() - Closing by reconstruction | |
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. | |
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. | |
template<class T > | |
RES_T | fillHoles (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
fillHoles() - Hole filling | |
template<class T > | |
RES_T | levelPics (const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE) |
levelPics() - Dual hole filling | |
RES_T 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 |