US 12,470,832 B2
High dynamic range HDR video processing method, encoding device, and decoding device
Hu Chen, Munich (DE); Elena Alexandrovna Alshina, Munich (DE); Weiwei Xu, Shenzhen (CN); Quanhe Yu, Shenzhen (CN); and Yichuan Wang, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Oct. 21, 2022, as Appl. No. 17/971,086.
Application 17/971,086 is a continuation of application No. PCT/CN2021/083333, filed on Mar. 26, 2021.
Claims priority of application No. 202010390234.7 (CN), filed on May 8, 2020.
Prior Publication US 2023/0049334 A1, Feb. 16, 2023
Int. Cl. H04N 23/741 (2023.01); G06T 5/92 (2024.01); G06V 10/40 (2022.01); G06V 10/60 (2022.01); H04N 9/64 (2023.01); H04N 19/154 (2014.01)
CPC H04N 23/741 (2023.01) [G06T 5/92 (2024.01); G06V 10/60 (2022.01); H04N 9/64 (2013.01); H04N 19/154 (2014.11); G06T 2207/20208 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A high dynamic range (HDR) video processing method, wherein the method is applied by an encoding device and comprises:
obtaining dynamic metadata of an Nth HDR video frame according to a dynamic metadata generation algorithm, wherein N is greater than 0;
calculating a tone-mapping curve parameter of the Nth HDR video frame based on the dynamic metadata of the Nth HDR video frame;
generating a tone-mapping curve based on the curve parameter, wherein the tone-mapping curve is the formula (1):

OG Complex Work Unit Math
wherein
curve parameters a and p are based on the dynamic metadata of the Nth HDR video frame, curve parameters b, n, and m are preset values, L is input luminance, and L′ is output luminance;
determining, according to a quality assessment algorithm, distortion D′ caused by the tone-mapping curve;
comparing D′ and DT, wherein DT is a threshold value; and
generating metadata of the Nth HDR video frame based on the comparing, wherein:
when D′ is not greater than DT the metadata comprises first curve parameters configured to enable a decoder to generate a tone-mapping curve, and the metadata of the Nth HDR video frame comprises the dynamic metadata of the Nth HDR video frame, and
when D′ is greater than DT the metadata is configured to enable the decoder to calculate second curve parameters to similarly enable the decoder to generate a tone-mapping curve, and the metadata of the Nth HDR video frame comprises the dynamic metadata of the Nth HDR video frame and P[N], wherein P[N] is a curve parameter P used when D′ is greater than DT.