grey_tophat ( Image, SE : ImageTopHat : : )

Perform a gray value top hat transformation on an image.

grey_tophat applies a gray value top hat transformation (an opening followd by subtraction from the original image) to the input image Image with the structuring element SE. For the generation of structuring elements, see load_grey_se.


Parameters

Image (input_object)
image(-array) -> object : byte
Input image.

SE (input_object)
image -> object : byte
Structuring element.

ImageTopHat (output_object)
image(-array) -> object : byte
Top hat image.


Result

grey_tophat returns TRUE if the structuring element is not the empty region. Otherwise, an exception is raised.


Possible Predecessors

load_grey_se, make_disc_se


Possible Successors

threshold__


Alternatives

grey_opening


See also

grey_bothat, top_hat, min1__, sub__



Copyright © 1996-1997 MVTec Software GmbH