this implements a very simple distortion correction following The Double Sphere Camera Model Vladyslav Usenko, Nikolaus Demmel and Daniel Cremers.
center
move the center of the projectionscale
scale the image larger or smallersquish0
the radius of one of the spheressquish1
the other radius used for the mappingca
some fake chromatic aberration correction, just scales differently for the rgb channels