Average Filter

Average filter performs image smoothing with integral image method.

You are now following this Submission

The advantage of this implementation in comparison to IMFILTER from Image Processing Toolbox is that the processing time is independent of window size. In practice, it means that this implementation of the mean filter is faster than IMFILTER once windows size goes beyond 7 pixels.

Cite As

Jan Motl (2026). Average Filter (https://in.mathworks.com/matlabcentral/fileexchange/40174-average-filter), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0.0

Fix typos
Fixed the test file. (Thanks to Kate!)
Allowed reuse of the integral image.

1.5.0.0

Added support for even sized kernels.

1.4.0.0

Vectorised version.

1.3.0.0

Improved the help text. (Thanks Jan!)

1.2.0.0

Fixed copyright owner.

1.1.0.0

Added padding parameters.

1.0.0.0