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

조회 수: 27 (최근 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
Do Trung
Do Trung 2020년 4월 15일
Thanks for your share. It's fantastic!

댓글을 달려면 로그인하십시오.

채택된 답변

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에서 Elementary Polygons에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by