Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Neighborhood and Block Processing

Define neighborhoods and blocks for filtering and I/O operations

Classes

ImageAdapter Interface for image I/O

Functions

blockproc Distinct block processing for image
bestblk Determine optimal block size for block processing
nlfilter General sliding-neighborhood operations
col2im Rearrange matrix columns into blocks
colfilt Columnwise neighborhood operations
im2col Rearrange image blocks into columns

Topics

Neighborhood or Block Processing: An Overview

Learn more about the block processing operations supported by the Image Processing Toolbox™.

Sliding Neighborhood Operations

A sliding neighborhood operation is performed one pixel at a time using information about the pixel's neighborhood.

Distinct Block Processing

Distinct block processing divides an image into nonoverlapping rectangular sections that can be processed individually.

Block Size and Performance

Block size and the number of times the file is accessed can significantly affect performance when using theblockproc function to read or write image files.

Using Columnwise Processing to Speed Up Sliding Neighborhood or Distinct Block Operations

Reshape sliding neighborhoods and distinct blocks to reduce the execution time of processing an image.

Read and Write Data in Unsupported Formats Using blockproc

To work with image data in file formats not supported by the blockproc function, construct a class that inherits from theImageAdapter class.

Was this topic helpful?