readRelative
(Not recommended) Read neighboring block from bigimageDatastore
using relative position
Since R2019b
The readRelative
function of the bigimageDatastore
object is not recommended. Use the blockedImageDatastore
object and its object functions instead. For more
information, see Compatibility Considerations.
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
readRelative
ignores masks.readRelative
respects thePadMethod
andBorderSize
properties of the big image datastore.If the requested block is incomplete and
has a value ofbigds
.IncompleteBlocks'exclude'
, thenreadRelative
returns an empty block