# US 2003/0214663 A1 · Processing of digital images

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

- Number: US 2003/0214663 A1
- Document ID: US20030214663A1
- Status: Published application
- Kind: A1
- Application number: 10/437,127
- Filed: 2003-05-13
- Published: 2003-11-20
- Earliest claimed: 2002-05-18
- Assignees: Eastman Kodak Company
- Inventors: Richard A. Sharman
- Web page: https://patentgrep.com/patent/US20030214663A1

## CPC

- G06T 5/92: based on global image properties
- G06T 5/40: using histogram techniques
- H04N 1/6077: {Colour balance, e.g. colour cast correction}
- H04N 5/20: Circuitry for controlling amplitude response
- G06T 2207/10024: Color image
- H04N 23/86: for controlling the colour saturation of colour signals, e.g. automatic chroma control circuits
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of correcting a digital image comprises the steps of removing unrepresentative pixels, measuring the mean levels of the remaining pixels for each channel, determining an aim mean for each channel from the measured aim mean, determining a correction level, calculating a power law correction for each channel from the aim mean and the correction level and applying the power law correction to the input image to give a corrected output image.

## Claims

### Claim 1

A method of correcting an input digital image comprising a plurality of channels, the method comprising the steps of eliminating unrepresentative pixels, measuring the mean level of the remaining pixels for each channel, determining an aim mean for each channel from the measured mean levels, determining a correction level, calculating a power law correction for each channel from the aim mean level and the correction level and applying the power law correction to the input image data to give a corrected output image.

### Claim 2 (depends on 1)

A method as claimed in claim 1 wherein the unrepresentative pixels are eliminated by means of at least one mask.

### Claim 3 (depends on 2)

A method as claimed in claim 2 wherein an edge pixel mask is used to eliminate uniform areas of the image.

### Claim 4 (depends on 2)

A method as claimed in claim 2 wherein a highlight exclusion mask is used to eliminate unrepresentative clipped pixels.

### Claim 5 (depends on 2)

A method as claimed in claim 2 wherein a shadow exclusion mask is used to eliminate neutral shadows.

### Claim 6 (depends on 2)

A method as claimed in claim 2 wherein an exclusion mask eliminates pixels whose color saturation is above a pre-set threshold.

### Claim 7 (depends on 6)

A method as claimed in claim 6 wherein the threshold is adaptive.

### Claim 8 (depends on 3)

A method as claimed in claim 3 wherein the mean level used to determine the aim mean for each channel is a combination of the mean levels of the pixels remaining after each mask.

### Claim 9 (depends on 3)

A method as claimed in claim 3 wherein the mean level used to determine the aim mean for each channel comprises a combination of the mean level of the pixels remaining after the exclusion masks and the mean level of the pixels after the application of the edge pixel mask.

### Claim 10 (depends on 1)

A method as claimed in claim 1 wherein the aim mean comprises a combination of the mean levels of each channel.

### Claim 11 (depends on 10)

A method as claimed in claim 10 wherein the aim mean is an equally weighted combination of the mean level of each channel.

### Claim 12 (depends on 1)

A method as claimed in claim 1 wherein the mean level is calculated for both centre weighted pixels and peripheral weighted pixels.

### Claim 13 (depends on 12)

A method as claimed in claim 12 wherein the correction level is inversely proportional to the difference between the centre weighted mean level to the peripheral weighted mean level.

### Claim 14 (depends on 13)

A method as claimed in claim 13 wherein the power law correction is calculated from a combination of the mean level for each channel, the aim mean and the correction level.

### Claim 15 (depends on 1)

A method as claimed in claim 1 wherein the power law correction is applied to the image data after elimination of neutral shadows and highlights, the corrected data and neutral data being recombined to give the corrected output image.

### Claim 16 (depends on 1)

A method as claimed in claim 1 wherein the input image data is low pass filtered prior to correction, the resulting data being subtracted from the uncorrected filtered data to give filtered correction data, the filtered correction data being added to the input image data to give a final corrected output image.

### Claim 17

A computer program product for correcting a digital image comprising a computer readable storage medium having a computer program stored thereon for performing the steps of eliminating unrepresentative pixels, measuring the mean level of the remaining pixels for each channel, determining an aim mean for each channel from the measured mean levels, determining a correction level, calculating a power law correction for each channel from the aim mean level and the correction level and applying the power law correction to the input image data to give a corrected output image.

### Claim 18 (depends on 1)

A computer program comprising code means for performing all the steps of claim 1 when said program is run on a computer.

### Claim 19

A device for correcting a digital image comprising a plurality of channels, the apparatus comprising means for eliminating unrepresentative pixels, means for measuring the mean level of the remaining pixels for each channel, means for determining an aim mean for each channel from the measured mean levels, means for determining a correction level, means for calculating a power law correction for each channel and means for applying the power law correction to the input image data to give a corrected output image.

### Claim 20 (depends on 1)

A system for the processing of digital image data wherein a digital image is input, the image is processed and the processed image stored and/or output, at least part of the processing of the image comprising a method according to claim 1.
