PNGBlocks
Description
The PNGBlocks
object is an adapter that writes 2-D blocked image
data in the PNG format.
When writing to disk, the object creates an individual PNG 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 table lists the support that the PNGBlocks
object has for various
blockedImage
capabilities.
Capabilities | Support |
---|---|
Data types | This object supports 2-D images only:
|
Multiple resolution levels | Yes |
Process blocks in parallel using the apply
function | Yes |
Resume block processing using the apply
function | Yes |
Creation
Description
adapter = images.blocked.PNGBlocks
creates a
PNGBlocks
object that reads and writes blocked image data as PNG files,
with one PNG file for each block.
Examples
Version History
Introduced in R2021a
See Also
blockedImage
| JPEGBlocks
| GenericImageBlocks
| GenericImage