how to reduce vertices of polygon keep the shape same as much as possible

21 次查看(过去 30 天)
Capture.PNG i have tried both of these ways pchip(red) and Savitzky-Golay filter(blue) : for polygons.i have problem that the number of vertices of polygons are very high after reading boundaries from image .how can i reduce the number of vertices keeping the shape of the polygons same as much as possible.
  5 个评论

请先登录,再进行评论。

采纳的回答

jahanzaib ahmad
jahanzaib ahmad 2019-5-2

更多回答(1 个)

Lipi Vora
Lipi Vora 2019-12-18
We now have "reducepoly" in MATLAB which can reduce the density of points in your polygon. Please see documentation:https://www.mathworks.com/help/images/ref/reducepoly.html

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by