# US 2021/0287425 A1 · Visually augmenting images of three-dimensional containers with virtual elements

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287425 A1
- Document ID: US20210287425A1
- Status: Published application
- Kind: A1
- Application number: 17/336,109
- Filed: 2021-06-01
- Published: 2021-09-16
- Earliest claimed: 2019-08-08
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Sanjeev Tagra; Sachin Soni; Ajay Jain; Ryan Rozich; Jonathan Roeder; Prasenjit Mondal
- Web page: https://patentgrep.com/patent/US20210287425A1

## CPC

- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06T 7/40: Analysis of texture (depth or shape recovery from texture G06T7/529)
- G06T 7/50: Depth or shape recovery
- G06T 11/60: Creating or editing images; Combining images with text
- G06T 15/50: Lighting effects
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Certain embodiments involve visually augmenting images of three-dimensional containers with virtual elements that fill one or more empty regions of the three-dimensional containers. For instance, a computing system receives a first image that depicts a storage container and identify sub-containers within the storage container. The computing system selects, from a virtual object library, a plurality of virtual objects that are semantically related to the sub-container. The computing system determines an arrangement of the virtual objects within the sub-container based on semantics associated with the sub-container and the plurality of virtual objects. The computing system generates a second image that depicts the arrangement of the plurality of virtual objects within the storage container and sub-containers. The computing system generates, for display, the second image depicting the storage container and the arrangement of the virtual objects.

## Claims

### Claim 1

A method in which one or more processing devices performs operations comprising:
receiving a first image that depicts a storage container;
identifying a sub-container within the storage container;
performing a semantics pairing process to:
select, from a virtual object library, a plurality of virtual objects that are semantically related to the sub-container;
determine an arrangement of the plurality of virtual objects within the sub-container;
generating a second image that depicts the arrangement of the plurality of virtual objects within the sub-container; and
generating, for display, the second image depicting the storage container and the arrangement of the plurality of virtual objects within the sub-container.

### Claim 2 (depends on 1)

The method of claim 1, wherein candidate virtual objects within the virtual object library are three-dimensional and are grouped according to semantic categories, and wherein determining the arrangement of the plurality of virtual objects within the sub-container based on the semantics comprises:
computing a three-dimensional box corresponding to the sub-container; and
determining an arrangement of the plurality of virtual objects based in part on a semantic category associated with each of the plurality of virtual objects.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the arrangement of the plurality of virtual objects within the sub-container based on the semantics comprises:
determining a texture associated with each object of the plurality of virtual objects; and
determining the arrangement of the plurality of virtual objects within the sub-container based in part on groups of virtual objects having similar textures.

### Claim 4 (depends on 1)

The method of claim 1, the operations further comprising:
generating virtual lighting based on the arrangement of the plurality of virtual objects; and
modifying the second image to include the generated virtual lighting, wherein the second image includes the generated virtual lighting.

### Claim 5 (depends on 4)

The method of claim 4, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual diffuse lighting based on a location of the source of light relative to a surface of each virtual object from the plurality of virtual objects;
generating the virtual lighting based at least in part on the calculated virtual diffuse lighting.

### Claim 6 (depends on 4)

The method of claim 4, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
determining virtual ambient lighting associated with each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the determined virtual ambient lighting.

### Claim 7 (depends on 4)

The method of claim 4, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual specular lighting based on a mirrored location of the source of light relative to the surface of each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the calculated virtual specular lighting.

### Claim 8 (depends on 4)

The method of claim 4, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
for each of the plurality of virtual objects:
determining surface information for the virtual object comprising at least one of a texture, a reflectivity, a color, a shape, a relative position, a relative elevation, a flatness, a proximity to other objects of the plurality of objects, or a contrast;
determining an amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object;
in response to the determining that the determined amount is less than a threshold amount, increasing the amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object so that it equals the threshold amount.

### Claim 9

A system, comprising:
one or more processing devices; and
a non-transitory computer-readable medium communicatively coupled to the one or more processing devices and storing instructions,
wherein the one or more processing devices are configured to execute the instructions and thereby perform operations comprising:
receiving a first image that depicts a storage container;
identifying a sub-container within the storage container;
performing a semantics pairing process to:
select, from a virtual object library, a plurality of virtual objects that are semantically related to the sub-container; and
determine an arrangement of the plurality of virtual objects within the sub-container;
generating a second image that depicts the arrangement of the plurality of virtual objects within the sub-container; and
generating, for display, the second image depicting the storage container and the arrangement of the plurality of virtual objects within the sub-container.

### Claim 10 (depends on 9)

The system of claim 9, wherein the one or more processing devices are further configured to execute the instructions and thereby perform operations comprising:
generating virtual lighting based on the arrangement of the plurality of virtual objects; and
modifying the second image to include the generated virtual lighting, wherein the second image includes the generated virtual lighting.

### Claim 11 (depends on 10)

The system of claim 10, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual diffuse lighting based on a location of the source of light relative to a surface of each virtual object from the plurality of virtual objects;
generating the virtual lighting based at least in part on the calculated virtual diffuse lighting.

### Claim 12 (depends on 10)

The system of claim 10, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
determining virtual ambient lighting associated with each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the determined virtual ambient lighting.

### Claim 13 (depends on 10)

The system of claim 10, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual specular lighting based on a mirrored location of the source of light relative to the surface of each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the calculated virtual specular lighting.

### Claim 14 (depends on 10)

The system of claim 10, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
for each of the plurality of virtual objects:
determining surface information for the virtual object comprising at least one of a texture, a reflectivity, a color, a shape, a relative position, a relative elevation, a flatness, a proximity to other objects of the plurality of objects, or a contrast;
determining an amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object;
in response to the determining that the determined amount is less than a threshold amount, increasing the amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object so that it equals the threshold amount.

### Claim 15

A non-transitory computer-readable medium storing instructions executable by one or more processing devices, wherein the instructions, when executed by the one or more processing devices, cause the one or more processing devices to perform operations comprising:
receiving a first image that depicts a storage container;
identifying a sub-container within the storage container;
performing a semantics pairing process to:
select, from a virtual object library, a plurality of virtual objects that are semantically related to the sub-container;
determine an arrangement of the plurality of virtual objects within the sub-container;
generating a second image that depicts the arrangement of the plurality of virtual objects within the sub-container; and
generating, for display, the second image depicting the storage container and the arrangement of the plurality of virtual objects within the sub-container.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the instructions, when executed by the one or more processing devices, cause the one or more processing devices to further perform operations comprising:
generating virtual lighting based on the arrangement of the plurality of virtual objects; and
modifying the second image to include the generated virtual lighting, wherein the second image includes the generated virtual lighting.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual diffuse lighting based on a location of the source of light relative to a surface of each virtual object from the plurality of virtual objects;
generating the virtual lighting based at least in part on the calculated virtual diffuse lighting.

### Claim 18 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
determining virtual ambient lighting associated with each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the determined virtual ambient lighting.

### Claim 19 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
identifying a source of light associated with the first image;
calculating a virtual specular lighting based on a mirrored location of the source of light relative to the surface of each virtual object from the plurality of virtual objects; and
generating the virtual lighting based at least in part on the calculated virtual specular lighting.

### Claim 20 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the virtual lighting based on the arrangement of the plurality of virtual objects comprises:
for each of the plurality of virtual objects:
determining surface information for the virtual object comprising at least one of a texture, a reflectivity, a color, a shape, a relative position, a relative elevation, a flatness, a proximity to other objects of the plurality of objects, or a contrast;
determining an amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object;
in response to the determining that the determined amount is less than a threshold amount, increasing the amount of ambient lighting, diffuse lighting, or specular lighting for the virtual object so that it equals the threshold amount.
