www.gusucode.com > images 案例代码 matlab源码程序 > images/UseDisplayRangeParameterToHighlightImageStructuresExample.m

    %% Use DisplayRange Parameter to Highlight Image Structures
% 
%%
% Create a list of file names.

% Copyright 2015 The MathWorks, Inc.

fileFolder = fullfile(matlabroot,'toolbox','images','imdata');
dirOutput = dir(fullfile(fileFolder,'AT3_1m4_*.tif'));
fileNames = {dirOutput.name}'
%%
% Display the sequence of images as a montage, using the |DisplayRange|
% parameter to highlight structures in the images.
montage(fileNames, 'Size', [2 5],'DisplayRange', [75 200]);