gives the morphological bottom-hat transform of image with respect to structuring element ker.


gives the bottom-hat transform with respect to a range-r square.


applies a bottom-hat transform to an array of data.



open allclose all

Basic Examples  (3)

Use bottom-hat transform to highlight the dark spots on a cheetah:

Bottom-hat transform applied to a color photo:

Bottom-hat transform applied to a 3D image:

Applications  (4)

Extract small, dark regions from a color image:

Use a disk-shaped structuring element to extract washers that are smaller than the specified size:

Extract thin, dark features:

Add the result to the original image to remove those thin features:

The bottom-hat transform effectively inverts high-frequency regions:

Introduced in 2008
Updated in 2012