# US 2022/0284230 A1 · System and method for adaptive image transformation

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

- Number: US 2022/0284230 A1
- Document ID: US20220284230A1
- Status: Published application
- Kind: A1
- Application number: 17/404,846
- Filed: 2021-08-17
- Published: 2022-09-08
- Earliest claimed: 2021-01-29
- Assignees: Tata Consultancy Services Limited
- Applicants: Tata Consultancy Services Limited
- Inventors: BALAJI RAJENDRAN VENKATESWARA; GANESH PRASATH RAMANI; GURUSWAMINATHAN ADIMURTHY; AASHISH CHANDRA
- Web page: https://patentgrep.com/patent/US20220284230A1

## CPC

- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06F 18/23: Clustering techniques
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06T 3/04: Context-preserving transformations, e.g. by using an importance map (panospheric to cylindrical image transformations G06T3/12)
- G06T 3/10: Selection of transformation methods according to the characteristics of the input images
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/462: {Salient features, e.g. scale invariant feature transforms [SIFT]}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Image transformation tasks such as cropping, text addition etc. are common across industries. Each industry has different business context and demands the image transformations be performed aligned to the business context. This disclosure relates to a system and method for an adaptive image transformation for a given context and maintaining aesthetic sense of the transformed image. Herein, the system is configurable and adaptive to any business context or domain. The system learns the context from available domain samples and creates an automated workflow of context-aware transformation tasks that maintains both the content and aesthetics demands of the context. Further, a saliency map is extracted for the identified RoI to append a text to the RoI based on the extracted saliency map, the calculated similarity metric for various content and aesthetic factors and various preferences of the user.

## Claims

### Claim 1

A processor-implemented method of one or more context-adaptive image transformations comprising:
receiving, via an input/output interface, at least one image to perform one or more context-adaptive image transformations, and one or more preferences of a user to specify one or more content factors and one or more aesthetic factors of a transformed image;
training, via one or more hardware processors, a content learning network based on a predefined set of sample images to extract at least one content factor from the received at least one image;
training, via the one or more hardware processors, an aesthetics learning network based on the predefined set of sample images to extract aesthetic factors from the received at least one image;
training, via the one or more hardware processors, a translation network based on the extracted content factors and aesthetic factors of the predefined set of sample images;
identifying, via the one or more hardware processors, at least one region of interest (RoI) from the received at least one image based on the received one or more preferences of the user;
extracting, via the one or more hardware processors, one or more content factors and one or more aesthetic factors from the at least one identified RoI using the trained content learning network and aesthetics learning network;
deriving, via the one or more hardware processors, at least one context from the extracted one or more content factors and one or more aesthetic factors using the trained translation network;
identifying, via the one or more hardware processors, context-aware workflow from the derived at least one context and the received one or more user preferences;
calculating, via the one or more hardware processors, a similarity metric for the extracted at least one content and aesthetic factor to determine at least one context requirement; and
performing, via the one or more hardware processors, one or more context-adaptive image transformations based on the identified context-aware workflow and calculated similarity metric to get a transformed image, wherein the transformed image preserving the one or more content factors and aesthetics required for the context.

### Claim 2 (depends on 1)

The processor-implemented method of claim 1, further comprising:
extracting, via the one or more hardware processors, a saliency map for the identified at least one RoI; and
appending, via the one or more hardware processors, a text to the identified at least one RoI based on the extracted saliency map, the calculated similarity metric for the at least one content and aesthetic factor and the received one or more preference of the user, wherein the text is received from the user.

### Claim 3 (depends on 1)

The processor-implemented method of claim 1, wherein one or more context-adaptive image transformations includes cropping, ratio-based aspect resolution, aesthetic edge correction and text addition.

### Claim 4 (depends on 1)

The processor-implemented method of claim 1, wherein the extracted one or more content factors and the one or more aesthetic factors are clustered in a separate embedding space.

### Claim 5 (depends on 1)

The processor-implemented method of claim 1, wherein the predefined set of sample images and its corresponding spectral saliency map are used to train the context learning network and aesthetic learning network to extract and cluster the at least one content and aesthetic factor in separate embedding spaces.

### Claim 6

A system for one or more context-adaptive image transformations comprising:
an input/output interface for:
receiving at least one image to perform one or more image transformations; and
receiving one or more preference of a user and at least one context to specify object of interest (001) of the at least one image;
one or more hardware processors;
at least one repository of one or more neural networks, a plurality of user-defined context specification, and a plurality of sample images used for training of the one or more neural networks;
at least one memory in communication with the one or more hardware processors, wherein the one or more hardware processors are configured to execute programmed instructions stored in the memory, to:
train a content learning network based on a predefined set of sample images to extract one or more content factors from the received at least one image;
train an aesthetics learning network based on the predefined set of sample images to extract aesthetic factors from the received at least one image;
train a translation network based on the extracted content factors and aesthetic factors of the predefined set of sample images;
identify at least one region of interest (RoI) from the received at least one image based on the received one or more preferences of the user;
extract one or more content factors and one or more aesthetic factors from the at least one identified RoI using the trained content learning network and aesthetics learning network;
derive at least one context from the extracted one or more content factors and one or more aesthetic factors using a pre-trained translation network;
identify context-aware workflow from the derived at least one context and the received one or more user preferences;
calculate a similarity metric for the extracted at least one content and aesthetic factor to determine at least one context requirement; and
perform one or more context-adaptive image transformations based on the identified context-aware workflow and calculated similarity metric to get a transformed image, wherein the transformed image preserving the one or more content factors and aesthetics required for the context.

### Claim 7 (depends on 6)

The system of claim 6, further comprising:
extracting a saliency map for the identified at least one RoI; and
appending a text to the identified at least one RoI based on the extracted saliency map, the calculated similarity metric for the at least one content and aesthetic factor and the received one or more preference of the user.

### Claim 8 (depends on 6)

The system of claim 6, wherein the translation network is trained to derive the at least one context factor and cluster the derived at least one context factor together in an embedding space.

### Claim 9

A non-transitory computer readable medium storing one or more instructions which when executed by one or more processors on a system cause the one or more processors to perform the method comprising:
receiving, via an input/output interface, at least one image to perform one or more context-adaptive image transformations, and one or more preference of a user to specify one or more content factors and one or more aesthetic factors of a transformed image;
training, via one or more hardware processors, a content learning network based on a predefined set of sample images to extract one or more content factors from the received at least one image;
training, via the one or more hardware processors, an aesthetics learning network based on the predefined set of sample images to extract aesthetic factors from the received at least one image;
training, via the one or more hardware processors, a translation network based on the extracted content factors and aesthetic factors of the predefined set of sample images;
identifying, via the one or more hardware processors, at least one region of interest (RoI) from the received at least one image based on the received one or more preferences of the user;
extracting, via the one or more hardware processors, one or more content factors and one or more aesthetic factors from the at least one identified RoI using the trained content learning network and aesthetics learning network;
deriving, via the one or more hardware processors, at least one context from the extracted one or more content factors and one or more aesthetic factors using the trained translation network;
identifying, via the one or more hardware processors, context-aware workflow from the derived at least one context and the received one or more user preferences;
calculating, via the one or more hardware processors, a similarity metric for the extracted at least one content and aesthetic factor to determine at least one context requirement; and
performing, via the one or more hardware processors, one or more context-adaptive image transformations based on the identified context-aware workflow and calculated similarity metric to get a transformed image, wherein the transformed image preserving the one or more content factors and aesthetics required for the context.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, further comprising:
extracting, via the one or more hardware processors, a saliency map for the identified at least one RoI; and
appending, via the one or more hardware processors, a text to the identified at least one RoI based on the extracted saliency map, the calculated similarity metric for the at least one content and aesthetic factor and the received one or more preference of the user.
