Example of Distortion Cancellation and Spherical/Cylindrical Panorama

 

Original JPG image out of camera:

 

Rectilinear image with 90x90 angle of view:

 

Spherical panorama (180x180) for stitching:

 

Cylindrical panorama (180x180) for stitching: