You are here : matlabImage Processingimextendedmin

imextendedmin() - Image Processing

BW = imextendedmin(I,h) computes
the extended-minima transform, which is the regional minima of the
H-minima transform.  Regional minima are connected components of pixels
with a constant intensity value, and whose external boundary pixels
all have a higher value. h is a nonnegative scalar.
By default, imextendedmin uses 8-connected neighborhoods
for 2-D images and 26-connected neighborhoods for 3-D images. For
higher dimensions, imextendedmin uses conndef(numel(size(I)),'maximal').BW = imextendedmin(I,h,conn) computes
the extended-minima transform, which is the regional minima of the
H-minima transform. h is a nonnegative scalar.Code Generation support:
Yes.MATLAB Function Block support:
Yes.


Syntax

BW = imextendedmin(I,h) exampleBW = imextendedmin(I,h,conn)


Example

Perform Extended-Minima transformOpen This Example
Read image into the workspace.I = imread('glass.png');
Calculate the extended-minima transform.BW = imextendedmin(I,50);
Display the original image and the transformation side-by-side.imshowpair(I,BW,'montage');


Output / Return Value


Limitations


Alternatives / See Also


Reference