setBlock
(Not recommended) Put data in specific block of bigimage
object
The setBlock
function of the bigimage
object is not
recommended. Use the setBlock
function
associated with the blockedImage
object
instead. For more information, see Compatibility Considerations.
Description
setBlock(
sets the pixel data in the block of big image bigimg
,level
,locationWorld
,data
)bigimg
that contains
coordinate locationWorld
at the specified resolution level.
Examples
Input Arguments
Tips
Create a writeable
bigimage
by using a syntax that does not initialize image data. If you create abigimage
by specifying the file name, directory name, or variable name of image data, or by using theapply
function, then thebigimage
is not writeable and you cannot use thesetBlock
function.If the size of
data
is less than the block sizebigimg.BlockSize
, thensetBlock
pads the data with the default value,bigimg.UnloadedValue
.setBlock
trims data for partial edge blocks.