How to smooth the edges
Show older comments


I tried many methods but neither gives me a smooth shape like this.
Anyone else have any idea how to approach this kind of problem?
Thanks in advance.
2 Comments
Image Analyst
on 17 Feb 2016
Huh? Your "this" looks way more craggy and jagged and tortuous than the "original picture". Did you reverse them?
Younes Nejahi
on 18 Feb 2016
Accepted Answer
More Answers (1)
Brattv
on 17 Feb 2016
Hi,
Did you try to convert to gray and use imgaussfilt?
G = imread('YourImage.png');
grayIm = rgb2gray(G);
test = imgaussfilt(grayIm,4);
imshow(test)
The last parameter in imgaussfilt is the standard deviation. The higher the more blurred.

1 Comment
Younes Nejahi
on 18 Feb 2016
Categories
Find more on Object Analysis 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!