expansion icon indicating copy to clipboard operation
expansion copied to clipboard

motion in depth normalized?

Open tonytu16 opened this issue 4 years ago • 3 comments

When I plug in the tcz for our camera into the equation Screen Shot 2020-12-30 at 12 01 37 AM to calculate the absolute depth, do I directly plug in the values from the MID pfm files? It looks like the values are very close to 0. So 1 / (1- tau) is essentially a one matrix. Which values should I plug in to the above equation? Have the motion in depth values been normalized?

tonytu16 avatar Dec 30 '20 08:12 tonytu16

The .pfm files store log motion-in-depth values. The following would get tau,

from dataloader.depthloader import disparity_loader
tau = np.exp(disparity_loader('path-to-mid-file'))

gengshan-y avatar Dec 31 '20 07:12 gengshan-y

Thank you for your reply. I just want to confirm the base of the log. Is it log_10 or natural log? Thank you

tonytu16 avatar Jan 02 '21 21:01 tonytu16

It's the natural logarithm.

gengshan-y avatar Jan 03 '21 04:01 gengshan-y