Spherical warping
Given focal length
f
and
image center (
x
c
,
y
c
)
φ
cos
φ
sin
φ
cos
θ
cos
φ