www.gusucode.com > vision 源码程序 matlab案例代码 > vision/DisplayAnIndexedImageFromAnImageSetExample.m

    %% Display Image from an Image Set
%% Create an image set.

% Copyright 2015 The MathWorks, Inc.

imgFolder = fullfile(matlabroot,'toolbox','vision','visiondata','stopSignImages');
imgSet  = imageSet(imgFolder);
%% Display the fourth image from the set.
imshow(read(imgSet, 4));