MATLAB Answers

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

37 ビュー (過去 30 日間)
jahanzaib ahmad
jahanzaib ahmad 2019 年 5 月 2 日
コメント済み: Do Trung 2020 年 4 月 15 日
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 件のコメント

表示 2 件の古いコメント
jahanzaib ahmad
jahanzaib ahmad 2019 年 5 月 2 日
@ David Wilson sir can i have some code please ?
Do  Trung
Do Trung 2020 年 4 月 15 日
Thanks for your share. It's fantastic!

サインインしてコメントする。

その他の回答 (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

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by