本文介绍了如何计算成功图像的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我在一个位置拍摄图像并在将相机移动一段固定距离后拍摄另一张照片。有没有办法确定使用这两张图像移动的距离。?

Suppose I take an image at one location and after shifting the camera by a fixed distance I take another picture.Is there any way to determine the distance shifted using these two images.?

推荐答案

不知道你正在看的场景。想象一些对象。现在将对象移动两次远离您并将其大小加倍。它看起来和你一模一样。如果您现在向左移动,对象将向右移动,但移动的距离取决于您将其移离您的距离。此效果称为视差,如果您确切知道移动的距离,则可以确定对象的相对深度。不幸的是,这也意味着在不知道你所看到的深度的情况下,你无法知道你移动了多远。

Not without knowing something about the scene you are looking at. Picture some object. Now move the object twice as far away from you and double its size. It will look identical to you. If you now move to the left the object will move to the right but how far it appears to move will depend on how far you moved it away from you. This effect is called parallax and is what lets you determine the relative depth of objects if you know exactly how far you moved. Unfortunately it also means that without knowing the depth of what you are looking at you can't know how far you moved.

如果你能定义一些点的位置世界空间然后它变得可能。

If you can define the location of some points in world space then it becomes possible.

这篇关于如何计算成功图像的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 05:49