# US 2025/0209701 A1 · Multi-style transformation apparatus and method

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

- Number: US 2025/0209701 A1
- Document ID: US20250209701A1
- Status: Published application
- Kind: A1
- Application number: 18/981,829
- Filed: 2024-12-16
- Published: 2025-06-26
- Earliest claimed: 2023-12-22
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Bon-Woo HWANG; Ki-Nam KIM; Tae-Joon KIM; Seung-Uk YOON; Seung-Wook LEE; Seong-Jae LIM
- Web page: https://patentgrep.com/patent/US20250209701A1

## CPC

- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 7/12: Edge-based segmentation
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20132: Image cropping
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed herein are a multi-style transformation apparatus and method. The multi-style transformation apparatus may include a region segmentation unit configured to segment a region, a style of which is to be transformed, in a content image, a style transformation mask generation unit configured to generate a multi-channel mask for style application to each segmentation region, and a multi-style transformation model implemented as a pre-trained deep neural network in order to receive the content image and the multi-channel mask and output a multi-style transformed image.

## Claims

### Claim 1

A multi-style transformation apparatus, comprising:
a region segmentation unit configured to segment a region, a style of which is to be transformed, in a content image;
a style transformation mask generation unit configured to generate a multi-channel mask for style application to each segmentation region; and
a multi-style transformation model implemented as a deep neural network and pre-trained to receive the content image and the multi-channel mask and output a multi-style transformed image.

### Claim 2 (depends on 1)

The multi-style transformation apparatus of claim 1, further comprising:
an image data conversion unit configured to convert a data format of the content image by converting a size of the content image through an interpolation and sampling technique, converting integer-type data into real number-type data, and normalizing a data range to a value falling within a certain range using average and variance, and thereafter input a data format-converted content image to the multi-style transformation model and the region segmentation unit.

### Claim 3 (depends on 1)

The multi-style transformation apparatus of claim 1, wherein the region segmentation unit is configured to:
output segmentation region information in a form of at least one of multiple masks, a multi-channel mask, or an RGBA color image, or a combination thereof, and
set styles for respective segmentation regions according to a user's intention.

### Claim 4 (depends on 1)

The multi-style transformation apparatus of claim 1, further comprising:
a style intensity adjustment unit configured to set style application intensities for respective segmentation regions,
wherein the style transformation mask generation unit is configured to generate the multi-channel mask based on the segmentation regions and style application intensities for respective segmentation regions.

### Claim 5 (depends on 1)

The multi-style transformation apparatus of claim 1, wherein the style transformation mask generation unit is configured to:
generate a multi-channel mask which has a size identical to a size of the content image and in which a value of a channel corresponding to an index of a style set to be applied to each segmentation region is set to ‘1’ and values of remaining channels are set to ‘0’, and
set all channels of segmentation regions that are set for non-transformation to ‘0’.

### Claim 6 (depends on 1)

The multi-style transformation apparatus of claim 1, wherein the multi-style transformation model comprises:
an image encoding unit configured to receive the content image and the mask, concatenate the content image and the mask along a channel axis, and then generate a latent image based on a pre-trained deep neural network; and
an image decoding unit configured to receive the latent image and generate a style-transformed image based on the pre-trained deep neural network.

### Claim 7

A multi-style transformation method, comprising:
segmenting a region, a style of which is to be transformed, in a content image;
generating a multi-channel mask for style application to respective segmentation regions; and
receiving the content image and the multi-channel mask and outputting a multi-style transformed image based on a pre-trained multi-style transformation model implemented as a deep neural network.

### Claim 8 (depends on 7)

The multi-style transformation method of claim 7, further comprising:
converting a data format of the content image by converting a size of the content image through an interpolation and sampling technique, by converting integer-type data into real number-type data, or by normalizing a data range to a value falling within a certain range using average and variance.

### Claim 9 (depends on 7)

The multi-style transformation method of claim 7, wherein segmenting the region comprises:
outputting segmentation region information in a form of at least one of multiple masks, a multi-channel mask or an RGBA color image, or a combination thereof; and
setting styles for respective segmentation regions according to a user's intention.

### Claim 10 (depends on 7)

The multi-style transformation method of claim 7, further comprising:
setting style intensities to set style application intensities for respective segmentation regions,
wherein generating the mask comprises:
generating the multi-channel mask based on the segmentation regions and style application intensities for respective segmentation regions.

### Claim 11 (depends on 7)

The multi-style transformation method of claim 7, wherein generating the mask comprises:
generating a multi-channel mask which has a size identical to a size of the content image and in which a value of a channel corresponding to an index of a style set to be applied to each segmentation region is set to ‘1’ and values of remaining channels are set to ‘0’; and
setting all channels of segmentation regions that are set for non-transformation to ‘0’.

### Claim 12 (depends on 7)

The multi-style transformation method of claim 7, wherein the multi-style transformation model comprises:
an image encoding unit configured to receive the content image and the mask, concatenate the content image and the mask along a channel axis, and then generate a latent image based on a pre-trained deep neural network; and
an image decoding unit configured to receive the latent image and generate a style-transformed image based on the pre-trained deep neural network.

### Claim 13

A multi-style transformation training apparatus, comprising:
a training image database configured to store indexed content-style image dataset pairs;
a training data generation unit configured to generate a content patch and a style patch by selecting a content-style image dataset pair from the training image database;
a style transformation mask generation unit configured to generate a multi-channel mask using an index of the selected content-style image dataset pair;
a multi-style transformation model implemented as a deep neural network and configured to receive a content image and the multi-channel mask and output a multi-style transformed image; and
a style transformation error analysis unit configured to analyze error between the multi-style-transformed image generated by the multi-style transformation model and the style patch generated by the training data generation unit,
wherein the multi-style transformation model is trained to minimize error analyzed by the style transformation error analysis unit.

### Claim 14 (depends on 13)

The multi-style transformation training apparatus of claim 13, wherein the training data generation unit is configured to perform at least one of normalization or image augmentation, or a combination thereof to a value falling within a specific range on each of a content image and a style image of the content-style image dataset pair selected from the training image database, and thereafter generate a content patch and a style patch by cropping a resulting image in a certain size.

### Claim 15 (depends on 13)

The multi-style transformation training apparatus of claim 13, wherein:
a mask image has a size identical to a size of the content patch and includes the number of channels identical to the number (N) of style indices corresponding to content-style image dataset pairs present in the training image database, and
the style transformation mask generation unit generates a mask in which a value of a channel corresponding to an index (n, n=0, . . . , N−1) of the selected content-style image dataset pair is set to ‘1’, and in which values of remaining channels are set to ‘0’.

### Claim 16 (depends on 15)

The multi-style transformation training apparatus of claim 15, wherein:
the training data generation unit copies the content patch instead of a style patch depending on a specific probability defined as a non-transformation probability, and sets index information of the content-style image dataset pair to specific code other than n, and
the style transformation mask generation unit sets all channels of a style transformation mask to ‘0’ when the index of the content-style image dataset pair is set to the specific code other than n.

### Claim 17 (depends on 13)

The multi-style transformation training apparatus of claim 13, wherein the multi-style transformation model comprises:
an image encoding unit configured to receive the content patch and the mask, concatenate the content patch and the mask along a channel axis, and then generate a latent image based on the deep neural network; and
an image decoding unit configured to receive the latent image and generate a style-transformed image based on the deep neural network.

### Claim 18 (depends on 17)

The multi-style transformation training apparatus of claim 17, further comprising:
a multi-resolution image conversion unit configured to generate multi-resolution images, horizontal and vertical sizes of which are reduced at certain rates by applying a down-sampling or image interpolation technique to the style patch generated by the training data generation unit,
wherein the image decoding unit receives an encoded latent image and further generates and outputs a multi-resolution feature map, and
wherein the style transformation error analysis unit calculates encoding image error through a weighted sum of errors between multi-resolution images received from the multi-resolution image conversion unit and the multi-resolution feature map received from the image decoding unit.

### Claim 19 (depends on 17)

The multi-style transformation training apparatus of claim 17, wherein:
the image decoding unit receives an encoded latent image and further generates and outputs a restored mask, and
the style transformation error analysis unit analyzes error between the mask received from the style transformation mask generation unit and a mask restored by the image decoding unit.

### Claim 20 (depends on 17)

The multi-style transformation training apparatus of claim 17, wherein the style transformation error analysis unit calculates generative adversarial error by inputting a style-transformed image output from the image decoding unit to a discriminator in a generative adversarial error analysis unit.
