Perform morphological bottom hat filtering.
The matrix img must be numeric while SE can be a:
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