merge_hierarchical

matplotlib Animation

[matplotlib animation] 68. 隣接領域グラフ(RAG)によるmerge_hierarchicalのthresh変化アニメーション

matplotlibのFuncAnimationを使って、skimage.featureのmerge_hierarchical関数のthreshパラメータ変化による画像セグメンテーション結果の変化をアニメーションで可視化する方法を解説します。
python

[scikit-image] 62. 隣接領域グラフ(RAG)による色が似ている領域の結合(skimage.feature graph merge_hierarchical)

scikit-imageライブラリのskimage.feature graphモジュールのmerge_hierarchical関数を使用して、画像の隣接領域グラフ(RAG)を構築し、色の類似した領域を効率的に結合する方法について解説します。