File Exchange

image thumbnail

Variable blur, gradient blur

version 1.0.0.0 (1.26 KB) by Zoltan
Applies different blur filter to each element of a matrix

1 Download

Updated 07 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 (2019). Variable blur, gradient blur (https://www.mathworks.com/matlabcentral/fileexchange/26879-variable-blur-gradient-blur), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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