How to smooth the given image?

100 views (last 30 days)
Jay Vaidya
Jay Vaidya on 1 Feb 2020
Answered: Sridhar SG on 2 Feb 2020
I want to make the image 1 as smooth as possible such that it looks like image 2. I was thinking to decrease the grid size but I don't know how to do that. Thanks in advance,
image 11.jpg image 2 2.jpeg

Accepted Answer

Sridhar SG
Sridhar SG on 2 Feb 2020
You can use the imgaussfilt() function to smoothen the image
Example code:
I = imread('index.jpeg');
I = imgaussfilt(I,2);
Before Blur is smoothening is applied
After smoothening is applied

More Answers (1)

Image Analyst
Image Analyst on 1 Feb 2020
Use imnoise() to add noise to it, then use imfilter() to blur it.


Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!