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

27 Ansichten (letzte 30 Tage)
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 Kommentare

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

jahanzaib ahmad
jahanzaib ahmad am 2 Mai 2019

Weitere Antworten (1)

Lipi Vora
Lipi Vora am 18 Dez. 2019
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

Kategorien

Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by