Patent ID: 8836725

Claim:
A method of providing an image for display, the method comprising: (a) determining a target image size in terms of first and second dimensions; (b) processing, using a computer processor, an input image to detect a region of interest therein, the region having first and second dimensions, wherein the processing comprises processing an input image to detect a region of interest which includes a face, the first and second dimensions corresponding substantially to facial width and height, respectively; (c) determining a ratio of the aspect ratio of the region of interest to the aspect ratio of the target image size; and (d) determining a line of symmetry within the region of interest and selecting and applying one or more provided image processing rules in accordance with the ratio so determined in (c) thereby to map the region of interest onto the target image size, wherein said provided rule includes providing the image without image data from one side of the line of symmetry, and wherein each of the provided rules includes scaling the region of interest.