# US 2022/0294960 A1 · Image data processing for multi-exposure wide dynamic range image data

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

- Number: US 2022/0294960 A1
- Document ID: US20220294960A1
- Status: Published application
- Kind: A1
- Application number: 17/825,635
- Filed: 2022-05-26
- Published: 2022-09-15
- Earliest claimed: 2016-05-18
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Shashank Dabral; Rajasekhar Reddy Allu
- Web page: https://patentgrep.com/patent/US20220294960A1

## CPC

- H04N 23/72: Combination of two or more compensation controls
- H04N 5/265: Mixing
- H04N 23/73: by influencing the exposure time
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- H04N 23/81: for suppressing or minimising disturbance in the image signal generation
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- H04N 25/589: with different integration times, e.g. short and long exposures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed examples include integrated circuits, merge circuits and methods of processing multiple-exposure image data, in which a single pre-processing circuit is used for pre-processing first input exposure data associated with a first exposure of the image, and then for pre-processing second input exposure data associated with a second exposure of the image, and the first and second pre-processed exposure data are merged to generate merged image data for tone mapping and other post-processing. An example merge circuit includes a configurable gain circuit to apply a gain to the first and/or second exposure data, as well as a configurable weighting circuit with a weight calculation circuit and a motion adaptive filter circuit to compute a first and second weight values for merging the pre-processed first and second exposure data.

## Claims

### Claim 1

A circuit comprising:
a gain circuit configured to:
receive first exposure data associated with a first exposure of an image;
receive second exposure data associated with a second exposure of the image; and
apply a gain to at least one of the first exposure data and the second exposure data to generate a first gain-adjusted exposure data associated with the first exposure of the image and a second gain-adjusted exposure data associated with the second exposure of the image;
a shift circuit configured to:
shift the first gain-adjusted exposure data and the second gain-adjusted exposure data to generate a first shifted exposure data associated with the first exposure of the image and a second shifted exposure data associated with the second exposure of the image;
a weighting circuit configured to:
compute a first weight value for merge processing of the first shifted exposure data; and
compute a second weight value for merge processing of the second shifted exposure data; and
a final merge circuit configured to:
merge the first gain-adjusted exposure data and the second gain-adjusted exposure data to generate a merged image data based on the first weight value and the second weight value.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first white balance gain to the first exposure data and a second circuit applying a configurable second white balance gain to the second exposure data.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first black level offset to the first exposure data and a second circuit applying a configurable second black level offset to the second exposure data.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first gain value to the first exposure data and a second circuit applying a configurable gain value to the second exposure data.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein:
the weighting circuit includes:
a weight calculation circuit to determine an initial weight value based on a selected one of the first shifted exposure data, the second shifted exposure data, and a configurable first threshold value, the weight calculation circuit configured to:
in response to a value of the selected one of the first shifted exposure data and the second shifted exposure data for a current pixel location in the image being greater than the first threshold value, determine the initial weight value as a first predetermined value, and
in response to the value of the selected one of the first shifted exposure data and the second shifted exposure data for the current pixel location being less than or equal to the first threshold value, determine the initial weight value according to one or more configurable parameters and the value of the selected one of the first shifted exposure data and the second shifted exposure data for the current pixel location; and
a motion adaptive filter circuit to determine a difference value as an absolute value of a difference between values of the first shifted exposure data and the second shifted exposure data for the current pixel location in the image, the motion adaptive filter circuit configured to:
in response to the difference value being less than a configurable second threshold value, determine a motion adaptive weight value as the first predetermined value, and
in response to the difference value being greater than or equal to the second threshold value, determine the motion adaptive weight value according to the difference value;
wherein the weighting circuit is configured to multiply the initial weight value by the motion adaptive weight value to generate the first weight value, and to determine the second weight value by subtracting the first weight value from the first predetermined value.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first white balance gain to the first exposure data and a second circuit applying a configurable second white balance gain to the second exposure data.

### Claim 7 (depends on 5)

The circuit of claim 5, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first black level offset to the first exposure data and a second circuit applying a configurable second black level offset to the second exposure data.

### Claim 8 (depends on 5)

The circuit of claim 5, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first gain value to the first exposure data and a second circuit applying a configurable gain value to the second exposure data.

### Claim 9

A method comprising:
receiving, by a gain circuit, a first exposure data associated with a first exposure of an image;
receiving, by the gain circuit, a second exposure data associated with a second exposure of an image;
applying, by the gain circuit, a gain to at least one of the first exposure data and the second exposure data to generate a first gain-adjusted exposure data associated with the first exposure of the image and a second gain-adjusted exposure data associated with the second exposure of the image;
shifting, by a shift circuit, the first gain-adjusted exposure data and the second gain-adjusted exposure data to generate a first shifted exposure data associated with the first exposure of the image and a second shifted exposure data associated with the second exposure of the image;
determining, by a weighting circuit, a first weight value for merge processing of the first shifted exposure data;
determining, by the weighting circuit, a second weight value for merge processing of the second shifted exposure data; and
merging, by a final merge circuit, the first gain-adjusted exposure data and the second gain-adjusted exposure data to generate a merged image data based on the first weight value and the second weight value.

### Claim 10 (depends on 9)

The method of claim 9, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first white balance gain to the first exposure data and a second circuit applying a configurable second white balance gain to the second exposure data.

### Claim 11 (depends on 9)

The method of claim 9, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first black level offset to the first exposure data and a second circuit applying a configurable second black level offset to the second exposure data.

### Claim 12 (depends on 9)

The method of claim 9, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first gain value to the first exposure data and a second circuit applying a configurable gain value to the second exposure data.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
determining, by the weighting circuit, an initial weight value based on a selected one of the first shifted exposure data, the second shifted exposure data, and a configurable first threshold value;
in response to a value of the selected one of the first shifted exposure data and the second shifted exposure data for a current pixel location in the image being greater than the first threshold value, determining, by the weighting circuit, the initial weight value as a first predetermined value;
in response to the value of the selected one of the first shifted exposure data and the second shifted exposure data for the current pixel location being less than or equal to the first threshold value, determining, by the weighting circuit, the initial weight value according to one or more configurable parameters and the value of the selected one of the first shifted exposure data and the second shifted exposure data for the current pixel location;
determining, by a motion adaptive filter circuit, a difference value as an absolute value of a difference between values of the first shifted exposure data and the second shifted exposure data for the current pixel location in the image;
in response to the difference value being less than a configurable second threshold value, determining, by the motion adaptive filter circuit, a motion adaptive weight value as the first predetermined value;
in response to the difference value being greater than or equal to the second threshold value, determining, by the motion adaptive filter circuit, the motion adaptive weight value according to the difference value;

### Claim 14 (depends on 13)

The method of claim 13, wherein:
the weighting circuit is configured to multiply the initial weight value by the motion adaptive weight value to generate the first weight value, and to determine the second weight value by subtracting the first weight value from the first predetermined value.

### Claim 15 (depends on 13)

The method of claim 13, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first white balance gain to the first exposure data and a second circuit applying a configurable second white balance gain to the second exposure data.

### Claim 16 (depends on 13)

The method of claim 13, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first black level offset to the first exposure data and a second circuit applying a configurable second black level offset to the second exposure data.

### Claim 17 (depends on 13)

The method of claim 13, wherein:
the gain circuit generates the first gain-adjusted exposure data and the second gain-adjusted exposure data in response to a first circuit applying a configurable first gain value to the first exposure data and a second circuit applying a configurable gain value to the second exposure data.
