Hauptinhalt

Blocked Images and Blocked Image Processing

R2026b
Read, display, and apply image processing operations to big images, multiresolution images, and images that require block processing

Rather than processing an entire image at once, you can divide an image into distinct blocks, processes each block, and reassembles the blocks to form the output image. The blockedImage object represents an image as a collection of smaller blocks of data that can be independently loaded and processed.

Block processing is useful in many situations, such as when you have:

  • Large images that do not fit into memory.

  • Multiresolution images.

  • Images of file types not supported by built-in functions such as imread.

Functions

expand all

blockedImageBig or multiresolution image made from discrete blocks
makeMultiLevel2D2-D multilevel blocked image (Since R2023a)
makeMultiLevel3D3-D multilevel blocked image (Since R2023a)
concatenateLevelsConcatenate levels from multiple blocked images (Since R2023a)
polyToBlockedImageCreate labeled blockedImage object from set of ROIs
imageshowDisplay image in 2-D viewer (Since R2024b)
viewer2dCreate viewer for 2-D image display (Since R2024b)
bigimageshowDisplay 2-D blockedImage object
showmaskShow mask overlay at specified inclusion threshold
showlabelsDisplay label overlay on bigimageshow object
blockLocationSetList of block locations in large images
selectBlockLocationsSelect blocks from blocked images
mergeBlockLocationSetsMerge block location sets (Since R2023a)
applyProcess blocks of blocked image
blockedImageDatastoreDatastore for use with blocks from blockedImage objects
countEachLabelCounts number of pixel labels for each class
cropCreate cropped version of blocked image
gatherCollect blocks into current workspace
writeWrite blocked image data to new destination
blockprocDistinct block processing for image
bestblkDetermine optimal block size for block processing
col2imRearrange matrix columns into blocks
colfiltColumn-wise neighborhood operations
im2colRearrange image blocks into columns

Topics

Introduction to Blocked Images

Label Blocked Images

Read Images in Unsupported Formats

Featured Examples