Git Product home page Git Product logo

dcflow's Introduction

Code for the paper "Accurate Optical Flow via Direct Cost Volume Processing. Jia Xu, René Ranftl, and Vladlen Koltun. CVPR 2017"

If you use this code or the provided models in your research, please cite the following paper:

@inproceedings{XRK2017,
	author    = {Jia Xu and Ren\'e Ranftl and Vladlen Koltun},
	title     = {{Accurate Optical Flow via Direct Cost Volume Processing}},
	booktitle = {CVPR},
	year      = {2017},
}

Dependencies

Setup

  • Set path to OpenCL SDK:
    • For Intel OpenCL set export INTELOCLSDKROOT=<path to intel ocl sdk>, e.g., export INTELOCLSDKROOT=/usr/local/intel/opencl
    • For NVIDIA OpenCL set export CUDA_PATH=<path to cuda home>, e.g., export CUDA_PATH=/usr/local/cuda
    • For AMD OpenCL set export AMDAPPSDKROOD=<path to amd ocl sdk>, e.g., export AMDAPPSDKROOD=/usr/local/amd/opencl
  • Set MATLAB_ROOT environment variable, e.g., export MATLAB_ROOT=/usr/local/MATLAB/R2017a
  • mkdir build
  • cd build
  • cmake ..
  • make
  • make install

Running the code:

See matlab/demo.m

Log

  • Version 0.1, 2017-07-20

    Includes feature embedding code/models, 4-D cost volume construction and processing, and forward-backward consistency checking. Part of poster-processing (EpicFlow inpainting, homography fitting) can not be included due to license issues. We expect to release them in future versions. You may download the EpicFlow code (or other inpainting code), and replace the match file with our output to obtain a dense optical flow filed.

dcflow's People

Contributors

jia-xu avatar ranftlr 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.