www.gusucode.com > vision 源码程序 matlab案例代码 > vision/CreateAnImageSetWithSpecificImagesExample.m
%% Create an Image Set by Specifying Individual Images %% Specify individual images. % As an alternative to the method below, you can pick the files manually using imgetfile: % imgFiles = imgetfile('MultiSelect',true); % Copyright 2015 The MathWorks, Inc. imgFiles = { fullfile(matlabroot,'toolbox','vision','visiondata','stopSignImages','image001.jpg'),... fullfile(matlabroot,'toolbox','vision','visiondata','stopSignImages','image002.jpg') }; %% Create image set. imgSet = imageSet(imgFiles);