How to do "the black top-hat transformation"
21 views (last 30 days)
Image Analyst on 22 Apr 2016
Perhaps you're talking about the "bottom hat filter".
IM2 = imbothat(IM,SE) performs morphological bottom-hat filtering on the grayscale or binary input image, IM, returning the filtered image, IM2. SE is a structuring element returned by the strel function. SE must be a single structuring element object, not an array containing multiple structuring element objects.
More Answers (3)
Pekko Tuominen on 3 Jul 2017
In Matlab, the black top-hat transform is called bottom-hat and the white top-hat transform is called tophat. This should remove your confusion.