나는 주 포인트 C = (x_0, y_0)와 r (왜곡 된 반지름 거리)과 Theta (광선과 입사 광선 사이의 각도) 사이의 관계를 알고있는 어안 렌즈를 가지고 있습니다. 이는 등거리 모델을 다음과 r(Theta)= f*Theta
정면 어안 렌즈를 평면에 붙임
:
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)]
[이 페이지] (https://mathematica.stackexchange.com/questions/34264/how-to-remap-a-fisheye-image)의 최상위 응답에서 원하는 것을 얻을 수 있습니다. – meowgoesthedog