# US 11,120,725 B2 · Method and apparatus for color gamut mapping color gradient preservation

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

- Number: US 11,120,725 B2
- Document ID: US11120725B2
- Status: Granted
- Kind: B2
- Application number: 15/961,037
- Filed: 2018-04-24
- Published: 2019-10-24
- Granted: 2021-09-14
- Earliest claimed: 2018-04-24
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Essam Aly
- Web page: https://patentgrep.com/patent/US11120725B2

## CPC

- G09G 3/2003: {Display of colours (specific for liquid crystal displays G09G3/3607)}
- G09G 5/005: {Adapting incoming signals to the display format of the display terminal}
- G09G 5/026: {Control of mixing and/or overlay of colours in general (G09G5/022 and G09G5/024 take precedence)}
- H04N 1/6063: {dependent on the contents of the image to be reproduced}
- G09G 2320/0233: Improving the luminance or brightness uniformity across the screen
- G09G 2320/0242: Compensation of deficiencies in the appearance of colours
- G09G 2320/0666: for control of colour parameters, e.g. colour temperature
- G09G 2340/0407: Resolution change, inclusive of the use of different resolutions for different screen areas
- G09G 2340/0428: Gradation resolution change
- G09G 2340/06: Colour space transformation
- G09G 2360/16: Calculation or use of calculated indices related to luminance levels in display data
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for gamut mapping color gradient preservation is described. In one example, the method and apparatus obtains a source image having a plurality of source color gamut pixels in a source color gamut, wherein the plurality of source color gamut pixels include a same hue value and a same luminance value and define a color gradient, and converts the plurality of source color gamut pixels to a plurality of target color gamut pixels such that the color gradient of the plurality of source color gamut pixels is preserved by the plurality of target color gamut pixels in a target color gamut. The method and apparatus provides the plurality of target color gamut pixels for display on a target color gamut display.

## Claims

### Claim 1

A method of mapping between color gamuts comprising:
obtaining, by a device, a source image having a plurality of source color gamut pixels in a source color gamut, wherein the plurality of source color gamut pixels comprise a same hue value and a same luminance value and define a color gradient among chroma values of neighboring source color gamut pixels;
converting, by the device, the plurality of source color gamut pixels to a plurality of target color gamut pixels that maintain the same hue value and same luminance value as the plurality of source color gamut pixels, such that the color gradient of the plurality of source color gamut pixels that are outside of the target color gamut is preserved by the plurality of target color gamut pixels in a target color gamut that is a more limited color gamut than the source color gamut, wherein the preserved color gradient when represented as color distances between pixels maintains a distance ratio between pixels that is the same in the source color gamut and in the target color gamut; and
providing, by the device, for display the plurality of target color gamut pixels on a target color gamut display.

### Claim 2 (depends on 1)

The method of claim 1, wherein the converting the plurality of source color gamut pixels to the plurality of target color gamut pixels such that the color gradient of the plurality of source color gamut pixels is preserved comprises:
mapping the plurality of source color gamut pixels into a range within the target color gamut, wherein the range is less than an entire area of the target color gamut.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
obtaining, from memory and based on the same hue value and the same luminance value, a target edge chroma value corresponding to a boundary of the target color gamut, and
wherein the range within the target color gamut is adjacent to the boundary of the target color gamut.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining, based on the same hue value and the same luminance value, a compression ratio for preserving transformations from the source color gamut to the target color gamut, and
wherein the mapping the plurality of source color gamut pixels into the range within the target color gamut is based on the compression ratio.

### Claim 5 (depends on 4)

The method of claim 4, wherein the determining the compression ratio is based on at least one of a linear fit or a best fit curve.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
performing a luminance mapping operation to generate the plurality of source color gamut pixels that comprise the same hue value and the same luminance value.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining, based on the plurality of source color gamut pixels, a plurality of source chroma values that are within the target color gamut, and
maintaining the plurality of source chroma values that are within the target color gamut.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
obtaining source metadata corresponding to the plurality of source color gamut pixels;
obtaining target display data corresponding to the target color gamut display;
generating, based on the source metadata and the target display data, a gamut mapping color gradient preservation table for preserving transformations from the source color gamut to the target color gamut, and
wherein the converting the plurality of source color gamut pixels to the plurality of target color gamut pixels is based on the gamut mapping color gradient preservation table.

### Claim 9 (depends on 8)

The method of claim 8, wherein the generating the gamut mapping color gradient preservation table comprises:
generating a plurality of entries corresponding to a plurality of hue values and a plurality of luminance values; and
determining, for each of the plurality of entries, a valid source chroma value at an edge of the source color gamut or a valid target chroma value at an edge of the target color gamut.

### Claim 10 (depends on 9)

The method of claim 9, wherein the determining the valid source chroma value or the valid target chroma value comprises:
generating, based on a hue value of the plurality of hue values and a luminance value of the plurality of luminance values, a test pixel comprising a test chroma value; and
determining whether the test chroma value converts to a valid red green blue (RGB) value.

### Claim 11

An apparatus comprising:
gamut mapping color gradient preservation logic configured to:
obtain a source image having a plurality of source color gamut pixels in a source color gamut, wherein the plurality of source color gamut pixels comprise a same hue value and a same luminance value and define a color gradient among chroma values of neighboring source color gamut pixels;
convert the plurality of source color gamut pixels to a plurality of target color gamut pixels that maintain the same hue value and same luminance value as the plurality of source color gamut pixels, such that the color gradient of the plurality of source color gamut pixels that are outside of the target color gamut is preserved by the plurality of target color gamut pixels in a target color gamut that is a more limited color gamut than the source color gamut, wherein the preserved color gradient when represented as color distances between pixels maintains a distance ratio between pixels that is the same in the source color gamut and in the target color gamut; and
provide for display, on a target color gamut display, the plurality of target color gamut pixels.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the gamut mapping color gradient preservation logic is further configured to convert the plurality of source color gamut pixels to the plurality of target color gamut pixels such that the color gradient of the plurality of source color gamut pixels is preserved by:
mapping the plurality of source color gamut pixels into a range within the target color gamut, wherein the range is less than an entire area of the target color gamut.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the gamut mapping color gradient preservation logic is further configured to:
obtain, from memory and based on the same hue value and the same luminance value, a target edge chroma value corresponding to a boundary of the target color gamut, and
wherein the range within the target color gamut is adjacent to the boundary of the target color gamut.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the gamut mapping color gradient preservation logic is further configured to:
determine, based on at least one of a linear fit or a best fit curve corresponding to the same hue value and the same luminance value, a compression ratio for preserving transformations from the source color gamut to the target color gamut, and
wherein the mapping the plurality of source color gamut pixels into the range within the target color gamut is based on the compression ratio.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the gamut mapping color gradient preservation logic is further configured to:
perform a luminance mapping operation to generate the plurality of source color gamut pixels that comprise the same hue value and the same luminance value.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein the gamut mapping color gradient preservation logic is further configured to:
determine, based on the plurality of source color gamut pixels, a plurality of source chroma values that are within the target color gamut, and
maintain the plurality of source chroma values that are within the target color gamut.

### Claim 17 (depends on 11)

The apparatus of claim 11, further comprising:
a display device, wherein the display device is configured to:
obtain the plurality of target color gamut pixels; and
display the plurality of target color gamut pixels.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the gamut mapping color gradient preservation logic is further configured to:
obtain source metadata corresponding to the plurality of source color gamut pixels;
obtain target display data corresponding to the target color gamut display;
generate, based on the source metadata and the target display data, a gamut mapping color gradient preservation table for preserving transformations from the source color gamut to the target color gamut, and
wherein the selecting the plurality of target color gamut pixels is based on the gamut mapping color gradient preservation table.

### Claim 19

An integrated circuit comprising:
a first processor, wherein the first processor comprises:
gamut mapping color gradient preservation logic configured to:
obtain a source image having a plurality of pixels in a source color gamut;
performing, based on the plurality of pixels, a luminance mapping operation to generate a plurality of source color gamut pixels, wherein the plurality of source color gamut pixels comprise a same hue value and a same luminance value and define a color gradient among chroma values of neighboring source color gamut pixels;
determine a chroma range within a target color gamut that is adjacent to a boundary of the target color gamut;
determine, based on a linear fit or a best fit curve, a compression ratio for preserving transformations from the source color gamut to the target color gamut based on the color gradient among chroma values of neighboring source color gamut pixels;
convert, based on the compression ratio, the plurality of source color gamut pixels to a plurality of target color gamut pixels, wherein the plurality of target color gamut pixels are within the chroma range within the target color gamut that is adjacent to the boundary of the target color gamut;
provide for display, on a target color gamut display, the plurality of target color gamut pixels.

### Claim 20 (depends on 19)

The integrated circuit of claim 19, further comprising:
a second processor, wherein the second processor comprises:
gamut pre-processing logic configured to:
obtain source metadata corresponding to the plurality of source color gamut pixels;
obtain target display data corresponding to the target color gamut display;
generate, based on the source metadata and the target display data, a gamut mapping color gradient preservation table for preserving transformations from the source color gamut to the target color gamut; and
transmit, to memory, the gradient mapping color gradient preservation table.
