US 11,895,416 B2
Electro-optical transfer function conversion and signal legalization
Guan-Ming Su, Fremont, CA (US); Harshad Kadu, Santa Clara, CA (US); Neeraj J. Gadgil, Pune (IN); Qing Song, Sunnyvale, CA (US); and Yoon Yung Lee, San Jose, CA (US)
Assigned to Dolby Laboratories Licensing Corporation, San Francisco, CA (US)
Appl. No. 17/630,901
Filed by Dolby Laboratories Licensing Corporation, San Francisco, CA (US)
PCT Filed Jul. 27, 2020, PCT No. PCT/US2020/043789
§ 371(c)(1), (2) Date Jan. 27, 2022,
PCT Pub. No. WO2021/021762, PCT Pub. Date Feb. 4, 2021.
Claims priority of provisional application 62/880,266, filed on Jul. 30, 2019.
Claims priority of application No. 19189052 (EP), filed on Jul. 30, 2019.
Prior Publication US 2022/0295020 A1, Sep. 15, 2022
Int. Cl. H04N 25/615 (2023.01); H04N 19/186 (2014.01); H04N 19/98 (2014.01); G06T 7/90 (2017.01); G06T 5/00 (2006.01); G06T 5/40 (2006.01)
CPC H04N 25/6153 (2023.01) [G06T 5/009 (2013.01); G06T 5/40 (2013.01); G06T 7/90 (2017.01); H04N 19/186 (2014.11); H04N 19/98 (2014.11)] 27 Claims
OG exemplary drawing
 
1. A device for determining a backward reshaping function, comprising:
an electronic processor configured to:
determine a set of sample pixels from received video data;
define, from the set of sample pixels, a first set of sample pixels according to a first electro-optical transfer function in a first color representation of a first color space;
convert the first set of sample points according to the first electro-optical transfer function to a second electro-optical transfer function in the first color representation of the first color space via a mapping function, producing, from the first set of sample pixels, a second set of sample pixels according to the second electro- optical transfer function;
convert the first set of sample pixels and the second set of sample pixels from the first color representation to a second color representation of the first color space;
determine a backward reshaping function based on the converted first set of sample pixels and the converted second set of sample pixels;
wherein the electronic processor is configured to determine the backward reshaping function by repeatedly applying and adjusting a sample backward reshaping function so as to minimize a difference between predicted pixel values obtained by applying the sample backward reshaping function to the pixels in the converted first set of sample pixels, and the pixels in the converted second set of sample pixels,
wherein the received video data comprise one or more first image in a first dynamic range and the second set of sample pixels belong to one or more second images in a second dynamic range, the first dynamic range being lower than the second dynamic range, and wherein the electronic processor is further configured to determine
a first cumulative density function based on a first histogram generated from a first distribution of codewords in the one or more first images,
a second cumulative density function based on a second histogram generated from a second distribution of codewords in the one or more second images, and
a histogram transfer function based on the first cumulative density function and the second cumulative density function for determining the backward reshaping function.