Image grid with selectively prominent images
AssigneeGoogle Inc.
InventorsPaul Sowden, Madhur Khandelwal
Life of this patent
Estimating the term…
Abstract
Implementations relate to an image grid with selectively prominent images. In some implementations, a computer-implemented method includes identifying a plurality of images, where each image of the plurality of images has a respective importance score. A subset of the images is selected based at least in part on the respective importance score for each image. The method determines respective one or more cells in a grid for occupation by each of the images, where at least one image of the subset is placed in the grid such that it occupies at least two cells in the grid. The method causes the images to be displayed in a user interface on a display screen based on the grid.
Claims19
A computer-implemented method comprising:
- identifying a plurality of images, wherein each image of the plurality of images has a respective importance score;
- selecting a subset of the plurality of images based at least in part on the respective importance score for each image, wherein the subset includes at least one image of the plurality of images;
- determining that two or more of the plurality of images are linked images;
- determining that the subset of the plurality of images includes a first linked image and excludes a second linked image of the linked images;
- adding the second linked image to the subset in response to determining that the subset includes the first linked image and excludes the second linked image;
- determining a display layout for the plurality of images, wherein the display layout includes a plurality of cells arranged in a grid and wherein the at least one image of the subset of the plurality of images occupies at least two cells in the display layout, wherein determining the display layout comprises inserting the plurality of images in the grid, wherein the inserting comprises:
- selecting a particular image from the plurality of images;
- selecting a particular cell from the plurality of cells in the grid;
- determining whether the particular image is in the subset of the plurality of images;
- in response to determining that the particular image is not in the subset of the plurality of images, placing the particular image in the particular cell as a single-cell image;
- and
- in response to determining that the particular image is in the subset of the plurality of images, placing the particular image as a multiple-cell image, including:
- determining an aspect ratio of the particular image, wherein a first dimension of the particular image is larger than a second dimension of the particular image;
- in response to determining the aspect ratio of the particular image, determining one or more subsequent cells from the plurality of cells in the grid to place the particular image based at least in part on the aspect ratio, wherein the particular cell and the one or more subsequent cells include an amount of cells in a first direction of the grid that corresponds to the first dimension that is greater than an amount of cells in a second direction of the grid that corresponds to the second dimension;
- and
- placing the particular image to occupy the particular cell and the one or more subsequent cells;
- and
- causing the plurality of images to be displayed in a user interface on a display screen based on the grid.
A device comprising:
- a memory with instructions stored thereon;
- and
- at least one processor configured to access the instructions stored in the memory, that when executed by the at least one processor cause the at least one processor to perform operations comprising:
- identifying a plurality of images, wherein each image of the plurality of images has a respective importance score;
- determining that two or more of the plurality of images are linked images;
- selecting a subset of the plurality of images based at least in part on the respective importance score for each image, wherein the subset includes at least one image of the plurality of images;
- after selecting the subset of the plurality of images, determining that the subset includes a first linked image of the linked images and excludes a second linked image of the linked images, and adding the second linked image to the subset;
- determining a display layout for the plurality of images, wherein the display layout includes a plurality of cells arranged in a grid and wherein the at least one image of the subset of the plurality of images occupies at least two cells in the display layout, wherein determining the display layout comprises inserting the plurality of images in the grid, wherein the inserting comprises:
- selecting a particular image from the plurality of images;
- selecting a particular cell from the plurality of cells in the grid;
- determining whether the particular image is in the subset of the plurality of images;
- in response to determining that the particular image is not in the subset of the plurality of images, placing the particular image in the particular cell as a single-cell image in the grid;
- and
- in response to determining that the particular image is in the subset of the plurality of images, placing the particular image as a multiple-cell image in the grid, including:
- determining an aspect ratio of the particular image, wherein a first dimension of the particular image is larger than a second dimension of the particular image;
- in response to determining the aspect ratio of the particular image, determining one or more subsequent cells from the plurality of cells in the grid to place the particular image based at least in part on the aspect ratio, wherein the particular cell and the one or more subsequent cells include an amount of cells in a first direction of the grid that corresponds to the first dimension that is greater than an amount of cells in a second direction of the grid that corresponds to the second dimension;
- and
- placing the particular image to occupy the particular cell and the one or more subsequent cells;
- and
- causing the plurality of images to be displayed in a user interface on a display device based on the display layout.
A non-transitory computer readable medium having stored thereon software instructions that, when executed by a processor, cause the processor to perform operations including:
- identifying a plurality of images, wherein each image of the plurality of images has a respective importance score;
- selecting a subset of the plurality of images based at least in part on the respective importance score for each image, wherein the subset includes at least one image of the plurality of images;
- determining a display layout for the plurality of images, wherein the display layout includes a plurality of cells arranged in a grid and wherein the at least one image of the subset of the plurality of images occupies at least two cells in the display layout, wherein determining the display layout comprises inserting the plurality of images in the grid, wherein the inserting comprises:
- selecting a particular image from the plurality of images;
- selecting a particular cell from the plurality of cells in the grid;
- determining whether the particular image is in the subset of the plurality of images;
- in response to determining that the particular image is not in the subset of the plurality of images, placing the particular image in the particular cell as a single-cell image;
- and
- in response to determining that the particular image is in the subset of the plurality of images, placing the particular image as a multiple-cell image, including:
- determining an aspect ratio of the particular image, wherein a first dimension of the particular image is larger than a second dimension of the particular image;
- in response to determining the aspect ratio of the particular image, determining one or more subsequent cells from the plurality of cells in the grid to place the particular image based at least in part on the aspect ratio, wherein the particular cell and the one or more subsequent cells include an amount of cells in a first direction of the grid that corresponds to the first dimension that is greater than an amount of cells in a second direction of the grid that corresponds to the second dimension;
- and
- placing the particular image to occupy the particular cell and the one or more subsequent cells;
- rearranging, without user input, one or more previously-placed images in the grid after placement of the particular image, wherein the rearranging includes placing the one or more previously-placed images in a grid direction and in a sort order in cells of the grid available after the placement of the particular image;
- determining whether the placing of the one or more previously-placed images in the grid direction and in the sort order in cells of the grid exceeds an out-of-order limit, wherein the out-of-order limit indicates a maximum number of cell positions that each of the one or more previously-placed images are to be moved for the rearranging with respect to a previous position in the sort order;
- and
- in response to determining that placing of at least one previously-placed image of the one or more previously-placed images exceeds the out-of-order limit, excluding the placing of the at least one previously-placed image in the grid direction and in the sort order;
- and
- causing the plurality of images to be displayed in a user interface on a display screen based on the grid.
Dependencies are inferred from the claim text.