C++code for Efficient segmentation-based PatchMatch for large displacement optical flow estimation. (IEEE TCSVT 2019)
hsdchenjun/SegFlow
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Operating system and platform £ºFedora 21 MATLAB R2016b Efficient Segmentation-Based PatchMatch for Large Optical Flow Estimation Example for running our code: Running under the current directory(.../SegFlow/). Firstly, Please unzip all files. Put these files:"flowColorCode,epicflow,SED,toolbox"in this file directory:"external". 1. Run RunEdgesDemo.m to compute "edge1.bin" and "edge2.bin", which are saved in ".../SegFlow/Edge/". 2. cd .../SegFlow/ Running RunSegPM:[root@roothost SegFlow]# ./RunSegPM After running, we can obtain "SegMatch1.txt" saved in ".../SegFlow/Match/". 3. Running demo.m to compute the final flow "frame0001.flo" saved in ".../SegFlow/output/". The executable code of our method is saved in ".../SegFlow/SegPM/SegPM". We can use it by running: "[root@roothost SegFlow]# ./SegPM/SegPM" to obtain help: Usages: The program "SegPM" has been built and tested on Fedora 21. USAGE: ./SegPM image1 image2 edges1 edges2 outMatches <d1> <d2> Where the last five parameters are optional: d1: grid spacing <default: 11> d2: grid spacing <default: 3> Explanations: The output of the program is a text file, which is in the format of "x1,y1,x2,y2" corresponding to one match per line, and an image file is also outputed for visualization. The program outputs matches only. Please use an interpolation method (EpicFlow: http://lear.inrialpes.fr/src/epicflow/) to obtain the final optical flow results. Here we has provided these supported files.
About
C++code for Efficient segmentation-based PatchMatch for large displacement optical flow estimation. (IEEE TCSVT 2019)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published