Comments (5)
It represents the motion field of each pixel, which could be decomposed into x- and y- direction.
from dense_flow.
Does that mean both flowx and flow y have the same values? But this isn't the case.
from dense_flow.
It should not be the same value for flow x and flow y. You could refer to the wikipedia for more information on optical flow:
https://en.wikipedia.org/wiki/Optical_flow
from dense_flow.
I do know what optical flow is but i am not able to understand what the flow_x and flow_y images represent. For a pixel in an image we have the displacement in both the x and y directions. How is this represented in the flow_ and flow_y images. I see that every pixel in flow_x as well as flow_y has two components. In normal optical we just have one image where every pixel has displacement in x and y direction. However here we have two images for the same. Hence I am unable to understand what is the difference between both the maps.
from dense_flow.
I can not understand what you mean "I see that every pixel in flow_x as well as flow_y has two components. "
In fact, the flow_x and flow_y images are gray image, where each pixel simply has a single value rather than two components.
Flow_x and flow_y are the quantization of displacement in x and y direction, respectively. In this sense, we separately quantized (i.e., from a float value to a integer in [0,255]) the value of x and y displacement , and the quantized result are stored in a jpg format. For details about the quantization, please see:
https://github.com/wanglimin/dense_flow/blob/master/denseFlow_gpu.cpp#L11
from dense_flow.
Related Issues (20)
- Gpu API call (unknown error) in mallocPitch HOT 1
- fatal error: opencv2/gpu/gpu.hpp: No such file or directory HOT 1
- Different frame num with original video HOT 1
- CMakeFiles/extract_cpu.dir/build.make:120: recipe for target 'extract_cpu' failed HOT 1
- can I extract rgb and optical images use fps=25? HOT 2
- why is the TVL1 with GPU so slow? HOT 1
- /usr/bin/ld: cannot find -lopencv_dep_cudart HOT 1
- I don't know how to make the file
- does this support cuda-9.0 HOT 1
- run error HOT 4
- How to extract the optical flow of multiple videos at once,Instead of a video
- Code for OpenCV >= 3
- Not work for some videos
- How can I use these codes on sequence of images? HOT 2
- Could NOT find LIBZIP
- 'easylogging++.h' file not found HOT 1
- dense_flow_gpu.cpp error HOT 2
- denseFlow_GPU with OpenCV 3.4.6 HOT 1
- camke and make -j are completed,but when i test the command like this,some mistake happened HOT 1
- make error?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dense_flow.