|
int closing_arbitrary_SE |
( |
uint8_t * |
imageIn, |
|
|
uint8_t * |
imageOut, |
|
|
int |
imageWidth, |
|
|
int |
imageHeight, |
|
|
uint8_t * |
se, |
|
|
int |
seWidth, |
|
|
int |
seHeight, |
|
|
int |
seHorizontalOrigin, |
|
|
int |
seVerticalOrigin |
|
) |
|
|
|
Closing by an arbitrary structuring element.
- Parameters:
-
[in] | *imageIn | Input buffer |
[out] | *imageOut | Output buffer |
[in] | imageWidth | Width of the image buffer |
[in] | imageHeight | Height of the image buffer |
[in] | *se | Buffer containing the shape of a structuring element. |
[in] | seWidth | Width of the stucturing element buffer |
[in] | seHeight | Height of the stucturing element buffer |
[in] | seHorizontalOrigin | Horizontal position of the origin in the structuring element (position 0 is the first pixel on the left). se[seHorizontalOrigin, seVerticalOrigin] must be !=0. |
[in] | seVerticalOrigin | Vertical position of the origin in the structuring element (position 0 is the first pixel on the top). se[seHorizontalOrigin, seVerticalOrigin] must be !=0. |
- Returns:
- Returns MORPHO_SUCCESS upon success, MORPHO_ERROR otherwise.
Closing by an arbitrary structuring element. For full technical details please refer to Technical details or to
- M. Van Droogenbroeck and H. Talbot. Fast Computation of morphological operations with arbitrary structuring elements. Pattern Recognition Letters, 17(14):1451-1460, 1996.
- Author:
- Marc Van Droogenbroeck
|
|