# US 2023/0267579 A1 · Inverse tone mapping with adaptive bright-spot attenuation

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

- Number: US 2023/0267579 A1
- Document ID: US20230267579A1
- Status: Published application
- Kind: A1
- Application number: 18/012,274
- Filed: 2021-06-04
- Published: 2023-08-24
- Earliest claimed: 2020-06-26
- Assignees: InterDigital CE Patent Holdings, SAS
- Applicants: InterDigital CE Patent Holdings, SAS
- Inventors: Laurent Cauvin; Frederic Plissonneau; Guillaume Poirier
- Web page: https://patentgrep.com/patent/US20230267579A1

## CPC

- G06T 5/92: based on global image properties
- G06T 5/40: using histogram techniques
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for inverse tone mapping by obtaining a gain function, called initial gain function, of a first inverse tone mapping function; if an analysis of a current image shows that at least a pixel of the current image with a luminance value at least equal to a luminance value depending of a predetermined percentage of the pixels of the current image have an expanded luminance value resulting from an application of the first ITM function to the current image higher than a target value, applying a second ITM function to the current image, the second ITM function corresponding to the first inverse tone mapping function in which the gain function has been replaced by a modified gain function derived from the initial gain function in which a gain provided by the initial gain function is attenuated by an attenuation function, said attenuation function being weighted by a weighting factor controlling a strength of the attenuation, the weighting factor depending on a statistical distribution of luminance values in an histogram of the current image between a maximum luminance value and the luminance value depending of the predetermined percentage.

## Claims

### Claim 1

A method for inverse tone mapping wherein the method comprises:
obtaining a current image;
obtaining an initial gain function of a first inverse tone mapping function;
obtaining a target luminance value;
responsive to at least a pixel of the current image with a luminance value at least equal to the target luminance value having an expanded value resulting from an application of the first inverse tone mapping function to the current image higher than a target expanded luminance value, applying a second inverse tone mapping function to the current image, the second inverse tone mapping function corresponding to the first inverse tone mapping function in which the gain function has been replaced by a modified gain function, the modified gain function being a function derived from the initial gain function in which a gain provided by the initial gain function is attenuated by an attenuation function, said attenuation function being an increasing function of luminance values weighted by a weighting factor controlling a strength of the attenuation, the weighting factor depending on a statistical distribution of luminance values in an histogram of the current image between a maximum luminance value and the target luminance value.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
browsing the histogram in descending order of luminance values from the maximum luminance value;
computing an intermediate weighting factor for each browsed luminance value while the browsed luminance value is at least equal to the target luminance value and on a result of an application of the first inverse tone mapping function to the browsed luminance value is at least equal to the target expanded luminance value; and
setting the value of the weighting factor to a value corresponding to a maximum of the computed intermediate weighting factor.

### Claim 3 (depends on 2)

The method of claim 2, wherein the intermediate weighting factor depends on an intermediate expanded target luminance value, the intermediate expanded target luminance value being a weighted sum between the expanded target luminance value and the result of the application of the first inverse tone mapping function to the browsed luminance value, each weight of the weighting sum depending on a value representative of a proportion of pixels of the current image having a luminance value higher than the browsed luminance value.

### Claim 4 (depends on 3)

The method of claim 3, wherein the value representative of the proportion of pixels of the current image having a luminance value higher than the browsed luminance value further depends on a maximum authorized expended luminance value.

### Claim 5 (depends on 3)

The method of claim 3 further comprising:
applying the first inverse tone mapping function to the current image when a quantity of pixels of the current image having a luminance value higher than the browsed luminance value is lower than a predefined minimum number of pixels.

### Claim 6 (depends on 1)

The method of claim 1, wherein the current image belongs to a video sequence and the method comprises detecting scene cuts in the current video sequence, the weighting factor controlling the strength of the attenuation depending also at least of one other weighting factor controlling the strength of the attenuation computed for another image of the video sequence preceding the current image, no scene cut having been detected between the current image and said another image.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
verifying a monotonicity of a first inverse tone mapping curve obtained with the second inverse tone mapping function and modifying at least one parameter of the second inverse tone mapping function to obtain a monotonous second inverse tone mapping curve when the first inverse tone mapping curve is not monotonous.

### Claim 8 (depends on 1)

The method of claim 1, wherein the target luminance value depends on a predetermined percentage of the pixels of the current image.

### Claim 9

A device for inverse tone mapping, wherein the device comprises electronic circuitry adapted for:
obtaining a current image;
obtaining an initial gain function of a first inverse tone mapping function;
obtaining a target luminance value;
responsive to at least a pixel of the current image with a luminance value at least equal to the target luminance value having an expanded luminance value resulting from an application of the first inverse tone mapping function to the current image higher than a target expanded luminance value, applying a second inverse tone mapping function to the current image, the second inverse tone mapping function corresponding to the first inverse tone mapping function in which the gain function has been replaced by a modified gain function, the modified gain function being a function derived from the initial gain function in which a gain provided by the initial gain function is attenuated by an attenuation function, said attenuation function being an increasing function of luminance values weighted by a weighting factor controlling a strength of the attenuation, the weighting factor depending on a statistical distribution of luminance values in an histogram of the current image between a maximum luminance value and the target luminance value.

### Claim 10 (depends on 9)

The device of claim 9, wherein the electronic circuitry is further adapted for:
browsing the histogram in descending order of luminance values from the maximum luminance value;
computing an intermediate weighting factor for each browsed luminance value while the browsed luminance value is at least equal to the target luminance value and on a result of an application of the first inverse tone mapping function to the browsed luminance value is at least equal to the target expanded luminance value; and
setting the value of the weighting factor to a value corresponding to a maximum of the computed intermediate weighting factor.

### Claim 11 (depends on 10)

The device of claim 10, wherein the intermediate weighting factor depends on an intermediate expanded target luminance value, the intermediate expanded target luminance value being a weighted sum between the expanded target luminance value and the result of the application of the first inverse tone mapping function to the browsed luminance value, each weight of the weighting sum depending on a value representative of a proportion of pixels of the current image having a luminance value higher than the browsed luminance value.

### Claim 12 (depends on 11)

The method of claim 11, wherein the value representative of proportion of pixels of the current image having a luminance value higher than the browsed luminance value further depends on a maximum authorized expended luminance value.

### Claim 13 (depends on 11)

The device of claim 11, the electronic circuitry further adapted for:
applying the first inverse tone mapping function to the current image when a quantity of pixels of the current image having a luminance value higher than the browsed luminance value is lower than a predefined minimum number of pixels.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the current image belongs to a video sequence and the electronic circuitry is also adapted for detecting scene cuts in the current video sequence, the weighting factor controlling the strength of the attenuation depending also at least of one other weighting factor controlling the strength of the attenuation computed for another image of the video sequence preceding the current image, no scene cut having been detected between the current image and said another image.

### Claim 15 (depends on 9)

The device according to claim 9, the electronic circuitry further adapted for:
verifying a monotonicity of a first inverse tone mapping curve obtained with the second inverse tone mapping function and modifying at least one parameter of the second inverse tone mapping function to obtain a monotonous second inverse tone mapping curve when the first inverse tone mapping curve is not monotonous.

### Claim 16 (depends on 9)

device according to claim 9, wherein the the target luminance value depends on a predetermined percentage of the pixels of the current image.

### Claim 17 (depends on 9)

An apparatus comprising a device according to claim 9.

### Claim 18

(canceled)

### Claim 19

(canceled)

### Claim 20 (depends on 1)

Non-transitory information storage means storing program code instructions for implementing the method according to claim 1.
