# US 2021/0243477 A1 · Signal reshaping for high dynamic range signals

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

- Number: US 2021/0243477 A1
- Document ID: US20210243477A1
- Status: Published application
- Kind: A1
- Application number: 17/234,815
- Filed: 2021-04-20
- Published: 2021-08-05
- Earliest claimed: 2015-08-04
- Assignees: Dolby Laboratories Licensing Corporation
- Applicants: Dolby Laboratories Licensing Corporation
- Inventors: Robin ATKINS; Peng YIN; Taoran LU; Jaclyn Anne PYTLARZ
- Web page: https://patentgrep.com/patent/US20210243477A1

## CPC

- H04N 19/87: involving scene cut or scene change detection in combination with video compression
- G09G 5/02: characterised by the way in which colour is displayed {(details of colour display specific for CRTs G09G1/28; specific for flat matrix panels other than liquid crystal displays G09G3/2003; specific for liquid crystal displays G09G3/3607)}
- H04N 1/6058: {Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut}
- H04N 9/643: {Hue control means, e.g. flesh tone control}
- H04N 9/67: for matrixing (camera processing pipelines for matrixing of colour signals H04N23/85)
- H04N 9/68: for controlling the amplitude of colour signals, e.g. automatic chroma control circuits (H04N9/71, H04N9/73 take precedence; camera processing pipelines for controlling the colour saturation of colour signals H04N23/86)
- H04N 9/77: Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase (circuits for matrixing H04N9/67)
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N 19/98: Adaptive-dynamic-range coding [ADRC]
- G09G 2320/0276: for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
- G09G 2320/06: Adjustment of display parameters
- G09G 2340/06: Colour space transformation
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- 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)

## Abstract

In a method to improve backwards compatibility when decoding high-dynamic range images coded in a wide color gamut (WCG) space which may not be compatible with legacy color spaces, hue and/or saturation values of images in an image database are computed for both a legacy color space (say, YCbCr-gamma) and a preferred WCG color space (say, IPT-PQ). Based on a cost function, a reshaped color space is computed so that the distance between the hue values in the legacy color space and rotated hue values in the preferred color space is minimized HDR images are coded in the reshaped color space. Legacy devices can still decode standard dynamic range images assuming they are coded in the legacy color space, while updated devices can use color reshaping information to decode HDR images in the preferred color space at full dynamic range.

## Claims

### Claim 1

A method to convert with a processor an input image coded in an ICtCp color space to an output image in a different color space, the method comprising:
receiving the input image in the ICtCp color space;
applying a first 3×3 color transformation matrix to the input image to generate a first image in a first color space, wherein the first 3×3 color transformation matrix comprises an inverse of
[
2
⁢
0
⁢
4
⁢
8
2
⁢
0
⁢
4
⁢
8
0
6
⁢
6
⁢
1
⁢
0
-
1
⁢
3
⁢
6
⁢
1
⁢
3
7
⁢
0
⁢
0
⁢
3
1
⁢
7
⁢
9
⁢
3
⁢
3
-
1
⁢
7
⁢
3
⁢
9
⁢
0
-
5
⁢
4
⁢
3
]
⁢
/
⁢
4096
;
applying a non-linear function to each color component of the first image to generate a second image; and
applying a second 3×3 color transformation matrix to the second image to generate an output image in a linear RGB color space, wherein the second 3×3 color transformation matrix comprises an inverse of
(
1
⁢
6
⁢
8
⁢
8
2
⁢
1
⁢
4
⁢
6
2
⁢
6
⁢
2
6
⁢
8
⁢
3
2
⁢
9
⁢
5
⁢
1
4
⁢
6
⁢
2
9
⁢
9
3
⁢
0
⁢
9
3
⁢
6
⁢
8
⁢
8
)
⁢
/
⁢
4096.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first color space comprises a non-linear LMS color space (L′M′S′) and the linear RGB color space is a BT.2020 RGB color space.

### Claim 3 (depends on 1)

The method of claim 1, wherein the non-linear function comprises an electro-optical transfer function.

### Claim 4 (depends on 3)

The method of claim 3, wherein the electro-optical transfer function is determined according to the SMPTE ST 2084 specification.

### Claim 5 (depends on 1)

The method of claim 1, wherein the non-linear function is based on the Hybrid Log-Gamma (HLG) function.

### Claim 6 (depends on 1)

The method of claim 1 wherein the inverse of
[
2
⁢
0
⁢
4
⁢
8
2
⁢
0
⁢
4
⁢
8
0
6
⁢
6
⁢
1
⁢
0
-
1
⁢
3
⁢
6
⁢
1
⁢
3
7
⁢
0
⁢
0
⁢
3
1
⁢
7
⁢
9
⁢
3
⁢
3
-
1
⁢
7
⁢
3
⁢
9
⁢
0
-
5
⁢
4
⁢
3
]
⁢
/
⁢
4096
comprises
(
1.0
0.008609
⁢
0
⁢
3
⁢
7
⁢
0
⁢
37933
0.1110296
⁢
2
⁢
5
⁢
0
⁢
0
⁢
30260
1.0
-
0.008
⁢
6
⁢
0
⁢
9
⁢
0
⁢
3
⁢
7
⁢
0
⁢
37933
-
0.111029625003026
1.0
0.56003
⁢
1
⁢
3
⁢
3
⁢
5
⁢
7
⁢
10679
-
0.3206271
⁢
7
⁢
4
⁢
9
⁢
87319
)
.

### Claim 7 (depends on 6)

The method of claim 6, wherein the inverse of
[
2
⁢
0
⁢
4
⁢
8
2
⁢
0
⁢
4
⁢
8
0
6
⁢
6
⁢
1
⁢
0
-
1
⁢
3
⁢
6
⁢
1
⁢
3
7
⁢
0
⁢
0
⁢
3
1
⁢
7
⁢
9
⁢
3
⁢
3
-
1
⁢
7
⁢
3
⁢
9
⁢
0
-
5
⁢
4
⁢
3
]
⁢
/
⁢
4096
comprises an approximation given by:
(
1.0
0.009
0.111
1.0
-
0.009
-
0.111
0.998
0.560
-
0.320
)
.

### Claim 8 (depends on 1)

The method of claim 1, wherein the inverse of
(
1
⁢
6
⁢
8
⁢
8
2
⁢
1
⁢
4
⁢
6
2
⁢
6
⁢
2
6
⁢
8
⁢
3
2
⁢
9
⁢
5
⁢
1
4
⁢
6
⁢
2
9
⁢
9
3
⁢
0
⁢
9
3
⁢
6
⁢
8
⁢
8
)
⁢
/
⁢
4096
comprises
(
3.43660669
⁢
4333078
-
2.50645211
⁢
8
⁢
6
⁢
56270
0.06984
⁢
5
⁢
4
⁢
2
⁢
4
⁢
3
⁢
23191
-
0.791329
⁢
5
⁢
5
⁢
5
⁢
5
⁢
98929
1.983600451792291
-
0.192
⁢
2
⁢
7
⁢
0
⁢
8
⁢
9
⁢
6193362
-
0.025949899690593
-
0.098913714
⁢
7
⁢
1
⁢
1
⁢
726
1.124863614402319
)
.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
instead of applying the second 3×3 color transformation matrix to the second image to generate an output image in the linear RGB color space,
applying a third 3×3 color transformation matrix to the second image to generate a third image in the XYZ color space, wherein the third 3×3 color transformation matrix comprises
(
2.073
-
1.325
0.206
0.365
0.681
-
0.045
-
0.050
-
0.050
1.189
)
.

### Claim 10 (depends on 9)

The method of claim 9, further comprising applying a fourth 3×3 color transformation matrix to the third image in the XYZ color space to generate an output image in an output color space.

### Claim 11 (depends on 1)

An apparatus comprising a processor and configured to perform the method recited in claim 1.

### Claim 12 (depends on 1)

A non-transitory computer-readable storage medium having stored thereon computer-executable instruction for executing a method with one or more processors in accordance with claim 1.
