GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zsameem/OF_DIS: Fast Optical Flow using Dense Inverse Search (DIS)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
FDF1.0.1
FDF1.0.1
 
 
examples
examples
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
MxArray.cpp
MxArray.cpp
 
 
MxArray.hpp
MxArray.hpp
 
 
README.md
README.md
 
 
computeColor.m
computeColor.m
 
 
flowToColor.m
flowToColor.m
 
 
mexopencv.hpp
mexopencv.hpp
 
 
oflow.cpp
oflow.cpp
 
 
oflow.h
oflow.h
 
 
patch.cpp
patch.cpp
 
 
patch.h
patch.h
 
 
patchgrid.cpp
patchgrid.cpp
 
 
patchgrid.h
patchgrid.h
 
 
refine_variational.cpp
refine_variational.cpp
 
 
refine_variational.h
refine_variational.h
 
 
run_dense.cpp
run_dense.cpp
 
 

Repository files navigation

MATLAB Port of Fast Optical Flow using Dense Inverse Search (DIS)

Our code is released only for scientific or personal use. Please contact us for commercial use.

Compiling

The program was only tested under a 64-bit Linux distribution. SSE instructions from built-in X86 functions for GNU GCC were used.

The following will build four binaries: Two for optical flow (run_OF_*) and two for depth from stereo (run_DE_*). For each problem, a fast variant operating on intensity images (run_*_INT) and a slower variant operating on RGB images (run_*_RGB) is provided.

make all

The code depends on Eigen3 OpenCV and MATLAB. However, OpenCV is only used for image loading, scaling and gradient computation (run_dense.cpp). It can easily be replaced by other libraries.

Usage

The interface for all four mex functions (run_*_*()) is the same.

VARIANT 1 (Uses operating point 2 of the paper, automatically selects coarsest scale):

output = run_*_*(image1, image2 )

VARIANT 2 (Manually select operating point X=1-4, automatically selects coarsest scale):

output = run_*_*(image1, image2, X)

The optical flow output is a 2-D MATLAB matrix with x and y flows.

The interface for depth from stereo is exactly the same. (http://vision.middlebury.edu/stereo/code/)

For more information refer to the example_1.m file in the examples folder.

Bugs and extensions

If you find bugs, etc., please feel free to contact me at [email protected]

Or

http://www.vision.ee.ethz.ch/~kroegert/

History

July 2016 v1.0.0 - Initial Release August 2016 v1.0.1 - Minor Bugfix: Error in L1 and Huber error norm computation.

CITATION

If used this work, please cite:

@inproceedings{kroegerECCV2016, Author = {Till Kroeger and Radu Timofte and Dengxin Dai and Luc Van Gool}, Title = {Fast Optical Flow using Dense Inverse Search}, Booktitle = {Proceedings of the European Conference on Computer Vision ({ECCV})}, Year = {2016}}

Is you use the variational refinement, please additionally cite:

@inproceedings{weinzaepfelICCV2013, TITLE = {{DeepFlow: Large displacement optical flow with deep matching}}, AUTHOR = {Weinzaepfel, Philippe and Revaud, J{\'e}r{\^o}me and Harchaoui, Zaid and Schmid, Cordelia}, BOOKTITLE = {{ICCV 2013 - IEEE International Conference on Computer Vision}}, YEAR = {2013}}

LICENCE CONDITIONS

GPLv3: http://gplv3.fsf.org/

All programs in this collection are free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Fast Optical Flow using Dense Inverse Search (DIS)

www.vision.ee.ethz.ch/~kroegert/OFlow/

Topics

computervisionmatlabmatlab-toolboxmex-filesopencvoptical-flow

Resources

Readme
GPL-3.0 license
Activity

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.