Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

オプティカルフローを計算する機能 #36

Closed
tshino opened this issue Jan 9, 2018 · 1 comment
Closed

オプティカルフローを計算する機能 #36

tshino opened this issue Jan 9, 2018 · 1 comment
Labels

Comments

@tshino
Copy link
Owner

tshino commented Jan 9, 2018

2つの画像の間のオプティカルフローを計算して表示する機能を追加する。

OpenCVに含まれるLucas-Kanade法のアルゴリズムを使用して疎なオプティカルフローを生成します。
動画の連続するフレームを比較する場合のように移動量が少ない場合だけでなく、もっと大きく動いている場合にも使えるように画像ピラミッドも利用します。

@tshino tshino added the feature label Jan 9, 2018
tshino added a commit that referenced this issue Jan 14, 2018
tshino added a commit that referenced this issue Jan 18, 2018
tshino added a commit that referenced this issue Jan 19, 2018
tshino added a commit that referenced this issue Jan 21, 2018
tshino added a commit that referenced this issue Jan 21, 2018
tshino added a commit that referenced this issue Jan 22, 2018
tshino added a commit that referenced this issue Jan 23, 2018
tshino added a commit that referenced this issue Jan 24, 2018
tshino added a commit that referenced this issue Jan 27, 2018
tshino added a commit that referenced this issue Jan 28, 2018
tshino added a commit that referenced this issue Jan 31, 2018
tshino added a commit that referenced this issue Feb 17, 2018
tshino added a commit that referenced this issue Feb 17, 2018
tshino added a commit that referenced this issue Feb 18, 2018
tshino added a commit that referenced this issue Feb 22, 2018
tshino added a commit that referenced this issue Feb 24, 2018
tshino added a commit that referenced this issue Feb 25, 2018
tshino added a commit that referenced this issue Feb 27, 2018
tshino added a commit that referenced this issue Feb 28, 2018
tshino added a commit that referenced this issue Mar 4, 2018
tshino added a commit that referenced this issue Mar 7, 2018
tshino added a commit that referenced this issue Mar 8, 2018
tshino added a commit that referenced this issue Mar 9, 2018
tshino added a commit that referenced this issue Mar 11, 2018
tshino added a commit that referenced this issue Mar 12, 2018
tshino added a commit that referenced this issue Mar 13, 2018
tshino added a commit that referenced this issue Mar 15, 2018
tshino added a commit that referenced this issue Mar 18, 2018
tshino added a commit that referenced this issue Mar 20, 2018
tshino added a commit that referenced this issue Mar 22, 2018
@tshino
Copy link
Owner Author

tshino commented Mar 24, 2018

opticalflow

精度はいま一歩というところですが、2つの画像を比較してオプティカルフロー(あるいは動きベクトル)を表示する機能を実装しました。
上の図のように検出されたベクトルが白線で表示されます。
opticalflow-popup
また、このようにマウスオーバー(タップでも可)することでそれぞれのピクセル数も表示できます。

また一つ地味に便利(なはず)な機能が増えました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant