How to smooth edges of polygons?
조회 수: 7(최근 30일)
표시 이전 댓글
I created a image (uint8) with multiple filled polygons. First, I used the vision.ShapeInserter with 'Antialiasing' but this was not enough. Also insertShape + 'SmoothEdges' produced insufficient smooth edges. Are there any other ways how I can fix that?
Looking forward to your suggestions. Thanks!
댓글 수: 0
답변(2개)
Andrew Chen
2017년 10월 12일
Ex:
se = strel('disk',5);
new_img = imopen(original_image,se);
Hope this helps!
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!