问题描述
是否有任何方法可以使用相应的特征点以两个平面对象之间的已知单位(例如"mm"或"cm")计算平移矢量.如果是,请告诉我该怎么做.
Is there any way to compute translation vector in a known unit like 'mm' or 'cm' between two planar objects using corresponding feature points. If yes, please let me know how can I do that.
到目前为止,我已经尝试过使用Essential Matrix计算(针对非平面对象),并且没有将它们放在已知的单元中.
So far I've tried with Essential Matrix computation (for non planer objects) and didn't get them in a known unit.
先谢谢您!
推荐答案
仅当您知道平面上这些点中的某些点(至少两个)之间的物理距离时,才可以确定比例.否则,你很不走运.
Only if you know the physical distance between some of those points (at least two) on the plane, so to fix the scale. Otherwise you are out of luck.
在没有参考距离的情况下,无法分辨是在看几百码外的两栋建筑物,还是附近的两个火柴盒:这是电影中微型视觉效果的实现方式.
Without a reference distance, there is no way to tell whether you are looking at two buildings hundred of yards away, or two matchboxes nearby: this is how miniature visual effects in movies are done.
这篇关于opencv翻译向量的已知单位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!