python

matplotlib

[matplotlib] 56. plt.barによる集合棒グラフ

matplotlibのplt.barで集合棒グラフを表示する方法について説明する。また、棒の上にデータを表示する方法についても説明する。
matplotlib Animation

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

matplotlibのFuncAnimationで画像の色が似ている領域を結合するskimage.feature graph merge_hierarchicalのパラメータであるtheshを変化させたときの画像の変化をアニメーションで表示する。
python

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

skimage.feature graphのmerge_hierarchicalを用いて、隣接領域グラフ(RAG)を構築し、似ている色領域を結合する例について説明する。
matplotlib 3D

[matplotlib 3D] 56. voxelグラフでRGB cube

matplotlib mplot3dの3DボクセルグラフでRGB色空間を表示する。
python

[scikit-image] 61. 画像の一部分を低解像度(ぼかし)にする(skimage.transform pyramid_gaussian, rescale)

はじめに skimage.transform のpyramid_gaussian, rescaleを用いて、画像の一部分を低解像度(ぼかし加工)化する方法について説明する。 コード 解説 モジュールのインポート 画像の読み込み パロディア属...
python

[scikit-image] 60. 画像の一部分を低解像度(モザイク)にする(skimage.transform pyramid_gaussian, rescale)

skimage.transform のpyramid_gaussian, rescaleを用いて、画像の一部分を低解像度(モザイク)化する方法について説明する。
python

[scikit-image] 59. グレースケール画像の中から白い塊(ブロブ)を検出する(skimage.feature blob_dog, blob_log, blob_doh)

blob_dog, blob_log, blob_dohなどを用いて、グレースケール画像の中から白い塊(ブロブ)を検出する方法について説明する。
matplotlib Animation

[matplotlibで錯視] 8. エビングハウス錯視のアニメーション

エビングハウス錯視とは、相対的な大きさに関連する錯視の一種であり、代表的なのは同じ大きさの円がそれぞれ大きな円と小さな円で囲まれている図である。大きな円で囲まれた円は小さく、小さな円で囲まれた円は大きく見える。ここでは、その変化の様子をアニメーションで表示することを試みた。