Patent ID: 8917329

Claim:
A method for converting between aspect ratios in a camera system comprising: capturing, by an image sensor of a camera, an input image having a source aspect ratio; applying, by a processing device of the camera, a transformation to the input image to scale and warp the image to generate an output image having a target aspect ratio, the target aspect ratio different than the source aspect ratio, the output image having a same field of view as the input image, and the output image non-linearly warped relative to the input image such that a distortion in the output image relative to the input image is greater in a corner region of the output image than a center region of the output image, wherein applying the transformation comprises: shifting a pixel of the input image along a first axis as a non-linear function of an original pixel position of the pixel along the first axis, independently of an original pixel position of the pixel along a second axis perpendicular to the first axis; and shifting the pixel of the input image along the second axis as a non-linear function of the original pixel position of the pixel along the first and second axes; and outputting by the camera, the output image having the target aspect ratio.