# US 2009/0268053 A1 · System and Method For Lens Shading Correction Of An Image Sensor Using Splines

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

- Number: US 2009/0268053 A1
- Document ID: US20090268053A1
- Status: Published application
- Kind: A1
- Application number: 12/110,618
- Filed: 2008-04-28
- Published: 2009-10-29
- Earliest claimed: 2008-04-28
- Assignees: OmniVision Technologies, Inc.
- Inventors: XiaoYong Wang; Jizhang Shan; Donghui Wu
- Web page: https://patentgrep.com/patent/US20090268053A1

## CPC

- H04N 25/61: the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"
- H10F 39/806: {Optical elements or arrangements associated with the image sensors}
- H10F 39/8063: {Microlenses}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H10F: INORGANIC SEMICONDUCTOR DEVICES SENSITIVE TO INFRARED RADIATION, LIGHT, ELECTROMAGNETIC RADIATION OF SHORTER WAVELENGTH OR CORPUSCULAR RADIATION

## Abstract

An image sensing system provides for accurate lens shading correction even when there is significant lens shading asymmetry and non-uniformity. A two-dimensional B-spline technique is used to determine lens shading correction surfaces. The number of zones is selected to achieve accurate correction of center, edge, and corner regions of an image. Separate lens shading correction surfaces are calculated for a set of standard illuminants to permit lens shading correction to be adapted based on the illuminant used to capture the image.

## Claims

### Claim 1

An image sensing system, comprising:
a lens shading correction module to correct the gain of each pixel of a captured image for optical shading effects, the lens shading correction module storing shading corrections for a set of at least two standard illuminants with the lens shading correction module adjusting the lens shading correction for the captured image based on a detected illuminant of the captured image.

### Claim 2 (depends on 1)

The image sensing system of claim 1, wherein the detected illuminant is identified by an auto white balance module.

### Claim 3 (depends on 1)

The image sensing system of claim 1, wherein the lens shading correction module includes a primary correction surface to perform shading correction for one standard illuminant and differential values to interpolate at least one other correction surface for other illuminants.

### Claim 4 (depends on 1)

The image sensing system of claim 1, wherein the shading corrections correspond to a two-dimensional correction surface in which the image sensor is divided into at least three zones in an x direction and at least three zones in a Y dimension to form at least nine zones with each zone having a piecewise continuous polynomial correction surface.

### Claim 5 (depends on 4)

The image sensing system of claim 4, wherein the two-dimensional correction surface corresponds to a two-dimensional quadratic B-spline surface.

### Claim 6 (depends on 5)

The image sensing system of claim 5, wherein the shading correction module stores B-spline control point parameters for at least one correction surface.

### Claim 7 (depends on 1)

The image sensing system of claim 1, wherein said shading correction module is located within in an image processor receiving pixel data from an image sensor.

### Claim 8

An image sensing system, comprising:
a lens shading correction module to correct the gain of each pixel of a captured image for optical shading effects, the lens shading correction module storing a two-dimensional correction surface in which the image sensor is partitioned into at least three sections in an x-dimension and at least three sections in a y-dimension to form at least nine different rectangular-shaped zones with each zone having a first piecewise continuous quadratic polynomial correction curve in an x-dimension and a second piecewise continuous quadratic polynomial correction curve in a y-dimension, the number of zones being selected to achieve accurate shading correction of both a center portion of the image and edge portions of the image.

### Claim 9 (depends on 8)

The image sensing system of claim 8, wherein the lens shading correction module stores shading correction surfaces for a set of at least two standard illuminants with the lens shading correction module adjusting the lens shading correction for the captured image based on a detected illuminant of the captured image.

### Claim 10 (depends on 9)

The image sensing system of claim 9, wherein the detected illuminant is identified by an auto white balance module.

### Claim 11 (depends on 9)

The image sensing system of claim 9, wherein the shading correction surfaces includes a main correction surface to perform shading correction for one standard illuminant and differential values to interpolate at least one other correction surface for other illuminants.

### Claim 12 (depends on 8)

The image sensing system of claim 8, wherein the two-dimensional correction surface corresponds to a two-dimensional quadratic B-spline having at least five control points in the x-dimension and five control points in the y-dimension.

### Claim 13 (depends on 8)

The image sensing system of claim 8, wherein there is a correlation in shading response between different color channels, the two-dimensional correction surface corresponding to a single color channel (C1) having a first number of associated control points and wherein each additional color channel (Cn) has a correction surface represented as a correction surface normalized by the response of the single color channel (Cn/C1) and having a second number of associated control points less than said first number.

### Claim 14 (depends on 8)

The image sensing system of claim 8, wherein said lens shading correction module is disposed in an image processor receiving pixel data from an image sensor.

### Claim 15

An image sensing system, comprising:
an image sensor having an array of photo-sensitive pixels;
an image processor having a lens shading correction module to correct the gain of each pixel of a captured image for optical shading effects, the lens shading correction module storing a two-dimensional shading correction surface based on a two-dimensional B-spline curve-fitting of calibration data.

### Claim 16 (depends on 15)

The image sensing system of claim 15, wherein the lens shading correction module stores shading corrections for a set of at least two standard illuminants with the image processor adjusting the lens shading correction for the captured image based on a detected illuminant of the captured image.

### Claim 17 (depends on 16)

The image sensing system of claim 16, wherein the detected illuminant is identified by an auto white balance module.

### Claim 18 (depends on 16)

The image sensing system of claim 16, wherein the shading corrections include a main correction surface to perform shading correction for one standard illuminant and differential values to interpolate at least one other correction surface for other illuminants.

### Claim 19 (depends on 13)

The image sensing system of claim 13, wherein the two-dimensional correction surface corresponds to a two-dimensional quadratic B-spline having at least five control points in an x-dimension and five control points in a y-dimension to form at least three zones in each of the x and y dimensions.

### Claim 20 (depends on 13)

The image sensing system of claim 13, wherein there is a correlation in shading response between different color channels, the two-dimensional correction surface corresponding to a single color channel (C1) having a first number of associated control points and wherein each additional color channel (Cn) has a correction surface represented as a correction surface normalized by the response of the single color channel (Cn/C1) and having a second number of associated control points less than said first number.

### Claim 21

A method of performing lens shading correction for an image sensor having an array of pixels, comprising:
capturing at least one image under a standard illuminant as calibration data; and
calculating a lens shading correction surface using two-dimensional curve fitting in which the image sensor is partitioned into at least three sections in an x-dimension and at least three sections in a y-dimension to form at least nine different rectangular-shaped zones with each zone having a first piecewise continuous quadratic polynomial correction curve in an x-dimension and a second piecewise continuous quadratic polynomial correction curve in a y-dimension, the number of zones being selected to achieve accurate shading correction of both a center portion of the image and edge portions of the image.

### Claim 22 (depends on 21)

The method of claim 21, wherein said two-dimensional curve fitting comprises two-dimensional B-spline curve fitting.
