J = imbothat(I, SE)
| Parameter | Description |
|---|---|
| I | Input grayscale image. |
| SE | Structuring element structure or logical neighborhood. |
| Parameter | Description |
|---|---|
| J | Bottom-hat filtered image. |
Bottom-hat filtering of an image.
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');
| Version | Description |
|---|---|
| 2.0.0 | initial version |