blockproc
R2026bDistinct block processing for image
Description
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
The
blockedImageobject andfunction are recommended over theapplyblockprocfunction in several situations, such as when you want to:Process an image that is too large to fit in memory.
Write the processed image to memory.
Process an image of a file type unsupported by
blockproc. For more information, see.images.blocked.AdapterProcess 3-D blocks of a volumetric image.
Choosing an appropriate block size can significantly improve performance. For more information, see Block Size and Performance.
Due to block edge artifacts, for some image processing operations,
blockprocmay not produce the same results as when you process the entire image at once. TheBorderSizeargument can help reduce edge artifacts.The performance of parallel block processing depends on three factors:
Function used for processing.
Image size. When processing small images, serial processing is typically faster than parallel processing. For larger images, however, you might see significant performance gains from parallel processing.
Block size. Larger blocks generally process faster than smaller blocks, and processing large blocks in parallel might not save time. However, some algorithms require smaller blocks, which typically benefit from parallel processing. You might need to experiment to determine whether parallel processing saves time for a given block size.
Extended Capabilities
Version History
Introduced in R2009bSee Also
blockedImage | bestblk | colfilt | nlfilter


