Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
liujie183 opened this issue May 22, 2020 · 2 comments
Open

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

liujie183 opened this issue May 22, 2020 · 2 comments

Comments

@liujie183
Copy link

liujie183 commented May 22, 2020

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
Copy link

Hi @liujie183, any luck?

@denred0
Copy link

denred0 commented Dec 22, 2022

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants