MarianoJT88 / Joint-VO-SF

Fast Odometry and Scene Flow from RGB-D Cameras based on Geometric Clustering
104 stars 54 forks source link

Unit of flow values #4

Open jthsieh opened 6 years ago

jthsieh commented 6 years ago

I ran VO-SF-ImagePair and successfully got the ClusterFlow.xml file. However, I am having trouble interpreting the values. The values are all ~ 10^-2 or smaller. In contrast, the raw values of the example depth images are ~ 10^4.

Shouldn't the x, y flow values be in pixels, and z flow values be in some distance metric (e.g. mm)?

MarianoJT88 commented 6 years ago

All the scene flow components are expressed in meters, I have just added a comment about that in the README.md

jthsieh commented 6 years ago

Thank you! Sorry I am fairly new to depth images and 3D optical flow, so a few more questions:

MarianoJT88 commented 6 years ago

You can calculate the real displacement because you know the geometry of the scene (from depth images and the pinhole camera model).

The expected format of the depth images is described in the README.MD. It is the same as in the famous TUM RGB-D Dataset (https://vision.in.tum.de/data/datasets/rgbd-dataset)