[scikit-image] 42. HoG(Histogram of Oriented Gradients)による画像の特徴抽出(skimage.feature hog)

python

はじめに

ここでは、skimage feature hog(Histogram of Oriented Gradients)により画像の特徴量を抽出した例を示す。

コード

コードをダウンロード

解説

モジュールのインポート

画像データの読み込み

HoG

HoGについては下記が詳しい。

http://lang.sist.chukyo-u.ac.jp/Classes/ComputerVision/KeypointDescription.html#HOG%E8%A8%98%E8%BF%B0%E5%AD%90
https://www.jstage.jst.go.jp/article/itej/64/3/64_3_322/_pdf/-char/ja

画像の表示

参考

Histogram of Oriented Gradients — skimage 0.23.1 documentation
http://lang.sist.chukyo-u.ac.jp/Classes/ComputerVision/KeypointDescription.html#HOG%E8%A8%98%E8%BF%B0%E5%AD%90
https://www.jstage.jst.go.jp/article/itej/64/3/64_3_322/_pdf/-char/ja

コメント