readimage - Read specified pixel label data file - MATLAB (original) (raw)
Main Content
Read specified pixel label data file
Syntax
Description
[C](#d126e253286) = readimage([pxds](#d126e253242),[k](#d126e253265))
returns the k
th file in the pixel label datastore specified bypxds
.
[[C](#d126e253286),[info](#d126e253303)] = readimage([pxds](#d126e253242),[k](#d126e253265))
also returns information about the extracted data in info
, including metadata.
Input Arguments
File number to read from the pixel label datastore, specified as a positive integer.
Output Arguments
Output data, returned as a categorical matrix.
Information about read data, returned as a structure array. The structure array can contain the following fields.
Field Name | Description |
---|---|
Filename | Fully resolved path containing the path string, name of the file, and file extension. |
FileSize | Total file size, in bytes. |
Version History
Introduced in R2017b