Function File: imbothat (img, SE)

Perform morphological bottom hat filtering.

The matrix img must be numeric while SE can be a:

  • strel object;
  • array of strel objects as returned by ‘@strel/getsequence’;
  • matrix of 0’s and 1’s.

A bottom hat transform corresponds to the difference between the closing of img and img itself, i.e., it is equivalent to:

imclose (img, se) - img;

A bottom-hat transform is also known as ’black’, or ’closing’, top-hat transform.

See also: imerode, imdilate, imopen, imclose, imtophat, mmgradm.

Package: image