Git Product home page Git Product logo

barron-optflow's Introduction

Build status

Barron Optical Flow Code

Original code modified to run with modern compilers.

Examples

Build

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
meson build

meson test -C build

Horn-Schunck

  1. Run 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
  2. convert output to Postscript and view (can use other viewer beside Evince)
    ./flow2ps out/horn.modified.new2binarytreet.F-5.00 out/hornOF.ps
    
    evince out/hornOF.ps

Lucas-Kanade

  1. Run Horn-Schunck optical flow on Tree image set
    ./lucas new2binarytreet. 1.5 20 1.0 ../TESTDATA/TREE_DATA/TRANS out/ -B 150 150
  2. convert output to Postscript and view (can use other viewer beside Evince)
    ./flow2ps out/lucas.new2binarytreet.20F-1.00-1.5 out/lucas20F.ps
    
    evince out/lucas20F.ps

barron-optflow's People

Contributors

scivision avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.