【发布时间】:2018-06-05 08:12:05
【问题描述】:
我有一个鱼眼镜头,我知道它的主点 C= (x_0,y_0) 以及 r(扭曲的径向距离)和 Theta(光轴与入射光线之间的角度)之间的关系,它遵循等距模型@ 987654323@
我想使用这些参数来纠正这个图像Image to rectify,因为我遵循这些步骤,但我不确定我的方法是否正确,因为最后我留下了负值:
1- shift the origin to the principal point
2- append to each point in the image plane 1 for the z coordinate
(which corresponds to a focal length equal to 1): {x,y} ==> {x,y,1}
3- calculate the angle Thea between {x, y, 1} and the point {0,0,1}
4- calculate the angle Beta in the image plane Beta = ArcTan(y/x)
5- calculate the image rectified coordinates:
x_rec = x_0 +[ Cos(Beta) * r(Theta)]
y_rec = y_0 +[ Sin(Beta) * r(Theta)]
【问题讨论】:
-
this page 上的最佳答案可能有你想要的。
标签: computer-vision geometry projection camera-calibration fisheye