readRelative
(Removed) Read neighboring block from bigimageDatastore using
relative position
The readRelative function of the bigimageDatastore
object has been removed (since R2026a). Use the getBlock function
of the blockedImage object
instead. For more information, see Version History.
Syntax
Description
returns the block from big image datastore data = readRelative(bigds,sourceInfo,blockOffset)bigds that neighbors the
source block sourceInfo with offset
blockOffset.
[
also returns information about the extracted data, including metadata, in
data,info]
= readRelative(bigds,sourceInfo,blockOffset)info.
Examples
Input Arguments
Output Arguments
Tips
readRelativeignores masks.readRelativerespects thePadMethodandBorderSizeproperties of the big image datastore.If the requested block is incomplete and
has a value ofbigds.IncompleteBlocks'exclude', thenreadRelativereturns an empty block