BW = imextendedmin(I, h)
BW = imextendedmin(I, h, conn)
| Parameter | Description |
|---|---|
| I | Input finite real 2-D image. |
| h | Nonnegative finite height for the h-minima transform. |
| conn | Connectivity, either 4, 8, or an equivalent 3-by-3 matrix. |
| Parameter | Description |
|---|---|
| BW | Logical mask of regional minima after h-minima suppression. |
imextendedmin applies imhmin and then finds regional minima. It helps build marker masks that ignore minima shallower than h.
I=[5 5 5 5 5;5 1 5 2 5;5 5 5 5 5];
BW=imextendedmin(I,2);
figure; subplot(1,2,1); imagesc(I); title('Image');
subplot(1,2,2); imagesc(BW); title('Extended minima');
| Version | Description |
|---|---|
| 2.0.0 | initial version |