1. A method comprising: calculating a spatially variable mapping, from a source wide-angle image to a two-dimensional mapped wide-angle image, using an identified one or more locally salient features to be rendered undistorted in the two-dimensional mapped wide-angle image, the calculating comprising: determining one or more weighted constraints, the weighted constraints based on the identified one or more locally salient features; defining a linear system of descretized constraint equations as a function of local salience of the one or more locally salient features; and variably modifying the weighted constraints to solve the descretized constraint equations.