Main Content

read

Read data fromdenoisingImageDatastore

Description

data= read(dnimds)returns a batch of data from a denoising image datastore,dnimds. Subsequent calls to thereadfunction continue reading from the endpoint of the previous call.

[data,info) =阅读(dnimds)also returns information about the extracted data, including metadata, ininfo.

Input Arguments

collapse all

Denoising image datastore, specified as adenoisingImageDatastoreobject. The datastore specifies aMiniBatchSize(Deep Learning Toolbox)number of observations in each batch, and anumObservations(Deep Learning Toolbox)total number of observations.

Output Arguments

collapse all

Output data, returned as a table withMiniBatchSizenumber of rows.

For the last batch of data in the datastorednimds, ifnumObservationsis not cleanly divisible byMiniBatchSize, thenreadreturns a partial batch containing all the remaining observations in the datastore.

Information about read data, returned as a structure array. The structure array can contain the following fields.

Field Name Description
CurrentFileIndices Current read index of the denoising image datastore.

Version History

Introduced in R2018a