Patent ID: 7528846

Claim:
A computer-implemented method comprising: determining, by a processor in a computing device, that a source image has a first aspect ratio that is different than a second aspect ratio of a target display; and responsive to the determining: automatically detecting primary visual content of the source image, wherein the detecting primary visual content includes determining attention areas of the source image, wherein the attention areas are one or more portions of the source image with high attention value; determining an attended area of the source, wherein the attended area is a rectangular region configured to contain the attention areas; automatically identifying dimension and position of a crop of the source image that preserves at least a subset of the primary visual content, the crop having a same aspect ratio as the second aspect ratio, wherein the crop is concentric with the center of the attended area; calculating an attention index, wherein the attention index is a ratio of the area of the crop to the attended area; automatically cropping the source image based on the primary visual content of the source image and the attention index being greater than a pre-defined attention index threshold; and responsive to a user dragging a crop boundary, adjusting dimensions and position of an aspect ratio adjusted image and maintaining the aspect ratio equal to the second aspect ratio.