# US 2025/0159364 A1 · Global tone mapping

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

- Number: US 2025/0159364 A1
- Document ID: US20250159364A1
- Status: Published application
- Kind: A1
- Application number: 19/024,929
- Filed: 2025-01-16
- Published: 2025-05-15
- Earliest claimed: 2015-06-12
- Assignees: GoPro, Inc.
- Applicants: GoPro, Inc.
- Inventors: Bruno César Douady; Michael Serge Andre Kraak; Guillaume Matthieu Guérin; Thomas Nicolas Emmanuel Veit
- Web page: https://patentgrep.com/patent/US20250159364A1

## CPC

- G06T 5/92: based on global image properties
- G06T 3/4015: Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
- G06T 5/40: using histogram techniques
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/75: Unsharp masking
- H04N 1/4074: {using histograms}
- H04N 1/6008: {with primary colour signals, e.g. RGB or CMY(K)}
- H04N 1/603: {controlled by characteristics of the picture signal generator or the picture reproducer}
- H04N 9/643: {Hue control means, e.g. flesh tone control}
- H04N 9/646: {for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters}
- H04N 9/68: for controlling the amplitude of colour signals, e.g. automatic chroma control circuits (H04N9/71, H04N9/73 take precedence; camera processing pipelines for controlling the colour saturation of colour signals H04N23/86)
- H04N 9/77: Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase (circuits for matrixing H04N9/67)
- H04N 23/10: for generating image signals from different wavelengths
- H04N 23/60: Control of cameras or camera modules
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/86: for controlling the colour saturation of colour signals, e.g. automatic chroma control circuits
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- H04N 25/60: Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N 25/61: the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"
- G06T 2207/10016: Video; Image sequence
- G06T 2207/10024: Color image
- G06T 2207/20012: Locally adaptive
- G06T 2207/20182: Noise reduction or smoothing in the temporal domain; Spatio-temporal filtering
- H04N 25/10: for transforming different wavelengths into image signals
- H04N 2209/046: Colour interpolation to calculate the missing colour values
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A non-transitory computer-readable storage medium stores executable instructions that, when executed by a processor, cause performance of operations comprising operations to access an image captured by an image sensor, obtain a transfer function for mapping pixel values, determine a faces indication that reflects a proportion of a scene depicted in the image that includes one or more human faces, and modify the transfer function based on the faces indication. Modifying the transfer function based on the faces indication comprises adjusting a gain of the transfer function to move the gain closer to unity. The operations include to apply the transfer function to pixel values of the image to produce a tone mapped image and output the tone mapped image.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A system comprising:
an image sensor;
a memory; and
a processor, wherein the memory stores instructions executable by the processor to cause the system to:
access a current image captured using the image sensor;
determine a first histogram for luminance values of the current image;
access a target histogram for the current image;
compute a transfer function based on the first histogram and the target histogram such that when the transfer function is applied to pixel values of the current image to create a set of modified luminance values, a histogram of the modified luminance values is within a threshold similarity of the target histogram;
obtain scene classification information for α related image, including an underwater indication that reflects that a scene depicted in the related image was captured underwater;
modify the transfer function based on the underwater indication to reduce a gain of the transfer function; and
apply the modified transfer function to pixel values of the current image to produce a tone mapped image.

### Claim 22 (depends on 21)

The system of claim 21, wherein the memory stores instructions executable by the processor to cause the system to:
obtain color component ratio information for one or more pixels of the related image; and
classify the scene based on the color component ratio information.

### Claim 23 (depends on 22)

The system of claim 22, wherein the color component ratio information includes a green to red color component ratio value, and wherein the memory stores instructions executable by the processor to cause the system to:
compare the green to red color component ratio value to a threshold to determine whether a pixel of the related image corresponds to an underwater scene.

### Claim 24 (depends on 22)

The system of claim 22, wherein the color component ratio information includes a green to red color component ratio value and a green to blue color component ratio value, and wherein the memory stores instructions executable by the processor to cause the system to:
determine whether a point specified by the green to red color component ratio value and the green to blue color component ratio value is within a defined area in a color component ratio plane identified as corresponding to underwater scenes to determine whether a pixel of the related image corresponds to an underwater scene.

### Claim 25 (depends on 22)

The system of claim 22, wherein the memory stores instructions executable by the processor to cause the system to:
obtain a scene classification confidence level based on a proportion of pixels of the related image identified as corresponding to an underwater scene; and
determine the underwater indication based on comparison of the scene classification confidence level to a threshold.

### Claim 26 (depends on 21)

The system of claim 21, wherein the scene classification information is determined by an automatic white balance module configured to apply white balance correction to the related image.

### Claim 27 (depends on 26)

The system of claim 26, wherein the memory stores instructions executable by the processor to cause the system to:
apply white balance correction, based on the underwater indication, to the current image.

### Claim 28 (depends on 21)

The system of claim 21, wherein the related image is a previous frame of image data captured using the image sensor.

### Claim 29 (depends on 21)

The system of claim 21, wherein the related image is the current image.

### Claim 30

A system for global tone mapping, comprising:
a processor; and
a memory storing instructions that, when executed by the processor, cause the system to:
access an image captured by an image sensor;
compute color component ratios for pixels of the image, wherein the color component ratios comprise ratios between green, red and blue color components;
determine an underwater scene classification based on the computed color component ratios;
compute a first histogram for luminance values of the image;
access a target histogram for enhancing global contrast of the image;
compute a transfer function based on the first histogram and the target histogram;
modify the transfer function based on the underwater scene classification;
apply the modified transfer function to pixel values of the image to produce a tone mapped image; and
output the tone mapped image.

### Claim 31 (depends on 30)

The system of claim 30, wherein color component ratios include a green to red color component ratio value, and wherein the memory stores instructions executable by the processor to cause the system to:
compare the green to red color component ratio value to a threshold to determine whether a pixel of the image corresponds to an underwater scene.

### Claim 32 (depends on 30)

The system of claim 30, wherein color component ratio information includes a green to red color component ratio value and a green to blue color component ratio value, and wherein the memory stores instructions executable by the processor to cause the system to:
determine whether a point specified by the green to red color component ratio value and the green to blue color component ratio value is within a defined area in a color component ratio plane identified as corresponding to underwater scenes to determine whether a pixel of the image corresponds to an underwater scene.

### Claim 33 (depends on 32)

The system of claim 32, wherein the memory stores instructions executable by the processor to cause the system to:
obtain a scene classification confidence level based on a proportion of pixels of the image identified as corresponding to an underwater scene; and
determine the underwater scene classification based on comparison of the scene classification confidence level to a threshold.

### Claim 34 (depends on 30)

The system of claim 30, wherein the color component ratios for pixels of the image are determined by an automatic white balance module configured to apply white balance correction to the image.

### Claim 35

A method for global tone mapping comprising:
accessing a current image captured using an image sensor;
determining a first histogram for luminance values of the current image;
accessing a target histogram for the current image;
computing a transfer function based on the first histogram and the target histogram such that when the transfer function is applied to pixel values of the current image to create a set of modified luminance values, a histogram of the modified luminance values is within a threshold similarity of the target histogram;
obtaining scene classification information for α related image, including an underwater indication that reflects that a scene depicted in the related image was captured underwater;
modifying the transfer function based on the underwater indication to reduce a gain of the transfer function;
applying the modified transfer function to pixel values of the current image to produce a tone mapped image; and
outputting the tone mapped image.

### Claim 36 (depends on 35)

The method of claim 35, wherein obtaining the scene classification information for the related image comprises:
obtaining color component ratio information for one or more pixels of the related image; and
classifying the scene based on the color component ratio information.

### Claim 37 (depends on 36)

The method of claim 36, wherein color component ratio information includes a green to red color component ratio value, and wherein obtaining the scene classification information for the related image comprises:
comparing the green to red color component ratio value to a threshold to determine whether a pixel of the related image corresponds to an underwater scene.

### Claim 38 (depends on 36)

The method of claim 36, wherein color component ratio information includes a green to red color component ratio value and a green to blue color component ratio value, and wherein obtaining the scene classification information for the related image comprises:
determining whether a point specified by the green to red color component ratio value and the green to blue color component ratio value is within a defined area in a color component ratio plane identified as corresponding to underwater scenes to determine whether a pixel of the related image corresponds to an underwater scene.

### Claim 39 (depends on 36)

The method of claim 36, wherein obtaining the scene classification information for the related image comprises:
obtaining a scene classification confidence level based on a proportion of pixels of the related image identified as corresponding to an underwater scene; and
determining the underwater indication based on comparison of the scene classification confidence level to a threshold.

### Claim 40 (depends on 35)

The method of claim 35, comprising:
applying white balance correction, based on the underwater indication, to the current image.
