How to smooth the rough edge on 2D image?
이전 댓글 표시
I tried erode followed by a dilate.
The effect is not good as I want it to be.
I want the edge without any curve. It better can remove the curve and use straight line to represent those curve
I remember that there are some filter for smoothing the edge,right?
답변 (1개)
Image Analyst
2014년 8월 22일
0 개 추천
You can try activecontour(). You can set parameters to control how smooth the boundary is. See attached demo.

댓글 수: 4
tabw
2014년 8월 25일
Image Analyst
2014년 8월 25일
It's the same function. You forgot to give the error message. Please copy and paste ALL THE RED TEXT. Don't snip or paraphrase like you did. Did my demo run? That should run with no errors whatsoever.
tabw
2014년 8월 26일
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!