Main Content

getInfo

Gather information about source

Since R2021a

    Description

    info = getInfo(obj) gathers and returns info, a structure containing information about the source.

    Input Arguments

    collapse all

    Adapter object, specified as an instance of an adapter class that is subclassed from the images.blocked.Adapter class.

    Output Arguments

    collapse all

    Structure containing information about source, returned as a structure with these fields.

    FieldDescription
    Size

    An L-by-N integer-valued array representing image size(s);

    For this field and all subsequent fields,L is the number of levels in Source. For a single resolution level image L is 1. N is the number of dimensions in the image.

    IOBlockSizeAn L-by-N integer-valued array representing the smallest unit of data that can be read from the source.
    DatatypeAn L-by-N string array containing the MATLAB® datatype for each level.
    InitialValueA scalar value of type specified by Datatype, indicating the initial data value for each level. If the types and values differ for a multiresolution array, this can be a cell array.

    You can optionally return these additional fields.

    Optional FieldDescription
    UserData

    A scalar struct containing additional metadata about the source. This field can be empty.

    WorldStart

    An L-by-N numeric array specifying the starting edge location of the image in world coordinates.L is the number of levels in Source. N is the number of dimensions in the image.

    WorldEnd

    An L-by-N numeric array specifying the ending edge location of the image in world coordinates.L is the number of levels in Source. N is the number of dimensions in the image.

    Version History

    Introduced in R2021a