-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么这样计算深度值? #54
Comments
https://blog.csdn.net/catpico/article/details/120688795 |
双目的原始depth图(等式右边的imD)其实存储的是左右相机的视差,这里的计算就是对应了双目深度的计算公式,mDepthMapFactor这个值应该代表的是焦距f(当然可能对真实数据还有别的比例缩放,具体看原始imD的计算方式)。 |
好的好的,谢谢,我去看看深度计算那边 |
但是他这里如果深度图是RGBD的深度图的话,还用双目的计算公式明显存在问题 |
你仔细看一下代码?针对双目和RGBD这里的计算公式不一样,RGBD的计算甚至直接给注释掉了,要么是在别处进行/mDepthMapFactor的操作,要么是RGBD的原始深度就是真实比例,不存在缩放。这都跟原始Depthmap的数据来源相关。 |
为何RGBD和双目的深度计算公式一样且在分母中除mDepthMapFactor?
The text was updated successfully, but these errors were encountered: