IP Library Granted Patent US 8,503,813
Granted Patent B2
US 8,503,813 · App. 12/976,435 · Granted Aug 6, 2013

Image rectification method

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 8,503,813
App. No.
12/976,435
Granted
Aug 6, 2013
Kind
B2
Abstract

An image rectification method includes the steps of: detecting edges in an image by using a Canny filter; performing Hough transform on the edges to detect lines in the image; selecting a candidate quadrangle from quadrangles formed by the detected lines; obtaining a transform matrix for transforming the candidate quadrangle to a rectangle by homographic transform; rectifying the image by using the transform matrix; and enhancing the rectified image.

Claims (174)

1. An image rectification method comprising:

detecting edges in an image by using a Canny filter;

performing Hough transform on the edges to detect lines in the image;

selecting a candidate quadrangle from quadrangles formed by the detected lines;

obtaining a transform matrix for transforming the candidate quadrangle to a rectangle by homographic transform;

rectifying the image by using the transform matrix; and

enhancing the rectified image,

wherein the step of enhancing the rectified image comprises:

building a luminance histogram of the image, wherein the luminance histogram has a low region, a middle region, and a high region; and

extending the range of the middle region, wherein the percentage of the low region in the image and the percentage of the high region in the image are larger than a threshold value.

2. The image rectification method according to claim 1 , wherein the step of obtaining the transform matrix comprises:

setting vertex positions of the rectangle; and

obtaining the transform matrix by homographic transform according to the vertex positions of the candidate quadrangle and the vertex positions of the rectangle.

3. The image rectification method according to claim 2 , wherein the transform matrix is obtained by the formula: λ=(A T A) −1 A T B, wherein λ is a transform matrix,

A is

(

x

1

y

1

1

0

0

0

-

X

1

x

1

-

X

1

y

1

0

0

0

x

1

y

1

1

-

Y

1

x

1

-

Y

1

y

1

x

2

y

2

1

0

0

0

-

X

2

x

2

-

X

2

y

2

0

0

0

x

2

y

2

1

-

Y

2

x

2

-

Y

2

y

2

x

n

y

n

1

0

0

0

-

X

n

x

n

-

X

n

y

n

0

0

0

x

n

y

n

1

-

Y

n

x

n

-

Y

n

y

n

)

,

B is

(

X

1

Y

1

X

2

Y

2

X

n

Y

n

)

,

n is 1-4, (x n ,y n ) represents the vertex positions of the candidate quadrangle, and (X n ,Y n ) represents the vertex positions of the rectifying rectangle.

4. The image rectification method according to claim 1 , further comprising a step of:

performing bilinear interpolation to obtain extra pixels in the rectified image.

5. The image rectification method according to claim 1 , wherein the threshold value is 10%.

6. The image rectification method according to claim 1 , wherein the step of enhancing the rectified image further comprises:

performing gamma transform on the rectified image.

7. The image rectification method according to claim 1 , wherein the step of selecting the candidate quadrangle comprises:

forming all possible quadrangles based on the detected lines;

counting the pixel quantity of each of the formed quadrangles;

filtering the formed quadrangles according to the pixel quantity; and

selecting one of the filtered quadrangles containing the most corners as the candidate quadrangle.

Assignments (4)
CHANGE OF NAME Recorded Jan 24, 2019
From: ARCSOFT (HANGZHOU) MULTIMEDIA TECHNOLOGY CO., LTD.
To: ARCSOFT CORPORATION LIMITED
Reel/Frame 048127/0823 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 16, 2018
From: ARCSOFT HANGZHOU CO., LTD.
To: ARCSOFT (HANGZHOU) MULTIMEDIA TECHNOLOGY CO., LTD.
Reel/Frame 044632/0473 →
RELEASE OF SECURITY INTEREST Recorded Nov 13, 2015
From: EAST WEST BANK
To: ARCSOFT, INC.; MULTIMEDIA IMAGE SOLUTION LIMITED; ARCSOFT (HANGZHOU) MULTIMEDIA TECHNOLOGY CO., LTD.; ARCSOFT (SHANGHAI) TECHNOLOGY CO., LTD.; ARCSOFT HANGZHOU CO., LTD.
Reel/Frame 037109/0027 →
SECURITY INTEREST Recorded Aug 14, 2014
From: ARCSOFT, INC.; ARCSOFT (SHANGHAI) TECHNOLOGY CO., LTD.; ARCSOFT (HANGZHOU) MULTIMEDIA TECHNOLOGY CO., LTD.; MULTIMEDIA IMAGE SOLUTION LIMITED; ARCSOFT HANGZHOU CO., LTD.
To: EAST WEST BANK
Reel/Frame 033535/0537 →