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.
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. |
grey_tophat returns TRUE if the structuring element is not the empty region. Otherwise, an exception is raised.
grey_bothat, top_hat, min1__, sub__