- detect the edges using the original image, then
- create an edge mask that defines the location of the edge pixels, then
- blur the whole image, then
- replace the edge pixels only with the corresponding pixels from the blurred image.
How to smooth an edge ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I need to smooth the edge of an image but I don't know if does a Matlab function exist for that.
Any idea ?
Thanks.
댓글 수: 0
답변 (1개)
Image Analyst
2012년 4월 2일
Well, you can blur the whole image with imfilter or conv2.
If you want only the edge blurred, then you're going to have to
out = originalImage
out(edgeMask) = originalImage(edgeMask);
What do you want to do?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!