Functions | |
GSTLEARN_EXPORT void | morpho_erosion (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false) |
GSTLEARN_EXPORT void | morpho_dilation (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false) |
GSTLEARN_EXPORT void | morpho_opening (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false) |
GSTLEARN_EXPORT void | morpho_closing (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false) |
imagin | Pointer to the BImage containing the input image |
imagout | Pointer to the BImage which will receive the output image (It must have been allocated beforehand: same dimension as 'imagin') |
option | Description of the structuring element: 1 for BLOCK and 0 for CROSS (see remarks for more information) |
radius | Vector giving the extensions of the structuring element along each direction of the Space. |
verbose | Verbose flag |
GSTLEARN_EXPORT void morpho_closing | ( | int | option, |
const VectorInt & | radius, | ||
const BImage & | imagin, | ||
BImage & | imagout, | ||
bool | verbose | ||
) |
Perform the "closing" of the input image (i.e. a dilation followed by an erosion)
GSTLEARN_EXPORT void morpho_dilation | ( | int | option, |
const VectorInt & | radius, | ||
const BImage & | imagin, | ||
BImage & | imagout, | ||
bool | verbose | ||
) |
Perform the "dilation" of the input image
GSTLEARN_EXPORT void morpho_erosion | ( | int | option, |
const VectorInt & | radius, | ||
const BImage & | imagin, | ||
BImage & | imagout, | ||
bool | verbose | ||
) |
Perform the "erosion" of the input image