# US 2015/0146048 A1 · Radial distortion parameter acquiring method and apparatus

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

- Number: US 2015/0146048 A1
- Document ID: US20150146048A1
- Status: Published application
- Kind: A1
- Application number: 14/553,774
- Filed: 2014-11-25
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xin DU; Shuiping LI
- Web page: https://patentgrep.com/patent/US20150146048A1

## CPC

- G06T 5/80: Geometric correction
- G06T 2207/30204: Marker
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of the present invention disclose a radial distortion parameter acquiring method and apparatus. The method includes: randomly selecting a plane as a first plane; making an optical axis of a digital image capture device perpendicular to the first plane, and photographing the first plane to obtain a distorted image of the first plane; acquiring n arcs from the distorted image; and obtaining, by calculation, a radial distortion parameter of the digital image capture device according to the arcs. The apparatus includes: a selecting unit, a photographing unit, an acquiring unit, and a calculating unit. By applying the embodiments of the present invention, only one distorted image needs to be photographed to acquire a radial distortion parameter of a digital image capture device, and the distorted image can be acquired depending on a natural environment.

## Claims

### Claim 1

A radial distortion parameter acquiring method, comprising:
randomly selecting a plane as a first plane;
making an optical axis of a digital image capture device perpendicular to the first plane, and photographing the first plane to obtain a distorted image of the first plane, wherein the distorted image comprises images of m straight lines, the m straight lines are located on the first plane, the m straight lines are parallel to each other, and m≧2;
acquiring n arcs from the distorted image, wherein each arc represents an image of a straight line in the m straight lines, and 2≦n≦m; and
obtaining, by calculation, a radial distortion parameter of the digital image capture device according to the arcs.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the acquiring n arcs from the distorted image comprises:
acquiring n point sets from the distorted image, wherein each point set comprises three or more than three points in an image of a candidate straight line, and the candidate straight line is one of the m straight lines; and
obtaining an arc by fitting by using each of the point sets.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the acquiring n arcs from the distorted image comprises:
acquiring n point sets from the distorted image, wherein each point set comprises three or more than three points in an image of a candidate straight line, and the candidate straight line is one of the m straight lines;
determining an outline boundary of the distorted image;
acquiring an arc set from a distorted image within the outline boundary, wherein the arc set comprises arcs corresponding to images of all straight lines in the distorted image within the outline boundary; and
separately acquiring an arc from the arc set, wherein a distance from the arc to a point set is the shortest.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the determining an outline boundary of the distorted image comprises:
extracting edge points of the distorted image by using the Canny operator; and
linking the edge points to obtain the outline boundary of the distorted image.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the acquiring an arc set from a distorted image within the outline boundary comprises:
acquiring the arc set from the distorted image within the outline boundary by using the Random Sample Consensus RANSAC algorithm, wherein the arc set comprises the arcs corresponding to the images of all the straight lines in the distorted image within the outline boundary.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the obtaining, by calculation, a radial distortion parameter of the digital image capture device according to the arcs comprises:
acquiring coordinates (x1,y1) of a first intersection point of the n arcs and coordinates (x2,y2) of a second intersection point of the n arcs; and
calculating coordinates (xd0,yd0) of a distortion center and a distortion coefficient according to the coordinates of the intersection points, wherein xd0=(x1+x2)/2, yd0=(y1+Y2)/2, λ=4/d2, and d=√{square root over ((x1−x2)+(y1−y2)2)}{square root over ((x1−x2)+(y1−y2)2)}.

### Claim 7

A radial distortion parameter acquiring apparatus, comprising:
a selecting unit, configured to randomly select a plane as a first plane;
a photographing unit, configured to make an optical axis of a digital image capture device perpendicular to the first plane that is selected by the selecting unit, and photograph the first plane to obtain a distorted image of the first plane, wherein the distorted image comprises images of m straight lines, the m straight lines are located on the first plane, the m straight lines are parallel to each other, and m≧2;
an acquiring unit, configured to acquire n arcs from the distorted image that is obtained by photographing by the photographing unit, wherein each arc represents an image of a straight line in the m straight lines, and 2≦n≦m; and
a calculating unit, configured to obtain, by calculation, a radial distortion parameter of the digital image capture device according to the arcs that are acquired by the acquiring unit.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the acquiring unit comprises:
a first point set acquiring subunit, configured to acquire n point sets from the distorted image, wherein each point set comprises three or more than three points in an image of a candidate straight line, and the candidate straight line is one of the m straight lines; and
an arc fitting subunit, configured to obtain an arc by fitting by using each of the point sets that are acquired by the first point set acquiring subunit.

### Claim 9 (depends on 7)

The apparatus according to claim 7, wherein the acquiring unit comprises:
a second point set acquiring subunit, configured to acquire n point sets from the distorted image, wherein each point set comprises three or more than three points in an image of a candidate straight line, and the candidate straight line is one of the m straight lines;
a boundary determining subunit, configured to determine an outline boundary of the distorted image;
an arc set generating subunit, configured to acquire an arc set from a distorted image within the outline boundary that is determined by the boundary determining subunit, wherein the arc set comprises arcs corresponding to images of all straight lines in the distorted image within the outline boundary; and
an arc selecting subunit, configured to separately acquire an arc from the arc set that is generated by the arc set generating subunit, wherein a distance from the arc to a point set that is acquired by the second point set acquiring subunit is the shortest.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the boundary determining subunit comprises:
an edge point extracting subunit, configured to extract edge points of the distorted image by using the Canny operator; and
an edge point linking subunit, configured to link the edge points that are extracted by the edge point extracting subunit, to obtain the outline boundary of the distorted image.

### Claim 11 (depends on 9)

The apparatus according to claim 9, wherein:
the arc set generating subunit is configured to acquire the arc set from the distorted image within the outline boundary by using the Random Sample Consensus RANSAC algorithm, wherein the arc set comprises the arcs corresponding to the images of all the straight lines in the distorted image within the outline boundary.

### Claim 12 (depends on 7)

The apparatus according to claim 7, wherein the calculating unit comprises:
an intersection point acquiring subunit, configured to acquire coordinates (x1,y1) of a first intersection point of the n arcs and coordinates (x2,y2) of a second intersection point of the n arcs; and
a parameter calculating subunit, configured to calculate coordinates (xd0,yd0) of a distortion center and a distortion coefficient λ according to the coordinates of the intersection points, wherein the coordinates of the intersection points are acquired by the intersection point acquiring subunit, xd0=(x1+x2)/2, yd0=(y1+y2)/2, λ=−4/d2 and d=√{square root over ((x1−x2)2+(y1−y2)2)}{square root over ((x1−x2)2+(y1−y2)2)}.
