Patent Document ID: 9443306
Application ID: 14693547
Patent Status: 1

Claim One:
1. A computer-implemented method comprising: identifying an all-subjects portion of an image that includes subjects identified in the image; identifying an attention portion of the image that includes an area identified as an intended focus of the image; dividing a width of the image by a height of the image to determine an image aspect ratio; dividing a width of a frame by a height of the frame to determine a frame aspect ratio; determining the width of the image to be a long dimension and the height of the image to be a short dimension if the image aspect ratio is larger than the frame aspect ratio, or determining the height of the image to be the long dimension and the width of the image to be the short dimension if the image aspect ratio is smaller than the frame aspect ratio; scaling the image to fit the short dimension of the image within a first corresponding dimension of the frame while maintaining the image aspect ratio; determining whether the scaled image can be cropped along the long dimension to fit in a second corresponding dimension of the frame while including both the all-subjects portion and the attention portion; and cropping the scaled image along the long dimension to include both the all-subjects portion and the attention portion if it is determined that the scaled image can be cropped along the long dimension to fit in the second corresponding dimension of the frame while including both the all-subjects portion and the attention portion, otherwise cropping the scaled image along the long dimension to include one or more of the subjects in the all-subjects portion.