Main Content

partitionByIndex

Partition pixelLabelImageDatastore according to indices

Description

pximds2 = partitionByIndex(pximds,ind) partitions a subset of observations in a pixel label image datastore, pximds, into a new datastore, pximds2. The desired observations are specified by indices, ind.

Input Arguments

collapse all

Pixel label image datastore, specified as a pixelLabelImageDatastore object.

Indices of observations, specified as a vector of positive integers.

Output Arguments

collapse all

Output datastore, returned as a pixelLabelImageDatastore object containing a subset of files from pximds.

Version History

Introduced in R2018a