Spherical warping
Given focal length f and
image center (xc,yc)
φ
cos φ
sin φ
cos θ cos φ