# US 2021/0174480 A1 · Method and device for eliminating ring effect

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

- Number: US 2021/0174480 A1
- Document ID: US20210174480A1
- Status: Published application
- Kind: A1
- Application number: 16/933,150
- Filed: 2020-07-20
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Quanta Computer Inc.
- Applicants: Quanta Computer Inc.
- Inventors: Yeh LIN; Wen-Chu YANG; Chi-Hsien YANG
- Web page: https://patentgrep.com/patent/US20210174480A1

## CPC

- G06T 5/80: Geometric correction
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/70: Denoising; Smoothing
- G02B 3/08: with discontinuous faces, e.g. Fresnel lens {(diffractive Fresnel lenses G02B5/1876)}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS

## Abstract

A method for eliminating a ring effect is provided. The method includes: capturing, by a camera, a standard ring image generated by light illuminating a standard Fresnel lens; establishing a compensation lookup table according to the standard ring image and obtaining a standard ring center point; capturing, by the camera, a ring image generated by the light illuminating a Fresnel lens to be tested; obtaining a ring center point according to the ring image; obtaining a conversion relationship between the ring center point and the standard ring center point; and performing a compensation procedure on the ring image according to the compensation lookup table and the conversion relationship to eliminate the ring effect in the ring image.

## Claims

### Claim 1

A method for eliminating a ring effect, comprising:
capturing, by a camera, a standard ring image generated by light illuminating a standard Fresnel lens;
establishing a compensation lookup table according to the standard ring image and obtaining a standard ring center point;
capturing, by the camera, a ring image generated by the light illuminating a Fresnel lens to be tested;
obtaining a ring center point according to the ring image;
obtaining a conversion relationship between the ring center point and the standard ring center point; and
performing a compensation procedure on the ring image according to the compensation lookup table and the conversion relationship to eliminate the ring effect in the ring image.

### Claim 2 (depends on 1)

The method for eliminating a ring effect as claimed in claim 1, wherein the step of establishing a compensation lookup table according to the standard ring image further comprises:
obtaining an average grayscale value within a range in the center of the standard ring image;
performing a normalization process on a grayscale value of each pixel in the standard ring image with the average grayscale value and obtaining a normalized compensation value corresponding to each pixel; and
generating the compensation lookup table including the pixels and the normalized compensation value corresponding to each pixel.

### Claim 3 (depends on 1)

The method for eliminating a ring effect as claimed in claim 1, wherein the step of obtaining a ring center point according to the ring image further comprises:
performing a convolution operation using a filter window and the ring image to output a grayscale ring image; and
obtaining the ring center point according to a feature intensity of the grayscale ring image.

### Claim 4 (depends on 1)

The method for eliminating a ring effect as claimed in claim 1, wherein the conversion relationship between the ring center point and the standard ring center point is expressed as follows:
[
x
1
y
1
]
=
[
x
0
y
0
]
+
[
Δ


t
x
Δ


t
y
]
wherein (x0, y0) is the ring center point, (x1, y1) is the standard ring center point, and Δtx and Δty are the distances that x0 and y0 shift to x1 and y1, respectively.

### Claim 5 (depends on 1)

The method for eliminating a ring effect as claimed in claim 1, wherein the conversion relationship between the ring center point and the standard ring center point is expressed as follows:
[
x
1
y
1
1
]
=
[
s
x

cos


θ
s
x

(
-
sin


θ
)
t
x

s
x

cos


θ
+
t
y

s
y

(
-
sin


θ
)
s
x

sin


θ
s
y

cos


θ
t
x

s
x

sin


θ
+
t
y

s
y

cos


θ
0
0
1
]
×
[
x
2
y
2
1
]
wherein (x2, y2) is the ring center point, (x1, y1) is the standard ring center point,
[
s
x

cos


θ
s
x

(
-
sin


θ
)
t
x

s
x

cos


θ
+
t
y

s
y

(
-
sin


θ
)
s
x

sin


θ
s
y

cos


θ
t
x

s
x

sin


θ
+
t
y

s
y

cos


θ
0
0
1
]
is an affine transform matrix, wherein sx and sy are differences of magnification on the X and Y axes before and after correction, respectively, tx and ty are displacements in the X-axis and Y-axis directions, respectively, and θ is the rotation angle.

### Claim 6

A device for eliminating a ring effect, comprising:
one or more processors; and
one or more computer storage media for storing one or more computer-readable instructions, wherein the processor is configured to drive the computer storage media to execute the following tasks:
capturing, by a camera, a standard ring image generated by light illuminating a standard Fresnel lens;
establishing a compensation lookup table according to the standard ring image and obtaining a standard ring center point;
capturing, by the camera, a ring image generated by the light illuminating a Fresnel lens to be tested;
obtaining a ring center point according to the ring image;
obtaining a conversion relationship between the ring center point and the standard ring center point; and
performing a compensation procedure on the ring image according to the compensation lookup table and the conversion relationship to eliminate the ring effect in the ring image.

### Claim 7 (depends on 6)

The device for eliminating a ring effect as claimed in claim 6, wherein the step of establishing a compensation lookup table according to the standard ring image performed by the processor further comprises:
obtaining an average grayscale value within a range in the center of the standard ring image;
performing a normalization process on a grayscale value of each pixel in the standard ring image with the average grayscale value and obtaining a normalized compensation value corresponding to each pixel; and
generating the compensation lookup table including the pixels and the normalized compensation value corresponding to each pixel.

### Claim 8 (depends on 6)

The device for eliminating a ring effect as claimed in claim 6, wherein the step of obtaining a ring center point according to the ring image performed by the processor further comprises:
performing a convolution operation using a filter window and the ring image to output a grayscale ring image; and
obtaining the ring center point according to a feature intensity of the grayscale ring image.

### Claim 9 (depends on 6)

The device for eliminating a ring effect as claimed in claim 6, wherein the conversion relationship between the ring center point and the standard ring center point is expressed as follows:
[
x
1
y
1
]
=
[
x
0
y
0
]
+
[
Δ


t
x
Δ


t
y
]
wherein (x0, y0) is the ring center point, (x1, y1) is the standard ring center point, and Δtx and Δty are the distances that x0 and y0 shift to x1 and y1, respectively.

### Claim 10 (depends on 6)

The device for eliminating a ring effect as claimed in claim 6, wherein the conversion relationship between the ring center point and the standard ring center point is expressed as follows:
[
x
1
y
1
1
]
=
[
s
x

cos


θ
s
x

(
-
sin


θ
)
t
x

s
x

cos


θ
+
t
y

s
y

(
-
sin


θ
)
s
x

sin


θ
s
y

cos


θ
t
x

s
x

sin


θ
+
t
y

s
y

cos


θ
0
0
1
]
×
[
x
2
y
2
1
]
wherein (x2, y2) is the ring center point, (x1, y1) is the standard ring center point,
[
s
x

cos


θ
s
x

(
-
sin


θ
)
t
x

s
x

cos


θ
+
t
y

s
y

(
-
sin


θ
)
s
x

sin


θ
s
y

cos


θ
t
x

s
x

sin


θ
+
t
y

s
y

cos


θ
0
0
1
]
is an affine transform matrix, wherein sx and sy are differences of magnification on the X and Y axes before and after correction, respectively, tx and ty are displacements in the X-axis and Y-axis directions, respectively, and θ is the rotation angle.
