A Warping Framework For Wide-Angle Imaging And Perspective Manipulation