approximate_polygon

matplotlib Animation

[matplotlib animation] 41. approximate_polygonのtolerance変化アニメーション

matplotlibのFuncAnimationを使用して、scikit-imageのapproximate_polygon関数のtoleranceパラメータを変化させたときの多角形近似の変化をアニメーション化する方法を解説します。画像処理における形状単純化の視覚的理解に役立ちます。
python

[scikit-image] 20. 図形の近似と細分化(measure.approximate_polygon)

skimage.measure の approximate_polygonを用いた図形の近似