Gaussian Filter in MATLAB with code
Gaussian filters are widely used filter in image processing because their design can be controlled by manipulating just one variable- the variance.
Photo copyright https://www.lenshorizon.com/
%Code:
clc
clear all
close all
warning off
x=imread('shankar.jpg');
imshow(x);
for i=0.1:0.1:10
B = imgaussfilt(x,i);
imshowpair(x,B,'montage');
drawnow;
end
Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes
No comments