IP Library Granted Patent US 7,280,705
Granted Patent B1
US 7,280,705 · App. 10/634,296 · Granted Oct 9, 2007

Tone correction method using a blending mask

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,280,705
App. No.
10/634,296
Granted
Oct 9, 2007
Kind
B1
Abstract

A digital imaging system includes an image sensor, a frame buffer and a tone correction circuit. The tone correction circuit computes tone corrected pixel data using one or more tone correction curves. In operation, tone corrected pixel data for a first pixel is computed by generating a pixel mask for an m×n neighborhood of pixels surrounding the first pixel, applying a blending mask of weight factors to the pixel mask and computing a selector value based on the pixel mask and weight factors associated with the blending mask. The selector value is used to derive a first tone correction curve for use to compute the tone corrected pixel data for the first pixel. The first tone correction curve can be selected from the multiple tone correction curves based on the selector value or it can be derived by blending multiple tone correction curves based on the selector value.

Claims (31)

1. A digital imaging system, comprising:

an image sensor comprising a two-dimensional array of pixel elements, said image sensor outputting digital signals as pixel data representing an image of a scene;

a frame buffer, in communication with said image sensor, coupled to store said pixel data provided by said image sensor; and

a tone correction circuit coupled to receive pixel data from said frame buffer and compute tone corrected pixel data using one or more tone correction curves,

wherein said tone correction circuit computes tone corrected pixel data for a first pixel by generating a pixel mask for an m×n neighborhood of pixels surrounding said first pixel, the pixel mask classifying the m×n neighborhood of pixels to a first value and a second value according to one or more threshold values, applying a blending mask of weight factors to said pixel mask and computing a selector value based on said pixel mask and weight factors associated with said blending mask, said selector value being used to derive a first tone correction curve for use to compute said tone corrected pixel data for said first pixel; and

wherein the selector value is computed by counting the number of first values in the pixel mask corresponding to a respective weight factor in the blending mask, multiplying each count value by the respective weight factor, and summing the count-weight factor products to obtain the selector value.

2. The digital imaging system of claim 1 , wherein said first tone correction curve comprises a selected one of said one or more tone correction curves.

3. The digital imaging system of claim 1 , wherein said first tone correction curve comprises a complex tone correction curve derived by blending a first one and a second one of said one or more tone correction curves based on said selector value.

4. The digital imaging system of claim 1 , wherein said one or more tone correction curves comprise a first tone correction curve for outdoor lighting condition and a second tone correction curve for indoor lighting condition.

5. The digital imaging system of claim 1 , wherein said pixel mask is generated by comparing pixel data for each pixel in said m×n neighborhood of pixels with a threshold value, said pixel mask assigning a first value of logical “1” to a pixel when the pixel data of said pixel is less than said threshold value and assigning a second value of logical “0” to a pixel when the pixel data of said pixel is greater than said threshold value.

6. The digital imaging system of claim 1 , wherein said blending mask implements a two dimensional low pass filter, a Gaussian filter or any other filter that replaces a step function by a continuous slope.

7. The digital imaging system of claim 1 , wherein said m×n neighborhood of pixels comprises a m×m neighborhood of pixels.

8. A method for providing tone correction to an image, comprising:

generating digital pixel data representative of an image of a scene using an image sensor, said image sensor comprising a two-dimensional array of pixel elements;

storing said digital pixel data in a frame buffer;

for a first pixel in said image, selecting an m×n neighborhood of pixels surrounding said first pixel;

generating a pixel mask for said m×n neighborhood of pixels, said pixel mask including a first value to indicate a pixel in said m×n neighborhood of pixels having a pixel value greater than a threshold value and said pixel mask including a second value to indicate a pixel in said m×n neighborhood of pixels having a pixel value smaller than said threshold value;

providing a blending mask including weight factors;

applying said blending mask to said pixel mask;

computing a selector value based on said pixel mask and weight factors associated with said blending mask, wherein computing the selector value comprises: counting the number of first values in the pixel mask corresponding to a respective weight factor in the blending mask, multiplying each count value by the respective weight factor, and summing the count-weight factor products to obtain the selector value;

providing a plurality of tone correction curves; and

deriving a first tone correction curve from said plurality of tone correction curves based on said selector value for use to compute said tone corrected pixel data for said first pixel.

9. The method of claim 8 , wherein said deriving said first tone correction curve comprises selecting a tone correction curve from said plurality of tone correction curves.

10. The method of claim 8 , wherein said deriving said first tone correction curve comprises blending a first one and a second one of said plurality of tone correction curves based on said selector value.

11. The method of claim 8 , wherein said plurality of tone correction curves comprise a first tone correction curve for outdoor lighting condition and a second tone correction curve for indoor lighting condition.

12. The method of claim 8 , wherein said generating a pixel mask for said m×n neighborhood of pixels comprises:

for each pixel is said m×n neighborhood of pixels, comparing the pixel data associated with each pixel to said threshold value;

assigning said first value being a logical “1” to a pixel when the pixel data of said pixel is less than said threshold value; and

assigning said second value being a logical “0” to a pixel when the pixel data of said pixel is greater than said threshold value.

13. The method of claim 8 , wherein said blending mask implements a two dimensional low pass filter, a Gaussian filter or any other filter that replaces a step function by a continuous slope.

14. The method of claim 8 , wherein said m×n neighborhood of pixels comprises a m×m neighborhood of pixels.

Assignments (3)
RELEASE OF SECURITY INTEREST Recorded Nov 19, 2012
From: COMERICA BANK
To: PIXIM, INC.
Reel/Frame 029322/0804 →
SECURITY AGREEMENT Recorded Mar 31, 2011
From: PIXIM, INC., A CALIFORNIA CORPORATION
To: COMERICA BANK, A TEXAS BANKING ASSOCIATION
Reel/Frame 026064/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2003
From: FRANK, MICHAEL; MOTTA, RICARDO J.
To: PIXIM, INC.
Reel/Frame 014378/0834 →