imbothat
Bottom-hat filtering of an image.
📝Syntax
J = imbothat(I, SE)
📥Input Arguments
Parameter Description
I Input grayscale image.
SE Structuring element structure or logical neighborhood.
📤Output Arguments
Parameter Description
J Bottom-hat filtered image.
📄Description

Bottom-hat filtering of an image.

💡Examples
Apply bottom-hat filtering
I=ones(64,64); I(20:44,20:44)=0.6; I(30:34,30:34)=0;
J=imbothat(I,strel('disk',5));
figure; subplot(1,2,1); imagesc(I); g=linspace(0,1,64)'; colormap([g g g]); title('Input');
subplot(1,2,2); imagesc(J); g=linspace(0,1,64)'; colormap([g g g]); title('Bottom-hat');
Example illustration
🔗See Also
imtophatimclosestrel
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub