data = read(auimds)
returns a batch of data from an augmented image datastore,
auimds. Subsequent calls to the read
function continue reading from the endpoint of the previous call.
[data,info]
= read(auimds)
also returns information about the extracted data, including metadata, in
info.
Augmented image datastore, specified as an augmentedImageDatastore object. The datastore specifies a
MiniBatchSize number of observations in each batch, and a
numObservations total number of observations.
Output data, returned as a table with MiniBatchSize
number of rows.
For the last batch of data in the datastore auimds,
if numObservations is not cleanly divisible by
MiniBatchSize, then read returns a
partial batch containing all the remaining observations in the
datastore.
info — Information about read data structure array
Information about read data, returned as a structure array. The structure
array can contain the following fields.
Field Name
Description
Filename
Filename is a fully resolved path
containing the path string, name of the file, and file
extension.
FileSize
Total file size, in bytes.
For MAT-files,
FileSize is the total number of
key-value pairs in the file.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.