www.gusucode.com > images 案例代码 matlab源码程序 > images/PerformExtendedminimaTransformExample.m
%% Perform Extended-Minima transform % %% % Read image into the workspace. % Copyright 2015 The MathWorks, Inc. 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');