# US 2022/0284553 A1 · Tone management using tone gain functions for high dynamic range imaging applications

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

- Number: US 2022/0284553 A1
- Document ID: US20220284553A1
- Status: Published application
- Kind: A1
- Application number: 17/192,698
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: SUNG HYUN HWANG; ERIC DUJARDIN; YINING DENG
- Web page: https://patentgrep.com/patent/US20220284553A1

## CPC

- G06T 5/92: based on global image properties
- H04N 5/57: Control of contrast or brightness
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- G06T 2207/10024: Color image
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Apparatuses, systems, and techniques to perform effective tone management for image data. In an embodiment, a set of contrast gain curves are generated corresponding to a set of tonal ranges of an input image. An output image may then be generated by at least applying corresponding contrast gain curves to tonal ranges of the input image.

## Claims

### Claim 1

A method, comprising:
determining a first set of values, the first set of values representing one or more tonal ranges corresponding to an input image;
generating a contrast image based at least in part on a difference between the input image and a second image generated by at least applying a smoothing factor;
generating a set of contrast gain curves corresponding to the one or more tonal ranges based at least in part on the first set of values and a second set of values; and
generating an output image by at least applying a contrast gain map to the contrast image, where the contrast gain map is determined for a set of pixels of the input image by at least applying a first contrast gain curve of the set of contrast gain curves to a first scale space representation of the input image.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second image further comprises a scale space representation of the input image.

### Claim 3 (depends on 1)

The method of claim 1, wherein the smoothing factor is a Gaussian kernel applied to the input image.

### Claim 4 (depends on 1)

The method of claim 1, wherein the method further comprises applying a global tone map to the input image to generate a modified input image.

### Claim 5 (depends on 4)

The method of claim 4, wherein the one or more ranges comprises a set of ranges represented as a histogram.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further comprises generating the histogram based at least in part on the modified input image.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method further comprises applying a global tone map to at least one of the input image or the output image.

### Claim 8 (depends on 1)

The method of claim 1, wherein the second set of values comprises a set of sigma values representing one or more Gaussian curves.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more tonal ranges further comprise at least one of a shadow range, a highlight range, or a mid-tone range.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first set of values further comprises a set of mean values of the one or more tonal ranges.

### Claim 11 (depends on 10)

The method of claim 10, wherein the shadow range further comprises a first set of pixels of the input image below a first threshold value.

### Claim 12 (depends on 11)

The method of claim 11, wherein a first mean value of the set of mean values further comprises the mean of the first set of pixels.

### Claim 13 (depends on 12)

The method of claim 12, wherein the highlight range further comprises a second set of pixels of the input image above a second threshold value.

### Claim 14 (depends on 13)

The method of claim 13, wherein the mid-tone range further comprises a third set of pixels of the input image above the first threshold value and below the second threshold value.

### Claim 15 (depends on 14)

The method of claim 14, wherein the first threshold value represents a percentage of pixels of the input image.

### Claim 16 (depends on 1)

The method of claim 1, wherein a contrast gain curve of the set of contrast gain curves is a function of an input tone value to produce a corresponding gain.

### Claim 17 (depends on 1)

The method of claim 1, wherein the one or more tonal ranges further comprises a tone range defined based at least in part on a group of pixels classified by a threshold pixel value, where the threshold pixel value is determined based at least in part on a percentage pixels of the group of pixels.

### Claim 18

A system comprising:
one or more processors; and
memory storing instructions that, as a result of being executed by the one or more processors, cause the system to:
obtain image data representing an input image;
determine, based at least in part on the image data, one or more tone ranges and a first set of values, where a first value of the first set of values corresponds to a first tone range of the one or more tone ranges;
generate a contrast image based at least in part on a set of scale space representations of the input image and a set of luminance values of the input image;
generate a first contrast gain function for the first tone range; and
generate an output image by at least applying a first contrast gain map to the contrast image, where the first contrast gain map is generated based at least in part on the first contrast gain function.

### Claim 19 (depends on 18)

The system of claim 18, wherein the image data is a histogram of the input image.

### Claim 20 (depends on 18)

The system of claim 18, wherein the image data is high dynamic range (HDR) image data.

### Claim 21 (depends on 18)

The system of claim 18, wherein the memory further includes instructions that, as a result of being executed by the one or more processors, cause the system to generate a second contrast gain function for a second tone range of the set of tone ranges.

### Claim 22 (depends on 21)

The system of claim 21, wherein the memory further includes instructions that, as a result of being executed by the one or more processors, cause the system to generate a second contrast gain map based at least in part on the second contrast gain function.

### Claim 23 (depends on 22)

The system of claim 22, wherein the instructions that cause the system to generate the output image by at least applying the first contrast gain map to the contrast image further include instructions that, as a result of being executed by the one or more processors, cause the system to generate the output image by at least applying the first contrast gain map and the second contrast gain map.

### Claim 24 (depends on 18)

The system of claim 18, wherein the one or more tone ranges further comprise at least one of a shadow range, a highlight range, or a mid-tone range.

### Claim 25 (depends on 18)

The system of claim 18, wherein the image data further comprises statistical image data representing an input image.

### Claim 26 (depends on 25)

The system of claim 25, wherein the statistical image data further comprises a histogram.

### Claim 27

A method, comprising:
determining a plurality of tonal regions of an image;
applying different gain functions to different regions of the plurality of tonal regions to generate a plurality of modified tonal regions; and
generating a modified version of the image based on the modified tonal regions.

### Claim 28 (depends on 27)

The method of claim 27, wherein the plurality of tonal regions further comprises at least one of a shadow range, a highlight range, or a mid-tone range.

### Claim 29 (depends on 27)

The method of claim 27, wherein the method further comprises generating the image based at least in part on a difference between an input image and the image generated by at least applying a smoothing factor to the input image.

### Claim 30 (depends on 27)

The method of claim 27, wherein the method further comprises generating the gain functions corresponding to separate tonal regions of the plurality of tonal regions.

### Claim 31 (depends on 30)

The method of claim 30, wherein the gain functions are generated based at least in part on a set of values and a set of sigma values representing Gaussian curves.

### Claim 32 (depends on 31)

The method of claim 31, wherein the set of values represent a set of mean values for luminance of the set of tonal ranges.

### Claim 33 (depends on 32)

The method of claim 32, wherein a first mean value of the set of mean values is calculated based at least in part on a first set of pixels of the image, where the first set of pixels indicates a luminance value below a threshold.

### Claim 34 (depends on 32)

The method of claim 32, wherein a first mean value of the set of mean values is calculated based at least in part on a first set of pixels of the image, where the first set of pixels indicates a luminance value above a threshold.

### Claim 35 (depends on 32)

The method of claim 32, wherein a first mean value of the set of mean values is calculated based at least in part on a first set of pixels of the image, where the first set of pixels indicates a luminance value between a first threshold and a second threshold.
