phuang17/DeepMVS

How to convert depth map to real depth value?

liujie183 opened this issue · 2 comments

Hi,
I've been doing a free viewpoint video research recently, and depth estimation is a key step of FVV pipeline. I've tryed to use deepmvs to do the depth estimation, but don't know how to convert the resulting depth estimation result to real depth value, can anyone know how to get the real depth value?

Hi @liujie183, any luck?

Hi! @NagabhushanSN95 @liujie183
As I understood the DeepMVS infers disparity maps. You can convert a disparity map to real depth If you know an intrinsic matrix of your camera and especically a focal length.

depth_map = focal_length * baseline / disparity
focal length in pixels
baseline is a distance between cameras in meters
disparity in pixels