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!
3 个评论
Andrew Chen
2017-10-13
Did Image Analyst's answer get you what you wanted? Otherwise, maybe you could clarify what you mean by "smooth edges". What in your mind constitutes a sufficiently smooth edge?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!