matplotlib [scikit-image] 88. threshold_sauvola, opening, label, regionpropsなどを駆使してサボテンの種の数を調査 scikit-imageライブラリを使用してサボテンの種の数を自動計測する方法を解説。threshold_sauvolaによる二値化、モルフォロジー演算(opening)、ラベリング処理、regionpropsによる特徴量抽出を組み合わせて、画像内のサボテンの種を正確にカウントする技術を紹介。 2020.09.24 matplotlibpythonサボテン画像処理
matplotlib [matplotlib animation] 83.ロケットで斜方投射 matplotlibとskimage.transformを組み合わせて、ロケットの画像を使った斜方投射のアニメーションを作成する方法を解説。ロケットが進行方向に常に向くよう回転させる技術も含め、Pythonでの物理シミュレーション可視化の実践例を紹介します。 2020.06.14 matplotlibmatplotlib Animationpython画像処理
python [scikit-image] 86. EuclideanTransformで画像の中心を原点として回転する(skimage.transform.EuclideanTransform) skimage.transformのEuclideanTransformでユークリッド変換(剛体変換)により、画像を中心を原点として回転させる方法について説明する。 2020.05.27 python画像処理
python [scikit-image] 85. EuclideanTransformによるユークリッド変換(skimage.transform.EuclideanTransform) skimage.transformのEuclideanTransformでユークリッド変換(剛体変換)により、画像を回転させる方法、平行移動させる方法について解説する。 2020.05.26 python画像処理
matplotlib Animation [matplotlib animation] 79. flood_fillのtolerance変化アニメーション(skimage.segmentation.flood_fill) scikit-imageのflood_fillアルゴリズムのtoleranceパラメータ変化による画像セグメンテーション効果をmatplotlibのFuncAnimationを使って可視化する方法を解説した記事です。画像処理の基本アルゴリズムの動作を視覚的に理解できます。 2020.05.16 matplotlib Animationpython画像処理
python [scikit-image] 83. flood_fillによる特定の領域の塗りつぶし(skimage.segmentation.flood_fill) skimage.segmentationのflood_fillで、特定の領域を指定の色で塗りつぶす方法について説明する。 2020.05.12 python画像処理
ipywidgets [matplotlib] 62. mpl_connect(‘button_press_event’, onclick)により、画像上でクリックした2点間のプロファイルを表示 matplotlibのイベント処理機能を使って画像上の2点をクリックし、その間のプロファイルをskimageのprofile_line関数で取得して可視化する方法を解説。インタラクティブなデータ分析のための実践的なPythonコード例を提供しています。 2020.03.09 ipywidgetsmatplotlibpython画像処理
ipywidgets [ipywidgets] 16. 画像の強度プロファイル分析:IntSliderとprofile_lineで対話的に可視化する方法 Jupyter NotebookでipywidgetsのIntSliderを使い、scikit-image measureのprofile_line関数を活用して、画像上の任意の位置における強度プロファイルを対話的に取得・表示する方法を解説します。 2020.03.06 ipywidgetspython画像処理