phuang17 / DeepMVS

DeepMVS: Learning Multi-View Stereopsis
https://phuang17.github.io/DeepMVS/index.html
BSD 2-Clause "Simplified" License
331 stars 85 forks source link

How to convert depth map to real depth value? #20

Open liujie183 opened 4 years ago

liujie183 commented 4 years ago

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?

NagabhushanSN95 commented 3 years ago

Hi @liujie183, any luck?

denred0 commented 1 year ago

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 baselineis a distance between cameras in meters disparity in pixels