A computer-implemented method for performing real-time correction of a wide-angle image, comprising: obtaining (400, 500) pixel coordinates from the wide-angle image, hereinafter called wide-angle image pixel coordinates; generating (410, 850) a warp table by applying a parametric image warping function to the pixel coordinates, wherein the parametric image warping function is a Spatially Varying Uniform, SVU, scaling function locally resembling a uniform scaling function and having a scaling factor varying over the wide-angle image; and warping the wide-angle image in real time using the warp table to create a corrected wide-angle image, wherein generating a warp table comprises: processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline are applied a scaling factor ( r ( x)) in vertical direction, wherein the scaling factor varies over the wide-angle image; processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline that were applied a scaling factor in vertical direction, are applied the scaling factor ( r ( x)) in horizontal direction; creating a preliminary warp table containing preliminary pixel coordinates; and performing (800 - 840) horizontal distortion correction on the preliminary warp table using the parametric image warping function to create the warp table. obtaining (400, 500) pixel coordinates from the wide-angle image, hereinafter called wide-angle image pixel coordinates; generating (410, 850) a warp table by applying a parametric image warping function to the pixel coordinates, wherein the parametric image warping function is a Spatially Varying Uniform, SVU, scaling function locally resembling a uniform scaling function and having a scaling factor varying over the wide-angle image; and warping the wide-angle image in real time using the warp table to create a corrected wide-angle image, wherein generating a warp table comprises: processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline are applied a scaling factor ( r ( x)) in vertical direction, wherein the scaling factor varies over the wide-angle image; processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline that were applied a scaling factor in vertical direction, are applied the scaling factor ( r ( x)) in horizontal direction; creating a preliminary warp table containing preliminary pixel coordinates; and performing (800 - 840) horizontal distortion correction on the preliminary warp table using the parametric image warping function to create the warp table. processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline are applied a scaling factor ( r ( x)) in vertical direction, wherein the scaling factor varies over the wide-angle image; processing each vertical scanline of the wide-angle image such that the wide-angle image pixel coordinates of a vertical scanline that were applied a scaling factor in vertical direction, are applied the scaling factor ( r ( x)) in horizontal direction; creating a preliminary warp table containing preliminary pixel coordinates; and performing (800 - 840) horizontal distortion correction on the preliminary warp table using the parametric image warping function to create the warp table.