Main Content

getIOBlock

Read specified I/O block

Since R2021a

    Description

    block = getIOBlock(obj,ioblocksub,level) reads the block specified by the block subscript ioblocksub from the specified resolution level level. The return value block is empty if there is no data for the corresponding block. blockedImage uses the InitialValue property to create a block for such block subscripts.

    Input Arguments

    collapse all

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

    Block subscripts, specified as an integer-valued scalar. These subscripts span the grid made by Size./IOBlockSize.

    Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

    Image resolution level, specified as an integer-valued scalar. For single-resolution level files, the level parameter is always 1.

    Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

    Output Arguments

    collapse all

    Data read, returned as a numeric array.

    Version History

    Introduced in R2021a