This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

partitionByIndex

Partition pixelLabelImageDatastore according to indices

Syntax

pximds2 = partitionByIndex(pximds,ind)

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.

Introduced in R2018a