|
SMIL 1.1.2
|
Hit-or-miss Morphological Operations
In mathematical morphology, hit-or-miss transform is an operation that detects a given configuration (or pattern) in a binary image, using the morphological erosion operator and a pair of disjoint structuring elements (see CompStrElt and CompStrEltList). The result of the hit-or-miss transform is the set of positions where the first structuring element fits in the foreground of the input image, and the second structuring element misses it completely.
Collaboration diagram for Hit-or-Miss Transform:Functions | |
| template<class T > | |
| RES_T | hitOrMiss (const Image< T > &imIn, const StrElt &foreSE, const StrElt &backSE, Image< T > &imOut, T borderVal=ImDtTypes< T >::min()) |
| hitOrMiss() - Hit Or Miss transform | |
| template<class T > | |
| RES_T | hitOrMiss (const Image< T > &imIn, const CompStrElt &compSE, Image< T > &imOut, T borderVal=ImDtTypes< T >::min()) |
| hitOrMiss() - Hit Or Miss transform | |
| template<class T > | |
| RES_T | hitOrMiss (const Image< T > &imIn, const CompStrEltList &mhtSE, Image< T > &imOut, T borderVal=ImDtTypes< T >::min()) |
| hitOrMiss() - Hit Or Miss transform | |
| template<class T > | |
| RES_T | thin (const Image< T > &imIn, const StrElt &foreSE, const StrElt &backSE, Image< T > &imOut) |
| thin() - Thinning transform | |
| template<class T > | |
| RES_T | thin (const Image< T > &imIn, const CompStrElt &compSE, Image< T > &imOut) |
| thin() - Thinning transform | |
| template<class T > | |
| RES_T | thin (const Image< T > &imIn, const CompStrEltList &mhtSE, Image< T > &imOut) |
| thin() - Thinning transform | |
| template<class T > | |
| RES_T | thick (const Image< T > &imIn, const StrElt &foreSE, const StrElt &backSE, Image< T > &imOut) |
| thick() - Thicking transform | |
| template<class T > | |
| RES_T | thick (const Image< T > &imIn, const CompStrElt &compSE, Image< T > &imOut) |
| thick() - Thicking transform | |
| template<class T > | |
| RES_T | thick (const Image< T > &imIn, const CompStrEltList &mhtSE, Image< T > &imOut) |
| thick() - Thicking transform | |
| template<class T > | |
| RES_T | fullThin (const Image< T > &imIn, const CompStrEltList &mhtSE, Image< T > &imOut) |
| fullThin() - Thinning transform (full) | |
| template<class T > | |
| RES_T | fullThin (const Image< T > &imIn, const CompStrElt &compSE, Image< T > &imOut) |
| fullThin() - Thinning transform (full) | |
| template<class T > | |
| RES_T | fullThin (const Image< T > &imIn, const StrElt &foreSE, const StrElt &backSE, Image< T > &imOut) |
| fullThin() - Thinning transform (full) | |
| template<class T > | |
| RES_T | fullThick (const Image< T > &imIn, const CompStrEltList &mhtSE, Image< T > &imOut) |
| fullThick() - Thicking transform (full) | |
| template<class T > | |
| RES_T | fullThick (const Image< T > &imIn, const CompStrElt &compSE, Image< T > &imOut) |
| fullThick() - Thicking transform (full) | |
| template<class T > | |
| RES_T | fullThick (const Image< T > &imIn, const StrElt &foreSE, const StrElt &backSE, Image< T > &imOut) |
| fullThick() - Thicking transform (full) | |
| RES_T hitOrMiss | ( | const Image< T > & | imIn, |
| const StrElt & | foreSE, | ||
| const StrElt & | backSE, | ||
| Image< T > & | imOut, | ||
| T | borderVal = ImDtTypes<T>::min() |
||
| ) |
hitOrMiss() - Hit Or Miss transform
| [in] | imIn | : input image |
| [in] | foreSE,backSE | : foreground an background structuring elements |
| [out] | imOut | : output image |
| [in] | borderVal | : value to be assigned to border pixels |
| RES_T hitOrMiss | ( | const Image< T > & | imIn, |
| const CompStrElt & | compSE, | ||
| Image< T > & | imOut, | ||
| T | borderVal = ImDtTypes<T>::min() |
||
| ) |
hitOrMiss() - Hit Or Miss transform
| [in] | imIn | : input image |
| [in] | compSE | : composite structuring element with both foreground and background structuring elements |
| [out] | imOut | : output image |
| [in] | borderVal | : value to be assigned to border pixels |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T hitOrMiss | ( | const Image< T > & | imIn, |
| const CompStrEltList & | mhtSE, | ||
| Image< T > & | imOut, | ||
| T | borderVal = ImDtTypes<T>::min() |
||
| ) |
hitOrMiss() - Hit Or Miss transform
| [in] | imIn | : input image |
| [in] | mhtSE | : vector with composite structuring elements with both foreground and background structuring elements |
| [out] | imOut | : output image |
| [in] | borderVal | : value to be assigned to border pixels |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T thin | ( | const Image< T > & | imIn, |
| const StrElt & | foreSE, | ||
| const StrElt & | backSE, | ||
| Image< T > & | imOut | ||
| ) |
thin() - Thinning transform
Thinnings consist in removing foreground image pixels matching a configuration given by a composite SE. In other words, the hit-or-miss transform of the image by this SE is subtracted from the original image.
| [in] | imIn | : input image |
| [in] | foreSE,backSE | : foreground an background structuring elements |
| [out] | imOut | : output image |
| RES_T thin | ( | const Image< T > & | imIn, |
| const CompStrElt & | compSE, | ||
| Image< T > & | imOut | ||
| ) |
thin() - Thinning transform
| [in] | imIn | : input image |
| [in] | compSE | : composite structuring element with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T thin | ( | const Image< T > & | imIn, |
| const CompStrEltList & | mhtSE, | ||
| Image< T > & | imOut | ||
| ) |
thin() - Thinning transform
| [in] | imIn | : input image |
| [in] | mhtSE | : vector with composite structuring elements with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T thick | ( | const Image< T > & | imIn, |
| const StrElt & | foreSE, | ||
| const StrElt & | backSE, | ||
| Image< T > & | imOut | ||
| ) |
thick() - Thicking transform
A thickening consists in adding background pixels having a specific configuration to the set of foreground pixels. This is achieved by adding to the input image the hit or miss transform by the corresponding composite SE.
| [in] | imIn | : input image |
| [in] | foreSE,backSE | : foreground an background structuring elements |
| [out] | imOut | : output image |
| RES_T thick | ( | const Image< T > & | imIn, |
| const CompStrElt & | compSE, | ||
| Image< T > & | imOut | ||
| ) |
thick() - Thicking transform
| [in] | imIn | : input image |
| [in] | compSE | : composite structuring element with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T thick | ( | const Image< T > & | imIn, |
| const CompStrEltList & | mhtSE, | ||
| Image< T > & | imOut | ||
| ) |
thick() - Thicking transform
| [in] | imIn | : input image |
| [in] | mhtSE | : vector with composite structuring elements with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T fullThin | ( | const Image< T > & | imIn, |
| const CompStrEltList & | mhtSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThin() - Thinning transform (full)
thin() applied repeatedly till output image remains "stable". Output image "stability" is defined when the volume of the output image remains stops changing (idempotence).
| [in] | imIn | : input image |
| [in] | mhtSE | : vector with composite structuring elements with both foreground and background structuring elements |
| [out] | imOut | : output image |
| RES_T fullThin | ( | const Image< T > & | imIn, |
| const CompStrElt & | compSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThin() - Thinning transform (full)
| [in] | imIn | : input image |
| [in] | compSE | : composite structuring element with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T fullThin | ( | const Image< T > & | imIn, |
| const StrElt & | foreSE, | ||
| const StrElt & | backSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThin() - Thinning transform (full)
| [in] | imIn | : input image |
| [in] | foreSE,backSE | : foreground an background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T fullThick | ( | const Image< T > & | imIn, |
| const CompStrEltList & | mhtSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThick() - Thicking transform (full)
thick() applied repeatedly till output image remains "stable". Output image "stability" is defined when the volume of the output image remains stops changing (idempotence).
| [in] | imIn | : input image |
| [in] | mhtSE | : vector with composite structuring elements with both foreground and background structuring elements |
| [out] | imOut | : output image |
| RES_T fullThick | ( | const Image< T > & | imIn, |
| const CompStrElt & | compSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThick() - Thicking transform (full)
| [in] | imIn | : input image |
| [in] | compSE | : composite structuring element with both foreground and background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| RES_T fullThick | ( | const Image< T > & | imIn, |
| const StrElt & | foreSE, | ||
| const StrElt & | backSE, | ||
| Image< T > & | imOut | ||
| ) |
fullThick() - Thicking transform (full)
| [in] | imIn | : input image |
| [in] | foreSE,backSE | : foreground an background structuring elements background structuring elements |
| [out] | imOut | : output image |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.