# US 2023/0054477 A1 · Determination of a parameter set for a tone mapping curve

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

- Number: US 2023/0054477 A1
- Document ID: US20230054477A1
- Status: Published application
- Kind: A1
- Application number: 17/982,046
- Filed: 2022-11-07
- Published: 2023-02-23
- Earliest claimed: 2020-05-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Hu Chen; Yichuan Wang; Weiwei Xu; Quanhe Yu; Elena Alexandrovna Alshina
- Web page: https://patentgrep.com/patent/US20230054477A1

## CPC

- G06T 5/92: based on global image properties
- G06T 5/10: using non-spatial domain filtering
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20024: Filtering details
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present disclosure relates generally to the field of video processing, and more particularly, to high dynamic range (HDR) image processing. In particular, the present disclosure relates to a method for determining a parameter set for a tone mapping curve. The method comprises obtaining a plurality of parameter sets, wherein each parameter set defines the tone mapping curve, and wherein each parameter set is derived based on one of a plurality of HDR video frames. Further, the method comprises temporally filtering the plurality of parameter sets to obtain a temporally filtered parameter set.

## Claims

### Claim 1

A method for determining a parameter set for a tone mapping curve by a decoder, the method comprising:
obtaining, by the decoder, a plurality of parameter sets, wherein each parameter set defines a tone mapping curve, and wherein each parameter set is derived based on one of a plurality of High Dynamic Range (HDR) video frames; and
temporally filtering, by the decoder, the plurality of parameter sets to obtain a temporally filtered parameter set.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the temporally filtering the plurality of parameter sets comprises calculating a weighted average or an average of at least a part of parameters of the plurality of parameter sets.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
generating the tone mapping curve based on the temporally filtered parameter set.

### Claim 4 (depends on 1)

The method according to claim 1, wherein each parameter set directly or indirectly defines the tone mapping curve.

### Claim 5 (depends on 1)

The method according to claim 1, wherein:
each parameter set comprises metadata of the HDR video frame or one or more curve parameters of the tone mapping curve.

### Claim 6 (depends on 1)

The method according to claim 1, wherein
each parameter set comprises metadata extracted from the respective HDR video frame, and
the temporally filtered parameter set comprises temporally filtered metadata.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
computing one or more curve parameters of the tone mapping curve based on the temporally filtered metadata.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
generating the tone mapping curve based on the one or more curve parameters.

### Claim 9 (depends on 1)

The method according to claim 1, wherein
each parameter set comprises one or more curve parameters of the tone mapping curve computed based on metadata extracted from the respective HDR video frame, and
the temporally filtered parameter set comprises one or more temporally filtered curve parameters.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
generating the tone mapping curve based on the one or more temporally filtered curve parameters.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the tone mapping curve is obtained by:
L
′
=
m_a
⁢
(
m_p
×
L
m
⁢
_
⁢
n
(
m_p
-
1
)
×
L
m
⁢
_
⁢
n
+
1
)
m
⁢
_
⁢
m
+
m_b
,
wherein L is a brightness of an input pixel of a HDR video frame, m_n=1, m_m=2.4, and m_b is a predetermined perception quantization (PQ) value, wherein m_p is a brightness control factor and m_a is a scaling factor defining a maximum brightness of an output pixel, and wherein the one or more curve parameters comprise m_p and m_a.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising:
transmitting or storing the temporally filtered parameter set together with the plurality of HDR video frames.

### Claim 13 (depends on 1)

The method according to claim 1, comprising:
obtaining a first parameter set of a first HDR video frame and pushing the first parameter set into a queue;
obtaining a second parameter set of a second HDR video frame;
detecting whether a scene change is occurred between the first HDR video frame and the second HDR video frame, and pushing the second parameter set into the queue when no scene change is occurred;
computing an average of the parameter sets in the queue to obtain the temporally filtered parameter set.

### Claim 14 (depends on 13)

The method according to claim 13, comprising:
clearing the queue when a scene change is occurred.

### Claim 15

A decoder comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming instructions for execution by the one or more processors, wherein the programming instructions, when executed by the one or more processors, configures the decoder to perform operations comprising:
obtaining a plurality of parameter sets, wherein each parameter set defines a tone mapping curve, and wherein each parameter set is derived based on one of a plurality of High Dynamic Range (HDR) video frames; and
temporally filtering the plurality of parameter sets to obtain a temporally filtered parameter set.

### Claim 16 (depends on 15)

The decoder according to claim 15, wherein the temporally filtering of the plurality of parameter sets comprises calculating a weighted average or an average of at least a part of parameters of the plurality of parameter sets.

### Claim 17 (depends on 15)

The decoder according to claim 15, further comprising:
generating the tone mapping curve based on the temporally filtered parameter set.

### Claim 18 (depends on 15)

The decoder according to claim 15, wherein each parameter set directly or indirectly defines the tone mapping curve.

### Claim 19 (depends on 15)

The decoder according to claim 15, wherein each parameter set comprises metadata of the HDR video frame or one or more curve parameters of the tone mapping curve.

### Claim 20

An encoder comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming instructions for execution by the one or more processors, wherein the programming instructions, when executed by the one or more processors, configures the encoder to perform operations comprising:
obtaining a plurality of parameter sets, wherein each parameter set defines a tone mapping curve, and wherein each parameter set is derived based on one of a plurality of High Dynamic Range (HDR) video frames; and
temporally filtering the plurality of parameter sets to obtain a temporally filtered parameter set.
