1. A method of encoding an input image captured using a wide-angle lens, the method comprising: for at least some of a set of image regions, increasing or decreasing by one or more processors a size of the at least some of the set of image regions relative to other ones of the set of image regions according to an encoder mapping between image region size in the input image and image region size in an encoded image.