make_disc_se ( : SE : Width, Height, Smax : )

Generate ellipsoidal structuring elements for gray morphology.

make_disc_se generates an ellipsoidal structuring element (SE) for gray morphology of images. The parameters Width and Height determine the length of the two major axes of the ellipse. The value of Smax determines the maximum gray value of the structuring element. For the generation of arbitrary structuring elements, see load_grey_se.


Parameters

SE (output_object)
image -> object : byte
Generated structuring element.

Width (input_control)
integer -> integer
Width of the structuring element.
Default value: 5
Suggested values: 0, 1, 2, 3, 4, 5, 10, 15, 20
Range of values: 0 <= Width <= 511 (lin)
Minimum increment: 1
Recommended increment: 1

Height (input_control)
integer -> integer
Height of the structuring element.
Default value: 5
Suggested values: 0, 1, 2, 3, 4, 5, 10, 15, 20
Range of values: 0 <= Height <= 511 (lin)
Minimum increment: 1
Recommended increment: 1

Smax (input_control)
integer -> integer
Maximum gray value of the structuring element.
Default value: 0
Suggested values: 0, 1, 2, 5, 10, 20, 30, 40
Range of values: 0 <= Smax <= 256 (lin)
Minimum increment: 1
Recommended increment: 1


Result

make_disc_se returns TRUE if all parameters are correct. If necessary, an exception is raised.


Possible Successors

grey_erosion, grey_dilation, grey_opening, grey_closing, grey_tophat, grey_bothat


Alternatives

load_grey_se


See also

read_image, paint_region__, paint_grey__, crop_image



Copyright © 1996-1997 MVTec Software GmbH