Variable blur, gradient blur

Version 1.0.0.0 (1.26 KB) by Zoltan
Applies different blur filter to each element of a matrix
826 Downloads
Updated 7 Mar 2010

View License

The code is probably not very efficient, as it contains a for loop. Any improvement ideas are welcomed.

example:
ParameterMatrix=abs(meshgrid(0:199)-100) / 20;
inputimg = double(checkerboard(10,10,10)>0.5);
blurred=VariableBlur(inputimg, ParameterMatrix);
imagesc(blurred);
colormap(gray);

Cite As

Zoltan (2024). Variable blur, gradient blur (https://www.mathworks.com/matlabcentral/fileexchange/26879-variable-blur-gradient-blur), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0