# US 2004/0081369 A1 · Enhancing the tonal, spatial, and color characteristics of digital images using expansive and compressive tone scale functions

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

- Number: US 2004/0081369 A1
- Document ID: US20040081369A1
- Status: Published application
- Kind: A1
- Application number: 10/280,369
- Filed: 2002-10-25
- Published: 2004-04-29
- Earliest claimed: 2002-10-25
- Assignees: Eastman Kodak Company
- Inventors: Edward B. Gindele; Andrew C. Gallagher
- Web page: https://patentgrep.com/patent/US20040081369A1

## CPC

- G06T 5/92: based on global image properties
- G06T 5/40: using histogram techniques
- G06V 10/30: Noise filtering
- H04N 1/6027: {Correction or control of colour gradation or colour contrast (H04N1/6058 takes precedence)}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of enhancing the tonal and spatial characteristics of a digital image includes receiving a source digital image wherein the source digital image is in a luminance-chrominance representation having a luminance digital image channel and at least two chrominance digital image channels; generating a tone scale function that can be used to enhance the tonal characteristics of the source digital image; and classifying the tone scale function into one of two or more categories wherein the classification categories include expansive and compressive. The method further includes using the tone scale function, a spatial filter, and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as compressive, and using the tone scale function and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as expansive.

## Claims

### Claim 1

A method of enhancing the tonal and spatial characteristics of a digital image, comprising the steps of:
a) receiving a source digital image including a plurality of pixels wherein the source digital image is in a luminance-chrominance representation having a luminance digital image channel and at least two chrominance digital image channels;
b) generating a tone scale function that can be used to enhance the tonal characteristics of the source digital image;
c) classifying the tone scale function into one of two or more categories wherein the classification categories include expansive and compressive;
d) using the tone scale function, a spatial filter, and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as compressive; and
e) using the tone scale function and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as expansive.

### Claim 2 (depends on 1)

The method of claim 1 further including the step of:
f) amplifying the spatial detail of the enhanced luminance digital image channel produced in step e) in response to the tone scale function to generate a spatially enhanced luminance digital image channel.

### Claim 3 (depends on 1)

The method of claim 1 wherein step c) includes using a spatial filter and amplifying the spatial detail of the enhanced luminance digital image channel produced in step e) in response to the tone scale function to generate a spatially enhanced luminance digital image channel.

### Claim 4 (depends on 2)

The method of claim 2 wherein the amplifying step includes calculating the slope of the tone scale function and using the calculated slope in generating the spatially enhanced luminance digital image channel.

### Claim 5 (depends on 3)

The method of claim 3 wherein the amplifying step includes calculating the slope of the tone scale function and using the calculated slope in generating the spatially enhanced luminance digital image channel.

### Claim 6 (depends on 1)

The method of claim 1 wherein step e) further includes modifying the chrominance digital image channels in accordance with the tone scale function.

### Claim 7 (depends on 6)

The method of claim 6 wherein the modifying step includes calculating the slope of the tone scale function.

### Claim 8 (depends on 2)

The method of claim 2 wherein step e) further includes modifying the chrominance digital image channels in accordance with the tone scale function.

### Claim 9 (depends on 8)

The method of claim 8 wherein the modifying step includes calculating the slope of the tone scale function.

### Claim 10 (depends on 1)

The method of claim 1 further including the step of:
g) combining the enhanced luminance digital image channel and the chrominance digital image channels to generate an enhanced digital image when the tone scale function has been classified as compressive, and combining the spatially enhanced luminance digital image channel and the chrominance digital image channels to generate an enhanced digital image when the tone scale function has been classified as expansive.

### Claim 11 (depends on 10)

The method of claim 10 using a sigmoid shaped rendering function independent of the source digital image and the enhanced digital image to generate a rendered digital image.

### Claim 12 (depends on 1)

The method of claim 1 further including the step of using the pixels of the source digital image to generate the tone scale function.

### Claim 13 (depends on 1)

The method of claim 1 further including the step of using the pixels of the source digital image to produce a histogram and using the histogram to generate the tone scale function.

### Claim 14 (depends on 13)

The method of claim 13 wherein the tone scale function maps a fixed percentile of the histogram to a predetermined output value and a different fixed percentile of the histogram to a predetermined output value.

### Claim 15 (depends on 1)

The method of claim 1 wherein the pixels of the source digital image have a logarithmic relationship to original scene intensities.

### Claim 16 (depends on 1)

The method of claim 1 wherein the tone scale function is manually controlled with at least one control parameter.

### Claim 17 (depends on 1)

The method of claim 1 further including the steps of:
h) generating the tone scale function having a highlight tone scale segment and a shadow tone scale segment defined relative to a reference point on the tone scale function, wherein:
i) the highlight tone scale segment is defined by a different mathematical function than the shadow tone scale segment;
ii) the highlight tone scale segment is defined for points that are equal to or greater than the reference point; and
iii) the shadow tone scale segment is defined for points that are equal to or less than the reference point.

### Claim 18 (depends on 17)

The method of claim 17 further including the steps of:
iv) classifying the highlight tone scale segment as either expansive or compressive;
v) classifying the shadow tone scale segment as either expansive or compressive;
vi) classifying the tone scale function as compressive when either the highlight or shadow tone scale segment has been classified as compressive and classifying the tone scale function as expansive when both the highlight and shadow tone scale segment have been classified as expansive.

### Claim 19 (depends on 17)

The method of claim 17 wherein the slopes of the highlight and shadow tone scale segments are each equal at the reference point.

### Claim 20 (depends on 17)

The method of claim 17 wherein the slopes of the highlight and shadow tone scale segments are unequal at the reference point.

### Claim 21 (depends on 17)

The method of claim 17 wherein the tone scale function has an inflection point at the reference point.

### Claim 22 (depends on 17)

The method of claim 17 wherein the reference point is calculated using the pixels of the source digital image.

### Claim 23

A method of enhancing the tonal and spatial characteristics of a digital image, comprising the steps of:
a) receiving a source digital image including a plurality of pixels wherein the source digital image is in a luminance-chrominance representation having a luminance digital image channel and at least two chrominance digital image channels;
b) generating a tone scale function that can be used to enhance the tonal characteristics of the source digital image;
c) classifying the tone scale function into one of three categories wherein the classification categories include expansive, compressive, and mixed expansive-compressive;
d) using the tone scale function, a first spatial filter, and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as compressive;
e) using the tone scale function and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as expansive; and
f) using the tone scale function, the first or another spatial filter, and the luminance digital image channel to generate an enhanced luminance digital image channel when the tone scale function has been classified as mixed expansive-compressive and amplifying the spatial detail of the enhanced luminance digital image channel in response to the tone scale function to generate a spatially enhanced luminance digital image channel.

### Claim 24 (depends on 23)

The method of claim 23 wherein the amplifying step includes calculating the slope of the tone scale function and using the calculated slope in generating the spatially enhanced luminance digital image channel.

### Claim 25 (depends on 23)

The method of claim 23 wherein step f) further includes modifying the chrominance digital image channels in accordance with the tone scale function.

### Claim 26 (depends on 24)

The method of claim 24 wherein the modifying step includes calculating the slope of the tone scale function.

### Claim 27 (depends on 22)

The method of claim 22 wherein step e) further includes modifying the chrominance digital image channels in accordance with the tone scale function.

### Claim 28 (depends on 27)

The method of claim 27 wherein the modifying step includes calculating the slope of the tone scale function.

### Claim 29 (depends on 23)

The method of claim 23 further including the steps of;
i) combining the enhanced luminance digital image channel and the chrominance digital image channels to generate an enhanced digital image when the tone scale function has been classified as compressive;
ii) combining the enhanced luminance digital image channel and the chrominance digital image channels to generate an enhanced digital image when the tone scale function has been classified as expansive; and
iii) combining the spatially enhanced luminance digital image channel and the chrominance digital image channels to generate an enhanced digital image when the tone scale function has been classified as mixed expansive-compressive.

### Claim 30 (depends on 29)

The method of claim 29 using a sigmoid shaped rendering function independent of the source digital image and the enhanced digital image to generate a rendered digital image.

### Claim 31 (depends on 23)

The method of claim 23 further including the step of using the pixels of the source digital image to generate the tone scale function.

### Claim 32 (depends on 23)

The method of claim 23 further including the step of using the pixels of the source digital image to produce a histogram and using the histogram to generate the tone scale function.

### Claim 33 (depends on 32)

The method of claim 32 wherein the tone scale function maps a fixed percentile of the histogram to a predetermined output value and a different fixed percentile of the histogram to a predetermined output value.

### Claim 34 (depends on 23)

The method of claim 23 wherein the pixels of the source digital image have a logarithmic relationship to original scene intensities.

### Claim 35 (depends on 23)

The method of claim 23 wherein the tone scale function is manually controlled with at least one control parameter.

### Claim 36 (depends on 23)

The method of claim 23 further including the steps of:
g) generating the tone scale function having a highlight tone scale segment and a shadow tone scale segment defined relative to a reference point on the tone scale function, wherein:
i) the highlight tone scale segment is defined by a different mathematical function than the shadow tone scale segment;
ii) the highlight tone scale segment is defined for points that are equal to or greater than the reference point; and
iii) the shadow tone scale segment is defined for points that are equal to or less than the reference point.

### Claim 37 (depends on 36)

The method of claim 36 further including the steps of:
iv) classifying the highlight tone scale segment as either expansive or compressive;
v) classifying the shadow tone scale segment as either expansive or compressive;
vi) classifying the tone scale function as compressive when both the highlight and shadow tone scale segments have been classified as compressive, classifying the tone scale function as expansive when both the highlight and shadow tone scale segment have been classified as expansive, and classifying the tone scale function as mixed expansive-compressive when only one of the highlight or shadow tone scale segments have been classified as expansive.

### Claim 38 (depends on 36)

The method of claim 36 wherein the slopes of the highlight and shadow tone scale segments are each equal at the reference point.

### Claim 39 (depends on 36)

The method of claim 36 wherein the slopes of the highlight and shadow tone scale segments are unequal at the reference point.

### Claim 40 (depends on 36)

The method of claim 36 wherein the tone scale function has an inflection point at the reference point.

### Claim 41 (depends on 36)

The method of claim 36 wherein the reference point is calculated using the pixels of the source digital image.

### Claim 42 (depends on 36)

The method of claim 36 further including the step of using the pixels of the source digital image to generate a histogram and using the histogram to generate the highlight tone scale segment.

### Claim 43 (depends on 36)

The method of claim 36 wherein the highlight tone scale segment maps a fixed percentile of the histogram to a predetermined output value.

### Claim 44 (depends on 36)

The method of claim 36 further including the step of using the pixels of the source digital image to generate a histogram and using the histogram to generate the shadow tone scale segment.

### Claim 45 (depends on 43)

The method of claim 43 wherein the shadow tone scale segment maps a fixed percentile of the histogram to a predetermined output value.

### Claim 46 (depends on 1)

A computer storage product having at least one computer storage medium having instructions stored therein causing one or more computers to perform the method of claim 1.

### Claim 47 (depends on 23)

A computer storage product having at least one computer storage medium having instructions stored therein causing one or more computers to perform the method of claim 23.
