View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Standard deviation filter

5.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 10.9 KB File ID: #41703 Version: 1.0
image thumbnail

Standard deviation filter


Jan Motl (view profile)


Standard deviation filter for images based on integral images.

| Watch this File

File Information

The implemented standard deviation filter is based on calculation two integral images and subsequent common calculation of the variance by:
var(X) = E[X^2] - (E[X])^2.

The advantage of this implementation is that the computation time is independent of the kernel size. In comparison to stdfilt from Image Processing Toolbox, whose computation time increases linearly, usage of the integral image method is beneficial for kernels bigger 15 pixels.

The disadvantage of integral based computation is that it doesn't allow easy changing of the kernel shape (triangle, cross, circle,...) and as a consequence only rectangular kernels are supported

Required Products MATLAB
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
15 Jan 2015 sara

sara (view profile)

Contact us