BottomHatTransform

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

BottomHatTransform[image, r]
gives the bottom-hat transform with respect to a range-r square.

BottomHatTransform[data, ...]
applies a bottom-hat transform to an array of data.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (5)Basic Examples (5)

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

In[1]:=
Click for copyable input
Out[1]=

Bottom-hat transform applied to a color photo:

In[1]:=
Click for copyable input
Out[1]=

Extract small, dark regions from a color image:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=
New in 7 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »