colfilt
R2026bColumn-wise neighborhood operations
Syntax
Description
subdivides B = colfilt(A,[m n],[mblock nblock],blockType,fun)A into regions of size
mblock-by-nblock blocks and then processes
each region independently. Subdividing an image into regions can save memory.
For example, if [mblock nblock] is [3 4]
and the size of each block is 16-by-16 pixels, then colfilt
first subdivides the image into regions of size 48-by-64 pixels and then processes
each region separately.
Examples
Input Arguments
Output Arguments
Tips
colfiltcan produce the same results asnlfilterwith faster execution time; however, it might use more memory.You can use
colfiltto implement many of the same distinct block operations thatblockprocperforms. However, unlikecolfilt, theblockprocfunction supports different sizes for the input and output images.To save memory, the
colfiltfunction might divideAinto regions and process one region at a time. This implies thatfunmay be called multiple times, and that the first argument tofunmay have a different number of columns each time.
Algorithms
Version History
Introduced before R2006a



