IP Library Granted Patent US 12,374,001
Granted Patent B2
US 12,374,001 · App. 18/336,649 · Granted Jul 29, 2025

Method and system for generating color variants for fashion apparels

Inventors: Bagya Lakshmi Vasudevan (Chennai, IN); Kalyan Prakash Baishya (Pune, IN); Kuruvilla Abraham (New Delhi, IN); Jayavardhana Rama Gubbi Lakshminarasimha (Bangalore, IN); Gaurab Bhattacharya (Bangalore, IN); Nikhil Kilari (Bangalore, IN)
Assignee: Tata Consultancy Services Limited
G06T11/001G06T7/194G06T2207/20084
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,374,001
App. No.
18/336,649
Granted
Jul 29, 2025
Kind
B2
Abstract

Method and system for generating color variants for fashion apparels by providing a Fashion Apparel Regeneration—Generative Adversarial Network (FAR—GAN) to generate color variants of the fashion apparels. The FAR—GAN utilizes a two-step encoding process to encapsulate both an input image and an edge-map information along with a target color embedding branch to manipulate the color information present in the fashion apparel present in the input image that is to be changed to a desired target color. Furthermore, the color and structural information is disentangled by controlling them using a color consistency loss. The FAR—GAN can be trained end-to-end without incorporating complex multi-step process.

Claims (41)

1. A processor implemented method for generating color variants for fashion apparels, the method comprising:

receiving, via one or more hardware processors, (a) an input image comprising a fashion apparel, and (b) a target color for generating a color variant of the fashion apparel, wherein the target color is represented in terms of Red Blue Green (RGB) components;

generating, via a two-step encoder of a Fashion Apparel Regeneration-Generative Adversarial Network (FAR-GAN) executed by the one or more hardware processors, a target style embedding of the fashion apparel by processing the input image, the two-step encoder comprising (a) a first level encoder generating a concatenated feature embedding representing a plurality of primary low-level features and an edge map of the fashion apparel and (b) a second level encoder generating the target style embedding from the concatenated feature embedding;

generating, via the one or more hardware processors, a target color embedding from the RGB components of the target color via multi-layer Fully Connected (FC) layers of the FAR-GAN; and

generating, via a decoder of the FAR-GAN executed by the one or more hardware processors, a synthetic target image comprising the color variant of the fashion apparel, wherein the decoder dictates the target style embedding by the target color embedding using an Adaptive Instance Normalization (AdaIN) and utilizes un-correlated Gaussian noise added to each of the plurality of decoder blocks to impose variability in a color and a style of the fashion apparel in the synthetic target image enabling the synthetic target image to appear realistic when displayed on a display screen.

2. The method of claim 1 , further comprising a discriminator connected to the decoder to determine whether the synthetic target image is a realistic or a non-realistic image by comparing the synthetic target image with the input image, wherein the FAR-GAN is trained on an adversarial loss to continuously enhance the synthetic target image.

3. The method of claim 1 , further comprising use of a Color Consistency Loss (CCL) to explicitly control color information and penalize the FAR-GAN until a color of the synthetic target image is similar to the target color, wherein the CCL utilizes a cost function L 2 which is a function of the target color and a dominant color in the synthetic target image.

4. The method of claim 1 , wherein generating the target style embedding comprising:

extracting the plurality of primary low-level features of the fashion apparel via a first encoder of the first level encoder to generate an image feature embedding;

generating the edge map of the fashion apparel via a pre-trained Cycle GAN;

generating, via a second encoder of the first level encoder, an edge feature embedding from the edge map;

concatenating the image feature embedding and the edge feature embedding to generate the concatenated feature embedding; and

generating the target style embedding of the fashion apparel by processing the concatenated feature embedding via the second level encoder.

5. A system for generating color variants for fashion apparels, the system comprising:

a memory storing instructions;

one or more Input/Output (I/O) interfaces; and

one or more hardware processors coupled to the memory via the one or more I/O interfaces, the memory comprising a Fashion Apparel Regeneration-Generative Adversarial Network (FAR-GAN) executed by the one or more hardware processors is configured by the instructions to:

receive (a) an input image comprising a fashion apparel, and (b) a target color for generating a color variant of the fashion apparel, wherein the target color is represented in terms of Red Blue Green (RGB) components;

generate via a two-step encoder of the FAR-GAN, a target style embedding of the fashion apparel by processing the input image, the two-step encoder comprising (a) a first level encoder generating a concatenated feature embedding representing a plurality of primary low-level features and an edge map of the fashion apparel and (b) a second level encoder generating the target style embedding from the concatenated feature embedding;

generate a target color embedding from the RGB components of the target color via multi-layer Fully Connected (FC) layers of the FAR-GAN; and

generate via a decoder of the FAR-GAN, a synthetic target image comprising the color variant of the fashion apparel, wherein the decoder dictates the target style embedding by the target color embedding using an Adaptive Instance Normalization (AdaIN) and utilizes un-correlated Gaussian noise added to each of the plurality of decoder blocks to impose variability in a color and a style of the fashion apparel in the synthetic target image enabling the synthetic target image to appear realistic when displayed on a display screen.

6. The system of claim 5 , wherein the FAR-GAN via a discriminator connected to the decoder is configured to determine whether the synthetic target image is a realistic or a non-realistic image by comparing the synthetic target image with the input image, wherein the FAR-GAN is trained on an adversarial loss to continuously enhance the synthetic target image.

7. The system of claim 5 , wherein the FAR-GAN via is configured to utilize of a Color Consistency Loss (CCL) to explicitly control color information and penalize the FAR-GAN until a color of the synthetic target image is similar to the target color, wherein the CCL utilizes a cost function L 2 which is a function of the target color and a dominant color in the synthetic target image.

8. The system of claim 5 , wherein the FAR-GAN is configured to generate the target style embedding by:

extracting the plurality of primary low-level features of the fashion apparel via a first encoder of the first level encoder to generate an image feature embedding;

generating the edge map of the fashion apparel via a pre-trained Cycle GAN;

generating, via a second encoder of the first level encoder, an edge feature embedding from the edge map;

concatenating the image feature embedding and the edge feature embedding to generate the concatenated feature embedding; and

generating the target style embedding of the fashion apparel by processing the concatenated feature embedding via the second level encoder.

9. One or more non-transitory machine-readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause:

receiving, (a) an input image comprising a fashion apparel, and (b) a target color for generating a color variant of the fashion apparel, wherein the target color is represented in terms of Red Blue Green (RGB) components;

generating, via a two-step encoder of a Fashion Apparel Regeneration-Generative Adversarial Network (FAR-GAN) executed by the one or more hardware processors, a target style embedding of the fashion apparel by processing the input image, the two-step encoder comprising (a) a first level encoder generating a concatenated feature embedding representing a plurality of primary low-level features and an edge map of the fashion apparel and (b) a second level encoder generating the target style embedding from the concatenated feature embedding;

generating a target color embedding from the RGB components of the target color via multi-layer Fully Connected (FC) layers of the FAR-GAN; and

generating, via a decoder of the FAR-GAN executed by the one or more hardware processors, a synthetic target image comprising the color variant of the fashion apparel, wherein the decoder dictates the target style embedding by the target color embedding using an Adaptive Instance Normalization (AdaIN) and utilizes un-correlated Gaussian noise added to each of the plurality of decoder blocks to impose variability in a color and a style of the fashion apparel in the synthetic target image enabling the synthetic target image to appear realistic when displayed on a display screen.

10. The one or more non-transitory machine-readable information storage mediums of claim 9 , wherein the one or more instructions which when executed by the one or more hardware processors further cause use of a Color Consistency Loss (CCL) to explicitly control color information and penalize the FAR-GAN until a color of the synthetic target image is similar to the target color, wherein the CCL utilizes a cost function L 2 which is a function of the target color and a dominant color in the synthetic target image.

11. The one or more non-transitory machine-readable information storage mediums of claim 9 , wherein the one or more instructions which when executed by the one or more hardware processors further cause:

extracting the plurality of primary low-level features of the fashion apparel via a first encoder of the first level encoder to generate an image feature embedding;

generating the edge map of the fashion apparel via a pre-trained Cycle GAN;

generating, via a second encoder of the first level encoder, an edge feature embedding from the edge map;

concatenating the image feature embedding and the edge feature embedding to generate the concatenated feature embedding; and

generating the target style embedding of the fashion apparel by processing the concatenated feature embedding via the second level encoder.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2023
From: VASUDEVAN, BAGYA LAKSHMI; BAISHYA, KALYAN PRAKASH; ABRAHAM, KURUVILLA; GUBBI LAKSHMINARASIMHA, JAYAVARDHANA RAMA; BHATTACHARYA, GAURAB; KILARI, NIKHIL
To: TATA CONSULTANCY SERVICES LIMITED
Reel/Frame 063977/0965 →
Priority Claims (1)
IN 202221034940 · Jun 17, 2022 · national
Continuity (1)
Related Publication 20230410390A1 · Dec 21, 2023
References Cited (10)
US 11727463B2 · Sollami · 2023 [cited by examiner]
US 20030058237A1 · Lee · 2003 [cited by examiner]
US 20220343561A1 · Aggarwal · 2022 [cited by examiner]
US 20230298224A1 · Aggarwal · 2023 [cited by examiner]
US 20230360294A1 · Aggarwal · 2023 [cited by examiner]
US 20240169604A1 · Gandelsman · 2024 [cited by examiner]
Xin, John H, et al., “Accurate color synthesis of three-dimensional objects in an image”, Date: Jun. 2004, pp. 713-723, Publisher: Journal of the Optical Society of America A, Link: https://www.researchgate.net/publicat… [cited by applicant]
Sun, Shuming et al., “UCCTGAN: Unsupervised Clothing Color Transformation Generative Adversarial Network”, Title of the item: 2020 25th International Conference on Pattern Recognition (ICPR), Date: Jan. 10-15, 2021, Pub… [cited by applicant]
Kips, Robin et al., “CA-GAN: Weakly Supervised Color Aware GAN for Controllable Makeup Transfer”, Title of the item: Computer Vision and Pattern Recognition, Date: Aug. 24, 2020, Publisher: arxiv, Link: https://arxiv.or… [cited by applicant]
Yildirim, Gokhan et al., “Generating High-Resolution Fashion Model Images Wearing Custom Outfits”, Title of the item: 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), Date: Oct. 27-28, 2019, P… [cited by applicant]