# US 2024/0257316 A1 · Apparatus and method of guided neural network model for image processing

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

- Number: US 2024/0257316 A1
- Document ID: US20240257316A1
- Status: Published application
- Kind: A1
- Application number: 18/615,050
- Filed: 2024-03-25
- Published: 2024-08-01
- Earliest claimed: 2020-12-25
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Anbang Yao; Ming Lu; Yikai Wang; Shandong Wang; Yurong Chen; Sungye Kim; Attila Tamas Afra
- Web page: https://patentgrep.com/patent/US20240257316A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06N 3/02: Neural networks
- G06T 7/13: Edge detection
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06V 40/161: {Detection; Localisation; Normalisation}
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30201: Face
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The present disclosure provides an apparatus and method of guided neural network model for image processing. An apparatus may comprise a guidance map generator, a synthesis network and an accelerator. The guidance map generator may receive a first image as a content image and a second image as a style image, and generate a first plurality of guidance maps and a second plurality of guidance maps, respectively from the first image and the second image. The synthesis network may synthesize the first plurality of guidance maps and the second plurality of guidance maps to determine guidance information. The accelerator may generate an output image by applying the style of the second image to the first image based on the guidance information.

## Claims

### Claim 1

An apparatus comprising:
processor circuitry coupled to a memory, the processor circuitry to:
receive a first image as a content image and a second image as a style image;
generate first guidance maps and second guidance maps, respectively, from the first image and the second image;
synthesize first guidance maps and the second guidance maps to determine guidance information; and
generate an output image by applying the style of the second image to the first image based on the guidance information.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the processor circuitry is further to:
generate a first neural guidance map and a second neural guidance map, respectively, from the first image and the second image;
generate a first semantic guidance map and a second semantic guidance map, respectively, from the first image and the second image;
generate a first position guidance map and a second position guidance map, respectively, from the first image and the second image.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the processor circuitry is further to:
generate the first neural guidance map by removing a style from the first image;
generate the second neural guidance map by removing a style from the second image;
determine boundaries of parts of the first image and the second image through semantic parsing;
detect landmarks within the boundaries of the parts that represent facial components;
fit boundary curves of the facial components based on the detected landmarks;
generate component masks based on the fitted boundary curves; and
generate the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundaries of the parts.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the processor circuitry is further to:
fit boundary curves of eyeballs;
generate the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundary curves of eyeballs.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the processor circuitry is further to:
determine boundaries of parts of the first image and the second image through semantic parsing;
determine a score for pixels within a boundary of a part based on a minimal distance of the pixel from the boundary; and
generate the first position guidance map and the second position guidance map based on scores of pixels.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor circuitry is further to synthesize the first and second neural guidance maps, the first and second semantic guidance maps, and the first and second position guidance maps to determine the guidance information.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor circuitry is coupled to a memory, the processor circuitry is comprising graphics processor circuitry is co-located with application processor circuitry on a common semiconductor package.

### Claim 8

A method comprising:
receiving, by a processor of a computing device, a first image as a content image and a second image as a style image;
generating first guidance maps and second guidance maps, respectively, from the first image and the second image;
synthesizing first guidance maps and the second guidance maps to determine guidance information; and
generating an output image by applying the style of the second image to the first image based on the guidance information.

### Claim 9 (depends on 8)

The method of claim 8, wherein generating first guidance maps and the second guidance maps comprising:
generating a first neural guidance map and a second neural guidance map, respectively, from the first image and the second image;
generating a first semantic guidance map and a second semantic guidance map, respectively, from the first image and the second image; and
generating a first position guidance map and a second position guidance map, respectively, from the first image and the second image.

### Claim 10 (depends on 9)

The method of claim 9, wherein generating the first neural guidance map and the second neural guidance map comprises:
generating the first neural guidance map by removing a style from the first image; and
generating the second neural guidance map by removing a style from the second image.

### Claim 11 (depends on 9)

The method of claim 9, wherein generating the first semantic guidance map and the second semantic guidance map comprises:
determining boundaries of parts of the first image and the second image through semantic parsing;
detecting landmarks within the boundaries of the parts that represent facial components;
fitting boundary curves of the facial components based on the detected landmarks;
generating component masks based on the fitted boundary curves;
generating the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundaries of the parts;
fitting boundary curves of eyeballs; and
generating the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundary curves of eyeballs.

### Claim 12 (depends on 9)

The method of claim 9, wherein generating the first position guidance map and the second position guidance map comprises:
determining boundaries of parts of the first image and the second image through semantic parsing;
determining a score for pixels within a boundary of a part based on a minimal distance of the pixel from the boundary; and
generating the first position guidance map and the second position guidance map based on scores of pixels,
wherein synthesizing first guidance maps and the second guidance maps comprises synthesizing the first and second neural guidance maps, the first and second semantic guidance maps, and the first and second position guidance maps to determine the guidance information.

### Claim 13 (depends on 8)

The method of claim 8, wherein one or more of the style of the first image or the style of the second image comprises a portrait style or a lighting style, wherein the parts comprise a face, a body, or hair.

### Claim 14 (depends on 8)

The method of claim 8, wherein the processor is coupled to a memory, the processor comprises one or more of a graphics processor co-located with an application processor on a common semiconductor package.

### Claim 15

At least one computer-readable medium comprising instructions which, when executed, cause a computing device to perform operations comprising:
receiving, by one or more processors, a first image as a content image and a second image as a style image;
generating first guidance maps and second guidance maps, respectively, from the first image and the second image;
synthesizing first guidance maps and the second guidance maps to determine guidance information; and
generating an output image by applying the style of the second image to the first image based on the guidance information.

### Claim 16 (depends on 15)

The computer-readable medium of claim 15, wherein the operations further comprise:
generating a first neural guidance map and a second neural guidance map, respectively, from the first image and the second image;
generating a first semantic guidance map and a second semantic guidance map, respectively, from the first image and the second image; and
generating a first position guidance map and a second position guidance map, respectively, from the first image and the second image.

### Claim 17 (depends on 15)

The computer-readable medium of claim 15, wherein the operations further comprise:
generating the first neural guidance map by removing a style from the first image; and
generating the second neural guidance map by removing a style from the second image.

### Claim 18 (depends on 15)

The computer-readable medium of claim 15, wherein the operations further comprise:
determining boundaries of parts of the first image and the second image through semantic parsing;
detecting landmarks within the boundaries of the parts that represent facial components;
fitting boundary curves of the facial components based on the detected landmarks;
generating component masks based on the fitted boundary curves;
generating the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundaries of the parts;
fitting boundary curves of eyeballs; and
generating the first semantic guidance map and the second semantic guidance map by combining the component masks with the boundary curves of eyeballs.

### Claim 19 (depends on 15)

The computer-readable medium of claim 15, wherein the operations further comprise:
determining boundaries of parts of the first image and the second image through semantic parsing;
determining a score for pixels within a boundary of a part based on a minimal distance of the pixel from the boundary; and
generating the first position guidance map and the second position guidance map based on scores of pixels,
wherein synthesizing first guidance maps and the second guidance maps comprises synthesizing the first and second neural guidance maps, the first and second semantic guidance maps, and the first and second position guidance maps to determine the guidance information.

### Claim 20 (depends on 15)

The computer-readable medium of claim 15, wherein one or more of the style of the first image or the style of the second image comprises a portrait style or a lighting style, wherein the parts comprise a face, a body, or hair.
