readall - Read all data in label datastore - MATLAB (original) (raw)
Main Content
Read all data in label datastore
Syntax
Description
[data](#mw%5F42a5c9d4-6fb8-4d2f-8512-454c96e71bbc) = readall([ds](#mw%5F7cb0237a-a634-4fc7-ae14-7fed5140aa4f))
returns all the data contained in the label datastore specified byds
.
If all the data in the datastore does not fit in memory, thenreadall
returns an error.
Input Arguments
Output Arguments
Output data, returned as an _M_-by-2 cell array, cell array of categorical matrices, or a table.
Datastore | Output Description |
---|---|
PixelLabelDatastore | Table with MiniBatchSize number of rows. For the last batch of data in the datastore,numObservations must be divisible by MiniBatchSize orread returns a partial batch containing all the remaining observations in the datastore. |
boxLabelDatastore | _N_-by-2 cell matrix.N must be less than or equal toReadSize(ds). The first column must be a cell vector that contains bounding boxes. Each element in the cell vector contains_M_-by-4 matrices in the format [x,y,width,_height_].The second column must be a cell vector that contains the label names corresponding to each bounding box. Label names are represented as an_M_-by-1 categorical vector. |
Version History
Introduced in R2017b