# US 2015/0146979 A1 · Techniques to reduce color artifacts in a digital image

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

- Number: US 2015/0146979 A1
- Document ID: US20150146979A1
- Status: Published application
- Kind: A1
- Application number: 14/182,824
- Filed: 2014-02-18
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Intel Corporation
- Inventors: DMYTRO PALIY; LASSE LAMPINEN; JARNO NIKKANEN
- Web page: https://patentgrep.com/patent/US20150146979A1

## CPC

- H04N 17/002: {for television cameras}
- H04N 9/646: {for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters}
- H04N 25/61: the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Techniques for reducing color artifacts in a digital image are described. In one embodiment, for example, an apparatus may comprise logic, at least a portion of which is in hardware, the logic to determine a respective set of error values for each of a set of lens shading correction (LSC) tables, each set of error values describing error associated with application of its corresponding LSC table to a preprocessed image, determine a respective weight for each of the set of LSC tables based on the corresponding set of error values for that LSC table, and generate a composite LSC table for the preprocessed image as a weighted sum of the set of LSC tables, based on the respective weights for the set of LSC tables. Other embodiments are described and claimed.

## Claims

### Claim 1

An apparatus, comprising:
logic, at least a portion of which is in hardware, the logic to determine a respective set of error values for each of a set of lens shading correction (LSC) tables, each set of error values describing error associated with application of its corresponding LSC table to a preprocessed image, determine a respective weight for each of the set of LSC tables based on the corresponding set of error values for that LSC table, and generate a composite LSC table for the preprocessed image as a weighted sum of the set of LSC tables, based on the respective weights for the set of LSC tables.

### Claim 2 (depends on 1)

The apparatus of claim 1, the logic to segment the preprocessed image into multiple blocks and, for each LSC table in the set of LSC tables, calculate a respective set of block error values, each block error value comprising an error value for one of the multiple blocks.

### Claim 3 (depends on 2)

The apparatus of claim 2, the logic to, for each LSC table in the set of LSC tables, calculate a respective set of block weights based on the set of block error values for that LSC table, each block weight comprising a weight for one of the multiple blocks, and calculate the respective weight for each of the set of LSC tables as a weighted sum of the set of block weights for that LSC table.

### Claim 4 (depends on 3)

The apparatus of claim 3, the logic to identify a set of reliability parameters for the multiple blocks, each reliability parameter indicating a level of reliability for an error value of one of the multiple blocks, and calculate the weighted sum of the set of block weights for each LSC table by weighting the block weights according to the reliability parameters for their corresponding blocks.

### Claim 5 (depends on 1)

The apparatus of claim 1, each LSC table corresponding to a different respective illuminant.

### Claim 6 (depends on 5)

The apparatus of claim 5, the logic to calculate, for each of a plurality of LSC tables, a respective probability of presence of its corresponding illuminant, and define the set of LSC tables to comprise each LSC table among the plurality of LSC tables for which the probability of presence of the corresponding illuminant is greater than zero.

### Claim 7 (depends on 2)

The apparatus of claim 2, the logic to select a number of blocks into which to segment the preprocessed image based on a content of the preprocessed image and segment the preprocessed image into the selected number of blocks.

### Claim 8 (depends on 1)

The apparatus of claim 1, the logic to generate a plurality of composite LSC tables for the preprocessed image, each LSC table corresponding to a respective color.

### Claim 9 (depends on 1)

The apparatus of claim 1, comprising:
a display;
a radio frequency (RF) transceiver; and
one or more RF antennas.

### Claim 10

At least one non-transitory machine-readable medium comprising a set of instructions that, in response to being executed on a computing device, cause the computing device to:
determine a respective set of error values for each of a set of lens shading correction (LSC) tables, each set of error values describing error associated with application of its corresponding LSC table to a preprocessed image;
determine a respective weight for each of the set of LSC tables based on the corresponding set of error values for that LSC table; and
generate a composite LSC table for the preprocessed image as a weighted sum of the set of LSC tables, based on the respective weights for the set of LSC tables.

### Claim 11 (depends on 10)

The at least one non-transitory machine-readable medium of claim 10, comprising instructions that, in response to being executed on the computing device, cause the computing device to:
segment the preprocessed image into multiple blocks; and
for each LSC table in the set of LSC tables, calculate a respective set of block error values, each block error value comprising an error value for one of the multiple blocks.

### Claim 12 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, comprising instructions that, in response to being executed on the computing device, cause the computing device to:
for each LSC table in the set of LSC tables, calculate a respective set of block weights based on the set of block error values for that LSC table, each block weight comprising a weight for one of the multiple blocks; and
calculate the respective weight for each of the set of LSC tables as a weighted sum of the set of block weights for that LSC table.

### Claim 13 (depends on 12)

The at least one non-transitory machine-readable medium of claim 12, comprising instructions that, in response to being executed on the computing device, cause the computing device to:
identify a set of reliability parameters for the multiple blocks, each reliability parameter indicating a level of reliability for an error value of one of the multiple blocks; and
calculate the weighted sum of the set of block weights for each LSC table by weighting the block weights according to the reliability parameters for their corresponding blocks.

### Claim 14 (depends on 10)

The at least one non-transitory machine-readable medium of claim 10, each LSC table corresponding to a different respective illuminant.

### Claim 15 (depends on 14)

The at least one non-transitory machine-readable medium of claim 14, comprising instructions that, in response to being executed on the computing device, cause the computing device to:
calculate, for each of a plurality of LSC tables, a respective probability of presence of its corresponding illuminant; and
define the set of LSC tables to comprise each LSC table among the plurality of LSC tables for which the probability of presence of the corresponding illuminant is greater than zero.

### Claim 16 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, comprising instructions that, in response to being executed on the computing device, cause the computing device to:
select a number of blocks into which to segment the preprocessed image based on a content of the preprocessed image; and
segment the preprocessed image into the selected number of blocks.

### Claim 17 (depends on 10)

The at least one non-transitory machine-readable medium of claim 10, comprising instructions that, in response to being executed on the computing device, cause the computing device to generate a plurality of composite LSC tables for the preprocessed image, each LSC table corresponding to a respective color.

### Claim 18

A method, comprising:
determining, by a processor circuit, a respective set of error values for each of a set of lens shading correction (LSC) tables, each set of error values describing error associated with application of its corresponding LSC table to a preprocessed image;
determining a respective weight for each of the set of LSC tables based on the corresponding set of error values for that LSC table; and
generating a composite LSC table for the preprocessed image as a weighted sum of the set of LSC tables, based on the respective weights for the set of LSC tables.

### Claim 19 (depends on 18)

The method of claim 18, comprising:
segmenting the preprocessed image into multiple blocks; and
for each LSC table in the set of LSC tables, calculating a respective set of block error values, each block error value comprising an error value for one of the multiple blocks.

### Claim 20 (depends on 19)

The method of claim 19, comprising:
for each LSC table in the set of LSC tables, calculating a respective set of block weights based on the set of block error values for that LSC table, each block weight comprising a weight for one of the multiple blocks; and
calculating the respective weight for each of the set of LSC tables as a weighted sum of the set of block weights for that LSC table.

### Claim 21 (depends on 20)

The method of claim 20, comprising:
identifying a set of reliability parameters for the multiple blocks, each reliability parameter indicating a level of reliability for an error value of one of the multiple blocks; and
calculating the weighted sum of the set of block weights for each LSC table by weighting the block weights according to the reliability parameters for their corresponding blocks.

### Claim 22 (depends on 18)

The method of claim 18, each LSC table corresponding to a different respective illuminant.

### Claim 23 (depends on 22)

The method of claim 22, comprising:
calculating, for each of a plurality of LSC tables, a respective probability of presence of its corresponding illuminant; and
defining the set of LSC tables to comprise each LSC table among the plurality of LSC tables for which the probability of presence of the corresponding illuminant is greater than zero.

### Claim 24 (depends on 19)

The method of claim 19, comprising:
selecting a number of blocks into which to segment the preprocessed image based on a content of the preprocessed image; and
segmenting the preprocessed image into the selected number of blocks.

### Claim 25 (depends on 18)

The method of claim 18, comprising generating a plurality of composite LSC tables for the preprocessed image, each LSC table corresponding to a respective color.
