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.
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 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.
info- - - - - -信息read data structure array
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.
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.