I'm looking at the TUM dataset and wonder why the depth images and the file formats appear to be inconsistent. According to the file formats:

The depth images are scaled by a factor of 5000, i.e., a pixel value of 5000 in the depth image corresponds to a distance of 1 meter from the camera, 10000 to 2 meter distance, etc. A pixel value of 0 means missing value/no data.

However, the pixels in the background appear to be darker than those in the foreground. By the file formats, the background pixels should have higher values than those in the foreground. How come they are darker?

enter image description here

  • $\begingroup$ perhaps they represent "no data" $\endgroup$ – jsotola Sep 18 '19 at 0:39
  • $\begingroup$ @jsotola I think you're right! Thanks. $\endgroup$ – John M. Sep 18 '19 at 8:27
  • $\begingroup$ you even quoted the answer in your question: "A pixel value of 0 means missing value/no data." $\endgroup$ – FooTheBar Sep 18 '19 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.