Class: imageSet
Read image at specified index
image = read(imgSet,idx)
image = read(imgSet,idx) returns an image from the imgSet image set, located at the index idx.
imgSet
idx
expand all
imageSet
Image set, specified as an array of imageSet objects.
Image location index, specified as a scalar value.
Create an image set.
imgFolder = fullfile(matlabroot,'toolbox','vision','visiondata','stopSignImages'); imgSet = imageSet(imgFolder);
Display the fourth image from the set.
imshow(read(imgSet, 4));
You have a modified version of this example. Do you want to open this example with your edits?