# US 2024/0202876 A1 · Object Insertion via Scene Graph

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

- Number: US 2024/0202876 A1
- Document ID: US20240202876A1
- Status: Published application
- Kind: A1
- Application number: 18/067,989
- Filed: 2022-12-19
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Tripti Shukla; Kuldeep Kulkarni; Paridhi Maheshwari
- Web page: https://patentgrep.com/patent/US20240202876A1

## CPC

- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06V 10/82: using neural networks
- G06V 20/70: Labelling scene content, e.g. deriving syntactic or semantic representations
- G06T 2207/20221: Image fusion; Image merging
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Techniques are described for object insertion via scene graph. In implementations, given an input image and a region of the image where a new object is to be inserted, the input image is converted to an intermediate scene graph space. In the intermediate scene graph space, graph convolutional networks are leveraged to expand the scene graph by predicting the identity and relationships of a new object to be inserted, taking into account existing objects in the input image. The expanded scene graph and the input image are then processed by an image generator to insert a predicted visual object into the input image to produce an output image.

## Claims

### Claim 1

A system comprising:
a memory component storing computer-executable instructions; and
a processing device coupled to the memory component and operable to execute the computer-executable instructions to:
receive an input image including existing visual objects and an image region into which a candidate visual object is to be inserted;
generate a scene graph of the input image including to generate object nodes for the existing visual objects and the candidate visual object, and edges between the object nodes that define relationships between the existing visual objects and the candidate visual object;
generate, based on the scene graph, an identifier for the candidate visual object; and
generate an output image including to generate, based on the identifier for the candidate visual object, an instance of the candidate visual object, and insert the instance of the candidate visual object into the image region of the input image.

### Claim 2 (depends on 1)

The system of claim 1, wherein to generate the object nodes for the existing visual objects, the processing device is operable to execute the computer-executable instructions to generate labels identifying the existing visual objects.

### Claim 3 (depends on 1)

The system of claim 1, wherein the relationships between the existing visual objects and the candidate visual object comprise one or more of semantic relationships or positional relationships of the existing visual objects within the input image.

### Claim 4 (depends on 1)

The system of claim 1, wherein the processing device is operable to execute the computer-executable instructions to:
generate the scene graph to include a global feature node for the input image; and
generate the identifier for the candidate visual object based on the scene graph including the global feature node.

### Claim 5 (depends on 1)

The system of claim 1, wherein the processing device is operable to execute the computer-executable instructions to generate, based on the scene graph, predicted visual features of the candidate visual object, and to generate the identifier for the candidate visual object based at least in part on the predicted visual features.

### Claim 6 (depends on 1)

The system of claim 1, wherein to insert the instance of the candidate visual object into the image region, the processing device is operable to execute the computer-executable instructions to position the instance of the candidate visual object within the image region based on one or more positional relationships specified by one or more edges connected to an object node of the candidate visual object.

### Claim 7 (depends on 1)

The system of claim 1, wherein the processing device is operable to execute the computer-executable instructions to implement a graph convolutional network to:
process the object nodes and the edges to identify features of the object nodes and edges and generate the identifier for the candidate visual object; and
process outgoing edges from an object node of the candidate visual object to determine one or more relationships between object nodes for the existing visual objects and the object node of the candidate visual object.

### Claim 8 (depends on 7)

The system of claim 7, wherein the processing device is operable to execute the computer-executable instructions to implement:
an object generator module to take output from the graph convolutional network to generate the instance of the candidate visual object; and
a refinement network to perform image enhancement on the instance of the candidate visual object and the input image to generate the output image.

### Claim 9

A method comprising:
receiving an input image in a pixel space, the input image including existing visual objects and an image region into which a candidate visual object is to be inserted;
generating a scene graph of the input image in a graph space, the scene graph including object nodes for the existing visual objects and the candidate visual object, and edges between the object nodes that define relationships between the existing visual objects and the candidate visual object;
generating, based on the scene graph, an identifier for the candidate visual object; and
generating an output image in a pixel space including generating, based on the identifier for the candidate visual object, an instance of the candidate visual object, and inserting the instance of the candidate visual object into the image region of the input image.

### Claim 10 (depends on 9)

The method of claim 9, wherein generating the object nodes for the existing visual objects comprises generating labels identifying the existing visual objects.

### Claim 11 (depends on 9)

The method of claim 9, wherein the relationships between the existing visual objects and the candidate visual object comprise one or more of semantic relationships or positional relationships of the existing visual objects within the input image.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
generating the scene graph to include a global feature node for the input image; and
generating the identifier for the candidate visual object based on the scene graph including the global feature node.

### Claim 13 (depends on 9)

The method of claim 9, further comprising generating, based on the scene graph, predicted visual features of the candidate visual object, and wherein generating the identifier for the candidate visual object is based at least in part on the predicted visual features.

### Claim 14 (depends on 9)

The method of claim 9, wherein inserting the instance of the candidate visual object into the image region comprises positioning the instance of the candidate visual object within the image region based on one or more positional relationships specified by one or more edges connected to an object node of the candidate visual object.

### Claim 15 (depends on 9)

The method of claim 9, further comprising implementing a graph convolutional network to perform operations including:
processing the object nodes and the edges to identify features of the object nodes and edges and generate the identifier for the candidate visual object; and
processing outgoing edges from an object node of the candidate visual object to determine one or more relationships between object nodes for the existing visual objects and the object node of the candidate visual object.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
implementing an object generator module to take output from the graph convolutional network to generate the instance of the candidate visual object; and
implementing a refinement network to perform image enhancement on the instance of the candidate visual object and the input image to generate the output image.

### Claim 17

A non-transitory computer-readable medium storing executable instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
generating a scene graph of an input image including generating object nodes for existing visual objects of the input image, an object node for a candidate visual object to be inserted into the input image, and edges between the object nodes that define relationships between the existing visual objects and the candidate visual object; and
generating an output image by generating, based on the scene graph, an instance of the candidate visual object and inserting instance of the candidate visual object into the input image.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise:
receiving the input image in a pixel space, and converting the input image from the pixel space to a graph space to generate the scene graph with the object nodes for the existing visual objects and the candidate visual object, and the edges between the object nodes that define relationships between the existing visual objects and the candidate visual object.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the relationships between the existing visual objects and the candidate visual object comprise one or more of semantic relationships or positional relationships of the existing visual objects within the input image.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise:
generating, based on the scene graph, an identifier for the candidate visual object; and
generating the instance of the candidate visual object based at least in part on the identifier for the candidate visual object.
