next up previous index
Next: ``Ultimate_Erosion'' - ultimate erosion Up: Morphology Previous: ``4D_Morphology'' - 4D mathematical

``tophat transform'' - detect peaks

VFX name:
iTopHat
IMPROMPTU Equivalent:
Top_Hat_Transform
purpose:
Perform a tophat transformation on an image to enhance peaks. The tophat transform of an image is defined as

vtophat(x,y,z) = vorig(x,y,z) - vopen(x,y,z)

where vopen(x,y,z) denotes the morphological grayscale opening of the image.

With this transformation, the size of the structuring element used in the opening will correspond to the radius of the largest peak that can be detected.

input:
An 8-bit grayscale volume.
output:
An 8-bit grayscale volume.
parameters:
Default parameters menu is
type of opening = minmax

*****MINMAX Struct Element Parameters*****
x filter dim = 3
y filter dim = 3
z filter dim = 3

*****Sphere Struct Element Parameters*****
x filter dim = 3
y filter dim = 3
z filter dim = 3

The parameter ``type of opening ='' specifies the type of structuring element to use for the morphological opening. The options are
1.
minmax - the opening is performed using grayscale minimum and maximum operations.
2.
sphere - the opening is performed using grayscale erosion and dilation operations with a spherical structuring element (see Sections 2.2.7 and 2.2.8).
comments:
1.
Refer to the descriptions of other grayscale morphological functions for more information on grayscale openings and structuring elements.


next up previous index
Next: ``Ultimate_Erosion'' - ultimate erosion Up: Morphology Previous: ``4D_Morphology'' - 4D mathematical
MultiDimensional Image Processing Lab, Penn State University