# US 8,786,737 B2 · Image correction device and image correction method

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

- Number: US 8,786,737 B2
- Document ID: US8786737B2
- Status: Granted
- Kind: B2
- Application number: 13/218,453
- Filed: 2011-08-26
- Published: 2013-02-28
- Granted: 2014-07-22
- Earliest claimed: 2011-08-26
- Assignees: Novatek Microelectronics Corp.
- Applicants: Wei Hsu
- Inventors: Wei Hsu
- Web page: https://patentgrep.com/patent/US8786737B2

## CPC

- G06T 5/80: Geometric correction
- H04N 25/61: the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"
- H04N 25/671: for non-uniformity detection or correction
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image correction device includes a coordinate transformation unit, a parameter value determination unit, and a correction value calculation unit. The coordinate transformation unit receives first coordinates of at least one pixel data of an illuminated pattern under a first coordinate system, and transforms the first coordinates into second coordinates under a second coordinate system, wherein the second coordinate system is rotated relative to the first coordinate system by an angle with respect to an optical center of the illuminated pattern. The parameter value determination unit determines a respective value of at least one correction parameter according to the position of each of the at least one pixel data in the second coordinate system. The correction value calculation unit calculates an image correction value of each of the at least one pixel data according to the second coordinates and the respective value of the at least one correction parameter.

## Claims

### Claim 1

An image correction device, comprising:
a coordinate transformation unit, receiving first coordinates of at least one pixel data of an illuminated pattern under a first coordinate system, and transforming the first coordinates into second coordinates under a second coordinate system, wherein the second coordinate system is rotated relative to the first coordinate system by an angle with respect to an optical center of the illuminated pattern, wherein the angle is determined according to a shape of the illuminated pattern;
a parameter value determination unit, determining a respective value of at least one correction parameter for each of the at least one pixel data according to a position of each of the at least one pixel data in the second coordinate system; and
a correction value calculation unit, calculating an image correction value of each of the at least one pixel data according to the second coordinates of each of the at least one pixel data and the respective value of the at least one correction parameter.

### Claim 2 (depends on 1)

The image correction device as claimed in claim 1, wherein the second coordinate system is shifted relative to the first coordinate system by a distance such that the optical center serves as an origin of the second coordinate system.

### Claim 3 (depends on 1)

The image correction device as claimed in claim 1, wherein
the second coordinate system is divided into a plurality of regions, and different regions are associated with different values of the at least one correction parameter, and
the parameter value determination unit determines the respective value of the at least one correction parameter corresponding to the at least one pixel data to be the value associated with the region where the at least one pixel data locates.

### Claim 4 (depends on 1)

The image correction device as claimed in claim 1, wherein
the at least one correction parameter comprises a first correction parameter,
when the second coordinates are located at a first quadrant or a fourth quadrant of the second coordinate system, the parameter value determination unit determines the first correction parameter to be a first predetermined value, and
when the second coordinates are located at a second quadrant or a third quadrant of the second coordinate system, the parameter value determination unit determines the first correction parameter to be a second predetermined value.

### Claim 5 (depends on 1)

The image correction device as claimed in claim 1, wherein
the at least one correction parameter comprises a second correction parameter,
when the second coordinates are located at a first quadrant or a second quadrant of the second coordinate system, the parameter value determination unit determines the second correction parameter to be a third predetermined value, and
when the second coordinates are located at a third quadrant or a fourth quadrant of the second coordinate system, the parameter value determination unit determines the second correction parameter to be a fourth predetermined value.

### Claim 6 (depends on 3)

The image correction device as claimed in claim 3, wherein
the at least one correction parameter comprises a second correction parameter,
when the second coordinates are located at a first quadrant or a second quadrant of the second coordinate system, the parameter value determination unit determines the second correction parameter to be a third predetermined value, and
when the second coordinates are located at a third quadrant or a fourth quadrant of the second coordinate system, the parameter value determination unit determines the second correction parameter to be a fourth predetermined value.

### Claim 7 (depends on 1)

The image correction device as claimed in claim 1, wherein a relationship of the first coordinates and the second coordinates of the at least one pixel data is:
x2=(x1−xc)×cos θ+(y1−yc)×sin θ
y2=(x1−xc)×sin θ+(y1−yc)×cos θ
wherein θ is the angle, (x1, y1) are the first coordinates, (x2, y2) are the second coordinates, and (xc, yc) are first coordinates of the optical center.

### Claim 8 (depends on 1)

The image correction device as claimed in claim 1, wherein the correction value calculation unit calculates a gain value of each of the at least one pixel data according to the second coordinates of each of the at least one pixel data and the determined value of the at least one correction parameter, and calculates the image correction value of each of the at least one pixel data according to an original image value and the gain value of each of the at least one pixel data.

### Claim 9 (depends on 8)

The image correction device as claimed in claim 8, wherein the correction value calculation unit respectively multiplies an absolute value of a first-axis coordinate and an absolute value of a second-axis coordinate of the second coordinates by a value of a first correction parameter and a value of a second correction parameter, so as to obtain the gain value.

### Claim 10 (depends on 1)

An image sensor, comprising:
the image correction device as claimed in claim 1; and
an image sensing unit, sensing light of an image to generate image data of the illuminated pattern, and providing the image data to the image correction device, wherein the image data comprises the at least one pixel data.

### Claim 11 (depends on 1)

An image processing device, comprising:
the image correction device as claimed in claim 1, wherein the image correction device is constructed in an integrated circuit and comprises;
an image data receiving circuit, receiving image data of the illuminated pattern, and providing the image data to the image correction device, wherein the image data comprises the at least one pixel data; and
an image processing circuit, coupled to at least one of the image correction device and the image data receiving circuit for performing image processing.

### Claim 12 (depends on 11)

The image processing device as claimed in claim 11, wherein the image processing device comprises an image processing chip which comprises the image correction device, the image data receiving circuit and the image processing circuit integrated thereon.

### Claim 13 (depends on 10)

An electronic device, comprising:
the image sensor as claimed in claim 10; and
an image processing device, coupled to the image sensor, receiving corrected image data provided by the image sensor and performing image processing.

### Claim 14 (depends on 11)

An electronic device, comprising:
the image processing device as claimed in claim 11; and
an image sensor, sensing light of an image to generate image data of the illuminated pattern, and providing the image data to the image processing device for post processing and correction.

### Claim 15

An image correction method, comprising:
transforming first coordinates of at least one pixel data of an illuminated pattern under a first coordinate system into second coordinates under a second coordinate system, wherein the second coordinate system is rotated relative to the first coordinate system by an angle with respect to an optical center of the illuminated pattern, wherein the angle is determined according to a shape of the illuminated pattern;
determining a respective value of at least one correction parameter for each of the at least one pixel data according to a position of each of the at least one pixel data in the second coordinate system; and
calculating an image correction value of each of the at least one pixel data according to the second coordinates of each of the at least one pixel data and the respective value of the at least one correction parameter.

### Claim 16 (depends on 15)

The image correction method as claimed in claim 15, further comprising determining a position of the optical center and at least one predetermined value of the at least one correction parameter according to light intensity distribution of an optical plane under an even light.

### Claim 17 (depends on 15)

The image correction method as claimed in claim 15, wherein the second coordinate system is shifted relative to the first coordinate system by a distance to have the optical center serving as an origin thereof.

### Claim 18 (depends on 15)

The image correction method as claimed in claim 15, wherein
the second coordinate system is divided into a plurality of regions, and different regions are associated with different values of the at least one correction parameter, and
the value of the at least one correction parameter corresponding to the at least one pixel data is determined to be the value associated with the region where the at least one pixel data locates.

### Claim 19 (depends on 15)

The image correction method as claimed in claim 15, wherein
the at least one correction parameter comprises a first correction parameter,
the step of determining the value of the at least one correction parameter comprises:
determining the first correction parameter to be a first predetermined value when the second coordinates are located at a first quadrant or a fourth quadrant of the second coordinate system; and
determining the first correction parameter to be a second predetermined value when the second coordinates are located at a second quadrant or a third quadrant of the second coordinate system.

### Claim 20 (depends on 15)

The image correction method as claimed in claim 15, wherein
the at least one correction parameter comprises a second correction parameter,
the step of determining the value of the at least one correction parameter comprises:
determining the second correction parameter to be a third predetermined value when the second coordinates are located at a first quadrant or a second quadrant of the second coordinate system; and
determining the second correction parameter to be a fourth predetermined value when the second coordinates are located at a third quadrant or a fourth quadrant of the second coordinate system.

### Claim 21 (depends on 19)

The image correction method as claimed in claim 19, wherein
the at least one correction parameter comprises a second correction parameter,
the step of determining the value of the at least one correction parameter comprises:
determining the second correction parameter to be a third predetermined value when the second coordinates are located at a first quadrant or a second quadrant of the second coordinate system; and
determining the second correction parameter to be a fourth predetermined value when the second coordinates are located at a third quadrant or a fourth quadrant of the second coordinate system.

### Claim 22 (depends on 15)

The image correction method as claimed in claim 15, wherein a relationship of the first coordinates and the second coordinates of the at least one pixel data is:
x2=(x1−xc)×cos θ+(y1−yc)×sin θ
y2=−(x1−xc)×sin θ+(y1−yc)×cos θ
wherein θ is the angle, (x1, y1) are the first coordinates, (x2, y2) are the second coordinates, and (xc, yc) are first coordinates of the optical center.

### Claim 23 (depends on 15)

The image correction method as claimed in claim 15, wherein the step of calculating the image correction value of each of the at least one pixel data comprises:
calculating a gain value of each of the at least one pixel data according to the second coordinates of each of the at least one pixel data and the determined value of the at least one correction parameter; and
calculating the image correction value of each of the at least one pixel data according to an original image value and the gain value of each of the at least one pixel data.

### Claim 24 (depends on 23)

The image correction method as claimed in claim 23, wherein the step of calculating the image correction value of each of the at least one pixel data comprises respectively multiplying an absolute value of a first-axis coordinate and an absolute value of a second-axis coordinate of the second coordinates by a value of a first correction parameter and a value of a second correction parameter, so as to obtain the gain value.

### Claim 25 (depends on 15)

A non-transitory computer readable recording medium, comprising a plurality of instructions that enable a processor to execute the image correction method as claimed in claim 15.
