Image set, specified as an array of imageSet objects.
idx — Image location index scalar | vector of linear indices | vector of logical indices
Image location index, specified as a scalar, vector of linear
indices, or a vector of logical indices. The function uses the idx index
to select the subset of images.