立体视觉真实距离计算
我是立体声愿景的新手。我正在尝试计算与立体声差异图和深度图的真实距离。但是我不明白我该怎么做。我有两个输出,其中一个检测到汽车,并给出X,Y,W,H坐标。第二个是带有施用colormap的立体声输出。
我如何从深度图上的图片中找到类似于上图的汽车距离?该示例是否有任何公式? 谢谢。
I am new on stereo vision. I am trying to calculate real distance from stereo's disparity map and depth map. But I don't understand how can I do that. I have two output, one of them detect cars and giving x,y,w,h coordinates. The second one is that the stereo output with applied colormap.
What I am trying to find car's distance from disparity map or depth map like this picture,
I have an array of depth_map which is 480x640,
How can I find car's distance like above picture from depth map? Is there any formula for that or sample example?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有人在评论中已经说过,您需要两个相机的参数。换句话说,您系统的校准信息:
在那之后,是的,有一个公式。请参阅我的其他答案在这里。
如果您想一个示例从差距映射到3D点,则可以在这里并在代码中遵循跟踪。
How someone has already said in the comments, you need the parameters of both cameras. In other words, the calibration information of your system:
After that, yes, there is a formula. Please refer to my other answer here.
If you want an example to go from disparity map to 3D points, you can go here and follow the trail in the code.