Go to the source code of this file.
Defines | |
#define | DEBUG 0 |
Verbosity level for the sources code of the morphologic functions. | |
#define | MORPHO_ERROR -1 |
#define | MORPHO_SUCCESS 0 |
Typedefs | |
typedef short int | int16_t |
This type designates a signed 16 bits long integer. | |
typedef unsigned char | uint8_t |
This type designates an unsigned 8 bits long integer. | |
Functions | |
int | closing_arbitrary_SE (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, uint8_t *se1, int seWidth, int seHeight, int seHorizontalOrigin, int seVerticalOrigin) |
Closing by an arbitrary structuring element. | |
int | closing_arbitrary_SF (int16_t *imageIn, int16_t *imageOut, int imageWidth, int imageHeight, uint8_t *sf1, int sfWidth, int sfHeight, int sfHorizontalOrigin, int sfVerticalOrigin) |
Closing by an arbitrary structuring function. | |
int | closingByAnchor_1D_horizontal (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Closing with an horizontal linear segment. | |
int | closingByAnchor_1D_vertical (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Closing with a vertical linear segment. | |
int | closingByAnchor_2D (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int seWidth, int seHeight) |
Closing with a seWidth * seHeight rectangle structuring element. | |
int | dilation_arbitrary_SE (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, uint8_t *se, int seWidth, int seHeight, int seHorizontalOrigin, int seVerticalOrigin) |
Dilation by an arbitrary structuring element. | |
int | dilation_arbitrary_SF (int16_t *imageIn, int16_t *imageOut, int imageWidth, int imageHeight, uint8_t *sf, int sfWidth, int sfHeight, int sfHorizontalOrigin, int sfVerticalOrigin) |
Dilation by an arbitrary structuring function. | |
int | dilationByAnchor_1D_horizontal (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Dilation with an horizontal linear segment. | |
int | dilationByAnchor_1D_vertical (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Dilation with a vertical linear segment. | |
int | dilationByAnchor_2D (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int seWidth, int seHeight) |
Dilation with a seWidth * seHeight rectangle structuring element. | |
int | erosion_arbitrary_SE (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, uint8_t *se, int seWidth, int seHeight, int seHorizontalOrigin, int seVerticalOrigin) |
Erosion by an arbitrary structuring element. | |
int | erosion_arbitrary_SF (int16_t *imageIn, int16_t *imageOut, int imageWidth, int imageHeight, uint8_t *sf, int sfWidth, int sfHeight, int sfHorizontalOrigin, int sfVerticalOrigin) |
Erosion by an arbitrary structuring function. | |
int | erosionByAnchor_1D_horizontal (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Erosion with an horizontal linear segment. | |
int | erosionByAnchor_1D_vertical (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Erosion with a vertical linear segment. | |
int | erosionByAnchor_2D (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int seWidth, int seHeight) |
Erosion with a seWidth * seHeight rectangle structuring element. | |
int | imageTranspose (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight) |
Transposes an image
This function is used for internal purposes only. It tranposes an image such that. | |
int | is_size_valid_1D (int size, int imageWidth, char *func, int odd) |
Various checks on the sizes.
This function is used for internal purposes only. It checks the size of the structuring element and compares it to the image dimensions. For full technical details related to sizes please refer to Border effects. | |
int | opening_arbitrary_SE (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, uint8_t *se1, int seWidth, int seHeight, int seHorizontalOrigin, int seVerticalOrigin) |
Opening by an arbitrary structuring element. | |
int | opening_arbitrary_SF (int16_t *imageIn, int16_t *imageOut, int imageWidth, int imageHeight, uint8_t *sf1, int sfWidth, int sfHeight, int sfHorizontalOrigin, int sfVerticalOrigin) |
Opening by an arbitrary structuring function. | |
int | openingByAnchor_1D_horizontal (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Opening with an horizontal linear segment. | |
int | openingByAnchor_1D_vertical (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int size) |
Opening with a vertical linear segment. | |
int | openingByAnchor_2D (uint8_t *imageIn, uint8_t *imageOut, int imageWidth, int imageHeight, int seWidth, int seHeight) |
Opening with a seWidth * seHeight rectangle structuring element. |