H5Blocks
Description
The H5Blocks
object is an adapter that reads and writes blocked
image data as chunked H5 files, with one H5 file for each block.
When writing to disk, the object creates an individual H5 file for each block and saves the image files in a folder. For multiresolution images, the object creates one subfolder for each resolution level. The object also creates and saves a MAT file with information about the blocked image, including the image size, block size, and data type.
The object supports lossless compression. By default, the compression level is set to
1
. To use a different compression level, create the object and then
change the compression level using the GZIPLevel
property. You can also
use this property to turn off compression. For example, to use a compression level of
3
, use this code.
adapter = images.blocked.H5Blocks; adapter.GZIPLevel = 3;
The table lists the support that the H5Blocks
object has for various
blockedImage
capabilities.
Creation
Description
adapter = images.blocked.H5Blocked
creates a
H5Blocks
object that reads and writes blocked image data as chunked H5
files, with one file for each block.
Properties
Examples
Version History
Introduced in R2021a