【问题标题】:Rectification fisheye lens onto a plane将鱼眼镜头校正到飞机上
【发布时间】: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


【解决方案1】:

你不能在不知道关系的情况下盲目地纠正这种扭曲。您需要校准。

为棋盘或尺子拍照,并绘制图像与现实世界中到中心的距离之间的关系。

低次多项式拟合可能会。切向畸变应该不会太大。

【讨论】:

  • 其实我已经校准了相机,因为我有 r 和 Theta 之间的关系,我想用这个关系在平面上投影
  • 我只是告诉你,rho 和 theta 之间没有关系,因为没有切向失真。
  • 对不起,我没看懂,r(Theta)对应于图像平面中主点与投影点之间的距离与形成3D点的角度Theta之间存在的关系在有光轴的世界里
  • @Lolette:你的模型 r(Theta)= f*Theta 是完全不可能的。这描述了阿基米德螺旋。
  • 等距模型是 r = fTheta,我的多项式函数适合这个模型,所以我的相机或多或少是等距的,但我不使用 r=fTheta ,我用五次多项式函数
猜你喜欢
  • 1970-01-01
  • 2012-10-12
  • 2023-03-15
  • 1970-01-01
  • 2017-04-27
  • 1970-01-01
  • 2019-01-30
  • 2018-04-15
  • 1970-01-01
相关资源
最近更新 更多