# US 2022/0292653 A1 · Overlapped curve mapping for histogram-based local tone and local contrast

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

- Number: US 2022/0292653 A1
- Document ID: US20220292653A1
- Status: Published application
- Kind: A1
- Application number: 17/830,030
- Filed: 2022-06-01
- Published: 2022-09-15
- Earliest claimed: 2020-12-07
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Ying-Ru Chen
- Web page: https://patentgrep.com/patent/US20220292653A1

## CPC

- G06T 5/94: based on local image properties, e.g. for local contrast enhancement
- G09G 5/10: Intensity circuits
- G06T 5/40: using histogram techniques
- G09G 5/026: {Control of mixing and/or overlay of colours in general (G09G5/022 and G09G5/024 take precedence)}
- G06T 2207/10024: Color image
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G09G 5/363: {Graphics controllers}
- G09G 2320/0242: Compensation of deficiencies in the appearance of colours
- G09G 2320/0271: Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G 2320/066: for control of contrast
- G09G 2320/0686: with two or more screen areas displaying information with different brightness or colours
- G09G 2352/00: Parallel handling of streams of display data
- G09G 2360/06: Use of more than one graphics processor to process data before displaying to one or more screens
- G09G 2360/122: Tiling
- G09G 2360/16: Calculation or use of calculated indices related to luminance levels in display data
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Methods and apparatuses are disclosed herein for performing tone mapping and/or contrast enhancement. In some examples, a block mapping curve is low-pass filtered with block mapping curves of surrounding blocks to form a smoothed block mapping curve. In some examples, overlapped curve mapping of block mapping curves, including smoothed block mapping curves, is performed, including weighting, based on a pixel location, block mapping curves of a group of blocks to generate an interpolated block mapping curve and applying the interpolated block mapping curve to a pixel to perform ton mapping and/or contrast enhancement.

## Claims

### Claim 1

A non-transitory computer readable storage medium storing computer code thereon for execution by at least one processor, the computer code comprising:
instructions to select an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location;
instructions to generate a respective initial block mapping curve for each block of the plurality of blocks;
instructions to determine, from the plurality of blocks 9f pixels, a set of overlap blocks based on the pixel location; and
instructions to generate a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.

### Claim 2 (depends on 1)

The non-transitory computer readable storage medium of claim 1, wherein the instructions to generate the new pixel value comprise:
instructions to scale a red channel value, a green channel value, and a blue channel value of the input pixel value based on a maximum value of the red channel value, the green channel value, and the blue channel value.

### Claim 3 (depends on 2)

The non-transitory computer readable storage medium of claim 2, wherein the instructions to generate the new pixel further comprise:
instructions to combine a luminance value of the input pixel value with the scaled red channel value, the scaled green channel value, and the scaled blue channel value.

### Claim 4 (depends on 1)

The non-transitory computer readable storage medium of claim 1, wherein the input pixel is located within a first block of pixels and the computer code further comprises:
instructions to select a different pixel within the first block of pixels, the different pixel having a different location than the input pixel; and
instructions to generate a new pixel value for the different pixel based on a different spatially low-pass filtered block mapping curve for the first block of pixels, wherein the different spatially low-pass filtered block mapping curve is a function of the respective initial block mapping curves for each overlap block of the set of overlap blocks and the different location.

### Claim 5 (depends on 1)

The non-transitory computer readable storage medium of claim 1, wherein the computer code further comprises:
instructions to generate the new pixel value using distances that are based on relative positions of the input pixel and each of the overlap blocks.

### Claim 6 (depends on 5)

The non-transitory computer readable storage medium of claim 5, wherein an initial block mapping curve of a first overlap block with a center that is relatively closer to the input pixel than a second overlap block of the set of overlap blocks contributes relatively more to the new pixel value than an initial block mapping curve of the second overlap block.

### Claim 7 (depends on 1)

The non-transitory computer readable storage medium of claim 1, wherein the computer code further comprises:
instructions to send the new pixel value to a display device; and
instructions to display a pixel having the new pixel value on the display device.

### Claim 8

A method of image signal processing, the method comprising:
selecting an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location
generating a respective initial block mapping curve for each block of the plurality of blocks;
determining, from the plurality of blocks gf pixels, a set of overlap blocks based on the pixel location; and
generating a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
scaling a red channel value, a green channel value, and a blue channel value of the input pixel value based on a maximum value of the red channel value, the green channel value, and the blue channel value.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
combining a luminance value of the input pixel value with the scaled red channel value, the scaled green channel value, and the scaled blue channel value.

### Claim 11 (depends on 8)

The method of claim 8, wherein the input pixel is located within a first block of pixels and the method further comprises:
selecting a different pixel within the first block of pixels, the different pixel having a different location than the input pixel; and
generating a new pixel value for the different pixel based on a different spatially low-pass filtered block mapping curve for the first block of pixels, wherein the different spatially low-pass filtered block mapping curve is a function of the respective initial block mapping curves for each overlap block of the set of overlap blocks and the different location.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
generating the new pixel value using distances that are based on relative positions of the input pixel and each of the overlap blocks.

### Claim 13 (depends on 12)

The method of claim 12, wherein an initial block mapping curve of a first overlap block with a center that is relatively closer to the input pixel than a second overlap block of the set of overlap blocks contributes relatively more to the new pixel value than an initial block mapping curve of the second overlap block.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
sending the new pixel value to a memory device; and
storing the new pixel value on a storage device.

### Claim 15

A computer system comprising:
an image signal processor, the image signal processor configured to:
select an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location;
generate a respective initial block mapping curve for each block of the plurality of blocks;
determine, from the plurality of blocks of pixels, a set of overlap blocks based on the pixel location; and
generate a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the new pixel value is based on a blended combination of:
a red channel value, a green channel value, and a blue channel value of the input pixel value that are scaled based on a maximum value of the red channel value, the green channel value, and the blue channel value, and
a luminance value of the input pixel value.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the input pixel is located within a first block of pixels and the image signal processor is further configured to:
select a different pixel within the first block of pixels, the different pixel having a different location than the input pixel; and
generate a new pixel value for the different pixel based on a different spatially low-pass filtered block mapping curve for the first block of pixels, wherein the different spatially low-pass filtered block mapping curve is a function of the respective initial block mapping curves for each overlap block of the set of overlap blocks and the different location.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the image signal processor is further configured to:
generate the new pixel value using distances that are based on relative positions of the input pixel and each of the overlap blocks.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein an initial block mapping curve of a first overlap block with a center that is relatively closer to the input pixel than a second overlap block of the set of overlap blocks contributes relatively more to the new pixel value than an initial block mapping curve of the second overlap block.

### Claim 20 (depends on 15)

The computer system of claim 15, further comprising:
a display device;
wherein the image signal processor is further configured to send the new pixel value to the display device; and
wherein the display device is configured to display a pixel having the new pixel value.
