How to apply Gaussian filter on images in MATLAB?
2 views (last 30 days)
Show older comments
Asad Ali Siyal
on 17 Feb 2016
Commented: Rena Berman
on 29 Aug 2018
How to apply Gaussian filter on images in MATLAB?
Accepted Answer
Wanbin Song
on 17 Feb 2016
You can use imgaussfilt function for 2-D gaussian filtering as below:
I = imread('mypic.jpg');
Iblur = imgaussfilt(I, 1);
where the second input of imgaussfilt is standard deviation sigma.
6 Comments
anastasia
on 4 Mar 2017
Any guidance on a similar question? @Image Analyst https://in.mathworks.com/matlabcentral/answers/327870-how-to-apply-directional-gaussian-filters-to-an-image
Image Analyst
on 4 Mar 2017
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!