In urgent need of Spherical Warping literature of Image Stitching pipeline

Please can someone help me find equations/theory needed for understanding warping in image stitching. Since there is no proper documentation explaining why certain functions are way they are. Any help would be appreciated.