Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Robert Barron optical flow code: slightest modifications for modern computers

License

NotificationsYou must be signed in to change notification settings

scivision/barron-optflow

Repository files navigation

cmake

Original codemodified to run with modern compilers.

Examples

A C compiler is required.Some of the programs require a Fortran compiler and/or BLAS library.

  • Linux:apt install gcc gfortran libopenblas-dev
  • Mac:brew install gcc openblas
cmake --workflow --preset default

Horn-Schunck optical flow on Tree image set

./horn new2binarytreet. 0.5 1.5 20 100 ../TESTDATA/TREE_DATA/TRANS out/ -B 150 150 -MH -T 5.0

convert output to Postscript and view (can use other viewer beside Evince)

./flow2ps out/horn.modified.new2binarytreet.F-5.00 out/hornOF.psevince out/hornOF.ps

Lucas-Kanade optical flow on Tree image set

./lucas new2binarytreet. 1.5 20 1.0 ../TESTDATA/TREE_DATA/TRANS out/ -B 150 150

convert output to Postscript and view (can use other viewer beside Evince)

./flow2ps out/lucas.new2binarytreet.20F-1.00-1.5 out/lucas20F.psevince out/lucas20F.ps

[8]ページ先頭

©2009-2025 Movatter.jp