# US 2023/0410267 A1 · Agilegan-based stylization method to enlarge a style region

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

- Number: US 2023/0410267 A1
- Document ID: US20230410267A1
- Status: Published application
- Kind: A1
- Application number: 17/807,527
- Filed: 2022-06-17
- Published: 2023-12-21
- Earliest claimed: 2022-06-17
- Assignees: Lemon Inc.; Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Lemon Inc.; Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Guoxian Song; Jing Liu; Weihong Zeng; Jingna Sun; Xu Wang; Linjie Luo
- Web page: https://patentgrep.com/patent/US20230410267A1

## CPC

- G06V 10/82: using neural networks
- G06T 3/00: Geometric image transformations in the plane of the image
- G06T 3/4046: using neural networks
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/32: Normalisation of the pattern dimensions
- G06V 40/161: {Detection; Localisation; Normalisation}
- G06V 40/168: {Feature extraction; Face representation}
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20132: Image cropping
- G06T 2207/20221: Image fusion; Image merging
- G06T 2207/30201: Face
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Methods and systems for enlarging a stylized region of an image are disclosed that include receiving an input image, generating, using a first generative adversarial network (GAN) generator, a first stylized image, based on the input image, normalizing the input image, generating, using a second generative adversarial network (GAN) generator, a second stylized image, based on the normalized input image, blending the first stylized image and the second stylized image to obtain a third stylized image, and providing the third stylized image as an output.

## Claims

### Claim 1

A method for enlarging a style region of an image, the method comprising:
receiving an input image;
generating, using a first generative adversarial network (GAN) generator, a first stylized image, based on the input image;
normalizing the input image;
generating, using a second generative adversarial network (GAN) generator, a second stylized image, based on the normalized input image;
blending the first stylized image and the second stylized image to obtain a third stylized image; and
providing the third stylized image as an output.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
extracting a first face parse mask from the first stylized image; and
extracting a second face parse mask from the second stylized image,
wherein the blending of the first stylized image and the second stylized image is based on the first and second face parse masks.

### Claim 3 (depends on 1)

The method of claim 1, wherein the blending of the first stylized image and the second stylized image comprises gaussian blending.

### Claim 4 (depends on 3)

The method of claim 3, wherein the third stylized image comprises a first set of pixels corresponding to hair and necks regions of the first stylized image, and a second set of pixels corresponding to the face region of the second stylized image.

### Claim 5 (depends on 1)

The method of claim 1, wherein the normalizing comprises one or more of cropping or scaling the input image.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first GAN generator is different than the second GAN generator.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first GAN generator and the second GAN generator are AgileGAN generators.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a plurality of exemplar stylistic images; and
training the first and second GAN generators using transfer learning based on the received plurality of exemplar stylistic images.

### Claim 9

A system, comprising:
at least one processor;
memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations, the set of operations including:
receiving an input image;
generating, using a first generative adversarial network (GAN) generator, a first stylized image, based on the input image;
normalizing the input image;
generating, using a second generative adversarial network (GAN) generator, a second stylized image, based on the normalized input image;
blending the first stylized image and the second stylized image to obtain a third stylized image; and
providing the third stylized image as an output.

### Claim 10 (depends on 9)

The system of claim 9, wherein the set of operations further include:
extracting a first face parse mask from the first stylized image; and
extracting a second face parse mask from the second stylized image,
wherein the blending of the first stylized image and the second stylized image is based on the first and second face parse masks.

### Claim 11 (depends on 9)

The system of claim 9, wherein the blending of the first stylized image and the second stylized image comprises gaussian blending.

### Claim 12 (depends on 9)

The system of claim 9, wherein the third stylized image comprises a first set of pixels corresponding to hair and necks regions of the first stylized image, and a second set of pixels corresponding to the face region of the second stylized image.

### Claim 13 (depends on 9)

The system of claim 9, wherein the normalizing comprises one or more of cropping or scaling the input image.

### Claim 14 (depends on 9)

The system of claim 9, wherein the first GAN generator is different than the second GAN generator.

### Claim 15 (depends on 9)

The system of claim 9, wherein the first GAN generator and the second GAN generator are AgileGAN generators.

### Claim 16 (depends on 9)

The system of claim 9, wherein the set of operations further include:
receiving a plurality of exemplar stylistic images; and
training the first and second GAN generators using transfer learning based on the received plurality of exemplar stylistic images.

### Claim 17

A non-transient computer-readable storage medium comprising instructions being executable by one or more processors to cause the one or more processors to:
receive an input image;
generate, using a first generative adversarial network (GAN) generator, a first stylized image, based on the input image;
normalize the input image;
generate, using a second generative adversarial network (GAN) generator, a second stylized image, based on the normalized input image;
blend the first stylized image and the second stylized image to obtain a third stylized image; and
provide the third stylized image as an output.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein the instructions further cause the one or more processors to:
extract a first face parse mask from the first stylized image; and
extract a second face parse mask from the second stylized image,
wherein the blending of the first stylized image and the second stylized image is based on the first and second face parse masks.

### Claim 19 (depends on 17)

The computer-readable storage medium of claim 17, wherein the instructions further cause the one or more processors to:
receive a plurality of exemplar stylistic images; and
train the first and second GAN generators using transfer learning based on the received plurality of exemplar stylistic images.

### Claim 20 (depends on 17)

The computer-readable storage medium of claim 17, wherein the third stylized image comprises a first set of pixels corresponding to hair and necks regions of the first stylized image, and a second set of pixels corresponding to the face region of the second stylized image.
