blockproc
Distinct block processing for image
Syntax
Description
B = blockproc(src_filename,[m n],fun)src_filename, reading and
                processing one block at a time. This syntax is useful for processing large
                images.
B = blockproc(___,Name,Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Tips
- Choosing an appropriate block size can significantly improve performance. For more information, see Block Size and Performance. 
- If the output image - Bis too large to fit into memory, then omit the output argument and instead use the- Destinationname-value pair argument to write the output to a file.
- blockproccan read BigTIFF images but has limited support for writing BigTIFF images to file. If you write an image to file, then- blockprocautomatically selects the file type according to the size of the file. If the image is less than or equal to 4.0 Gb, then- blockprocsaves the image as a standard TIFF image. If the size of the file is larger than 4.0 Gb, then- blockprocsaves the image as a BigTIFF image.- blockprocdoes not provide an argument that enables you to specify the file type as BigTIFF when the file size is less than or equal to 4.0 Gb. If you want to write a small image as a BigTIFF file, then specify a custom image adapter using the- adapterargument. For more information, see TIFF, BigTIFF, and blockproc.
- To determine whether a written TIFF file is standard TIFF or BigTIFF, query the image format signature using the - imfinfofunction:- tiffinfo = imfinfo(Destination); tiffformat = tiffinfo.FormatSignature - If the last nonzero value of - tiffformatis 42, then the file is in the standard TIFF format. If the last nonzero value is 43, then the file is in the BigTIFF format.
Extended Capabilities
Version History
Introduced in R2009b





