CN101329764B - Method for positioning video camera using two arbitrary coplane circles - Google Patents

Method for positioning video camera using two arbitrary coplane circles Download PDF

Info

Publication number
CN101329764B
CN101329764B CN2008100412167A CN200810041216A CN101329764B CN 101329764 B CN101329764 B CN 101329764B CN 2008100412167 A CN2008100412167 A CN 2008100412167A CN 200810041216 A CN200810041216 A CN 200810041216A CN 101329764 B CN101329764 B CN 101329764B
Authority
CN
China
Prior art keywords
camera
circles
coordinate system
coordinate
circle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008100412167A
Other languages
Chinese (zh)
Other versions
CN101329764A (en
Inventor
黄茂祥
郑银强
刘允才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN2008100412167A priority Critical patent/CN101329764B/en
Publication of CN101329764A publication Critical patent/CN101329764A/en
Application granted granted Critical
Publication of CN101329764B publication Critical patent/CN101329764B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to a method for calibrating a camera by any two coplanar circles, and two non-concyclic centre coplanar circles are used as the calibration objects. A clear image is taken by the camera for the calibration objects, to define the equations of two elliptical shadows in the images and solve the coordinates of the image points of the focoids. The image point coordinates of the focoids and the shadow equations of absolute secondary curves are utilized to define the focal distance of the camera; a world coordinate system is set up, with the center of any of the two circles as the origin, and Z axis is parallel with the normal direction of the plane of the two circles. A rotation matrix is defined according to the relation between blanking points, blanking lines and the elliptical shadows; the solved position, of the world coordinate system, under the camera coordinate system is the right translation vector. The method of the invention can easily and conveniently define all variable parameters every time when the camera is calibrated, can realize the wholly automatic calibration, reduce calculation errors arisen by human intervention, and is particularly suitable for non-contact industrial inspection and the vision-based independent navigation system.

Description

Adopt two any coplane circles to carry out the method for camera calibration
Technical field
The present invention relates to a kind of method that adopts two any coplane circles to carry out camera calibration, can determine parameters such as focal length of camera, rotation matrix and translation vector exactly.The invention belongs to advanced field of measuring technique, be particularly useful in the computer stereo vision camera calibration, non-contact industrial detection and based on the autonomous navigation system of vision.
Background technology
The purpose of camera calibration is to adopt specific demarcation thing to determine the inside and outside parameter of video camera.Camera calibration is the basic demand of obtaining three-dimensional information in the computer vision field from two dimensional image, is to finish many vision work necessary procedure.Along with popularizing of video camera, many non-vision professional persons need a kind of simple and easy, scaling method helps them to finish the work relevant with vision flexibly.Camera calibration is based on the basis of the non-contact measurement and the independent navigation of machine vision.Because circle has easy detection and anti-advantage such as block, it is often used as demarcates thing and comes calibrating camera.
Utilizing a plurality of circles to carry out aspect the camera calibration, people have done a large amount of work, and have obtained some achievements.Recent two algorithm (P.Gurdjos that above coplane circle is demarcated that propose, P.Sturm, and Y.H.Wu, " Euclidean structure from N 〉=2 parallel circles:theory and algorithms; " in Proc.Eur.Conf.on Computer Vision, pp.238-252, IEEE (2006)) needs the different reference object image of at least three width of cloth, relate generally to the calculating of intrinsic parameters of the camera, and ignored the calculating of video camera external parameter to a certain extent.Yet work is crucial to the external parameter of video camera to computer vision, for example the definite needs of independent navigation and three-dimensional attitude of object.In addition, in the middle of the application of reality, the position of video camera is often change, and respective focal is also and then adjusted, and other inner parameter of video camera, as aspect ratio, inclination factor and principal point almost remain unchanged.Now also there is method to propose to adopt two any coplane circles to carry out camera calibration (Q.Chen, H.Wu, and T.Wada, " Camera calibration with two arbitrary coplanarcircles, " in Proc.Eur.Conf.on Computer Vision, pp.521-532, IEEE (2004)), but this is a kind of method based on the iteration optimum, and convergence depends on suitable initialization condition very much, and does not have clear and definite proposition how algorithm to be carried out initialization.This method is the angle from cartesian geometry in addition, needs quite complicated equation to describe the oblique cone body of being determined by photocentre and oval image.Therefore, at known invariant parameter: aspect ratio, under the condition of inclination factor and principal point, a kind of simple and easy stable method that can determine focal length of camera and external parameter fully has bigger actual application value.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, propose a kind of method that adopts two any coplane circles to carry out camera calibration, can determine focus of camera and external parameter easily, and can realize full automatic calibration, need not man-machine interaction.
Above-mentioned purpose of the present invention is achieved through the following technical solutions: the demarcation thing that the present invention adopts is two, and the coplane of the concyclic heart is not round arbitrarily.To demarcate thing and be positioned in the video camera ken, and take the demarcation thing, obtain a width of cloth picture rich in detail with video camera; Detect the border of two oval images in the image, and utilize the boundary pixel point to simulate two elliptic equations; Two elliptic equations that utilization simulates are obtained the corresponding image point position of two groups of focoid in the image, thereby obtain the picpointed coordinate of two groups of different focoid; Utilize the picpointed coordinate of these two groups of focoid and drop shadow curve's equation of absolute conic to obtain focal length of camera; According to the shadow point that disappears, the relation between hachure and the oval image of disappearing, determine rotation matrix, obtain translation vector according to the singularity of the coordinate system of being set up at last, finish camera parameters and demarcate.
Measuring method involved in the present invention comprises following concrete steps:
1. at first make and demarcate thing.Demarcation thing of the present invention is two, and the coplane of the concyclic heart is not round arbitrarily.
2. take to demarcate thing with video camera, obtain the reference object image that a width of cloth has two oval images, guarantee that clear and each circle of imaging all surpasses one-third of the area and blocks.
3. utilize the canny operator, detect the border of each oval image on the reference object image respectively, thereby obtain two groups of point sets that constitute by oval image boundary pixel; Utilize this two groups of point sets respectively, simulate the equation of two oval images.
4. utilize two oval image equations that simulate, in complex domain, solve their intersecting point coordinate, promptly get the picpointed coordinate i of two groups of focoid n, j n, n=1,2, i wherein 1And j 1, i 2And j 2Be conjugate pair.
5. utilize the projection equation of absolute conic and the picpointed coordinate of focoid to solve focus of camera.
6. set up world coordinate system, initial point any center of circle in two circles, the Z axle is parallel with the normal direction on two round planes, place.Obtain the equation of the hachure that disappears by the picpointed coordinate of focoid, utilize the shadow point that disappears, the restriction relation between hachure and the oval image equation of disappearing, determine rotation matrix.
7. the coordinate of initial point under camera coordinate system that solves world coordinate system is translation vector.So far, finish Camera calibration.
Compare with existing method, the present invention only needs a width of cloth to demarcate the image of thing, can determine the inside and outside parameter that the shift in position with video camera changes easily, and can realize full automatic calibration, need not man-machine interaction, reduced the measuring error that artificial intervention causes.The present invention be particularly useful in the computer stereo vision camera calibration, non-contact industrial detection and based on the autonomous navigation system of vision.
Description of drawings
Fig. 1 carries out the synoptic diagram of camera calibration for adopting two any coplane circles.
Fig. 2 carries out the demarcation thing synoptic diagram that camera calibration adopted for two any coplane circles of employing.
Embodiment
In order to understand the present invention better, technical scheme of the present invention is described in further detail below in conjunction with drawings and Examples.
Figure 1 shows that the perspective view of demarcation thing on the plane of delineation that the present invention proposes.Two any circles that are used to demarcate are in plane π, and OXYZ is a camera coordinate system, O wX wY wZ wBe world coordinate system, wherein O wNow (equally in the drawings on the center of circle, the right) on the center of circle that justify on the left side in the drawings, Z wAxle is parallel with the normal direction of plane π.If the intrinsic parameter matrix of video camera is K, then according to pin-hole model, (u wherein 0, v 0) expression principal point position, f 1/ f 2Be aspect ratio, s is an inclination factor, and these all are invariant parameters, is known in the present invention.Other has f 1=fm x, f 2=fm y, wherein f is a focus of camera, m xAnd m yBe respectively the pixel count of x and y direction epigraph coordinate unit distance, m xAnd m yBe known parameters.
Fig. 2 is a demarcation thing synoptic diagram of the present invention.Two circles can be tangent, overlap, mutually disjoint on same plane, but all not concyclic heart.
Describe the implementation step of the inventive method below in detail:
1. at first make and demarcate thing.On a smooth object, draw two circles arbitrarily, notice that the center of circle is not in same point.The coplane of the concyclic heart is not round as demarcating thing arbitrarily with these two.
2. will demarcate thing and entirely be placed in the FOV (Field of View) of video camera, and take with video camera and demarcate thing, obtain the reference object image that a width of cloth has two oval images.Must guarantee that imaging is clear, and each circle there are not all 1/3rd above areas to block.
3. utilize the canny operator, detect the border of each oval image in the reference object image respectively, thereby obtain two groups of point sets that constitute by oval image boundary pixel.Utilize this two groups of point sets respectively, simulate the equation of two oval images, with the Matrix C of oval image nExpression, n=1 wherein, 2.Concrete method is referring to (A.W.Fitzgibbon, M.Pilu, and R.B.Fisher, " Direct Least-SquaresFitting of Ellipses ", IEEE Trans.Pattern Analysis and MachineIntelligence, vol.14, no.2, pp.239-256).
4. utilize the equation of two oval images, in complex domain, solve their intersecting point coordinate, promptly get the picpointed coordinate i of two groups of focoid n, j n, n=1,2, i wherein 1And j 1, i 2And j 2Be conjugate pair.
5. utilize the projection equation of absolute conic and the picpointed coordinate of focoid to solve focus of camera.Because the picture point of focoid promptly has in the projection of absolute conic
Figure G2008100412167D00041
With
Figure G2008100412167D00042
ω=(KK wherein T) -1=K -TK -1Projection equation for absolute conic.Have only a unknown parameter f among the K, obviously can solve focus of camera f.
6. determine rotation matrix: rotation matrix R=[r 1, r 2, r 3], r wherein n, n=1,2,3 is the n column vector of rotation matrix.In order to eliminate the uncertainty of world coordinate system direction, assumed conditions
(0?0?1)·r 3≥0,(1?0?0)·r 1≥0。(1)
At first obtain the equation l of the hachure that disappears by the picpointed coordinate of focoid Utilize again plane π normal direction the shadow point that disappears, restriction relation (R.Hartley and A.Zisserman between hachure and the oval image equation disappears, Multiple View Geometry in Computer Vision, Cambridge Univ.Press (2000)) Kr 3∝ ω *l , can determine
r 3 = s 1 K - 1 ω * l ∞ | | K - 1 ω * l ∞ | | - - - ( 2 )
S wherein 1Be undetermined symbol ,+or-.
Utilize relational expression
p 1 = Kt 1 ∝ C 1 * l ∞ p 2 = Kt 2 ∝ C 2 * l ∞ , - - - ( 3 )
Wherein, t n, n=1,2 are circle Q n, n=1, the coordinate of 2 the center of circle under camera coordinate system, p n, n=1,2 are circle Q n, n=1, the coordinate of the picture point in 2 the center of circle under camera coordinate system.
Utilize formula Kr 1∝ l * l , l=p wherein 1* p 2Axis of symmetry for image.
Can get r 1 = s 2 K - 1 ( l × l ∞ ) | | K - 1 ( l × l ∞ ) | | - - - ( 4 )
S wherein 2Be undetermined symbol ,+or-.
Comprehensively (1), (2), (4) formula, can be unique determine s 1, s 2Thereby can calculate rotation matrix R=[r 1r 3* r 1r 3].
7. determine translation vector: owing to, solve this center of circle and be translation vector at the coordinate of camera coordinate system with the center of circle of arbitrary circle in two circles initial point as world coordinate system.
Concrete steps are as follows:
The i of unit n, j n, i.e. i n, j nThe 4th element of vector is 1.The quafric curve envelope that can degenerate
Figure G2008100412167D00061
R wherein 33Be r 3The 3rd element.
Utilize relational expression
Figure G2008100412167D00062
R wherein 1And R 2Be respectively round Q 1And Q 2Radius, C 1 *With 2 *Be respectively round Q 1And Q 2The antithesis quafric curve of oval image.
Calculate (C ' *, C 1 *) generalized eigenvalue, can obtain a unique nonzero eigenvalue, be k 1, in like manner can get k 2Know C ' *-k 1C 1 *And C ' *-k 2C 2 *Getting order is 1, thereby has
( t 1 R 1 ) ( t 1 R 1 ) T = K - 1 ( C ∞ ′ * - k 1 C 1 * ) K - T ( t 2 R 2 ) ( t 2 R 2 ) T = K - 1 ( C ω ′ * - k 2 C 2 * ) K - T
Obvious t 1/ R 1And t 2/ R 2Obtain from following formula easily.T again 2=Dr 1+ t 1, wherein D is two distances between the center of circle.Utilize following relation again
R 2 R 1 t 2 R 2 = D R 1 r 1 + t 1 R 1
Easily estimate R 2/ R 1And D/R 1If obviously the distance between known any one radius of a circle or two centers of circle can be obtained translation vector t 1Perhaps t 2(initial point of world coordinate system is O 1The time, then be t 1The initial point of world coordinate system is O 2The time, then be t 2).
So far, the parameter calibration of video camera finishes.

Claims (1)

1. two any coplane circles of an employing carry out the method for camera calibration, it is characterized in that comprising following concrete steps:
1) the coplane of the concyclic heart is not round as demarcating thing arbitrarily with two;
2) take to demarcate thing with video camera, obtain the reference object image that a width of cloth has two oval images, guarantee that clear and each circle of imaging all surpasses one-third of the area and blocks;
3) utilize the canny operator, detect the border of each oval image on the reference object image respectively, thereby obtain two groups of point sets that constitute by oval image boundary pixel, utilize this two groups of point sets respectively, simulate the equation of two oval images;
4) utilize the equation of two oval images, in complex domain, solve their intersecting point coordinate, promptly get the picpointed coordinate i of two groups of focoid n, j n, n=1,2, i wherein 1And j 1, i 2And j 2Be conjugate pair;
5) utilize the projection equation of absolute conic and the picpointed coordinate of focoid to solve focus of camera;
6) set up world coordinate system, initial point any center of circle in two circles, the Z axle is parallel with the normal direction on two round planes, place; Assumed conditions (0 0 1) r 3〉=0, (1 0 0) r 1〉=0; Obtain the equation l of the hachure that disappears by the picpointed coordinate of focoid , utilize again plane π normal direction the shadow point that disappears, restriction relation Kr between hachure and the oval image equation disappears 3∝ ω *l , determine
Figure F2008100412167C00011
Utilize relational expression
Figure F2008100412167C00012
And Kr 1∝ l * l ,
Figure F2008100412167C00014
And r 2=r 3* r 1Thereby, obtain rotation matrix R=[r 1, r 2, r 3];
S wherein 1, s 2For symbol+or -K is the intrinsic parameter matrix of video camera, ω *=KK TDual graph picture for absolute conic; t n, n=1,2 are circle Q n, n=1, the coordinate of 2 the center of circle under camera coordinate system, p n, n=1,2 are circle Q n, n=1, the coordinate of the picture point in 2 the center of circle under camera coordinate system, l=p 1* p 2Axis of symmetry for image;
7) coordinate of initial point under camera coordinate system that solves world coordinate system is translation vector; So far, finish Camera calibration.
CN2008100412167A 2008-07-31 2008-07-31 Method for positioning video camera using two arbitrary coplane circles Expired - Fee Related CN101329764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100412167A CN101329764B (en) 2008-07-31 2008-07-31 Method for positioning video camera using two arbitrary coplane circles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100412167A CN101329764B (en) 2008-07-31 2008-07-31 Method for positioning video camera using two arbitrary coplane circles

Publications (2)

Publication Number Publication Date
CN101329764A CN101329764A (en) 2008-12-24
CN101329764B true CN101329764B (en) 2010-04-21

Family

ID=40205559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100412167A Expired - Fee Related CN101329764B (en) 2008-07-31 2008-07-31 Method for positioning video camera using two arbitrary coplane circles

Country Status (1)

Country Link
CN (1) CN101329764B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064516A (en) * 2018-06-28 2018-12-21 北京航空航天大学 A kind of Camera Self-Calibration method based on absolute conic picture

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783018B (en) * 2010-02-04 2012-04-25 上海交通大学 Method for calibrating camera by utilizing concentric circles
CN102999896B (en) * 2011-09-16 2015-05-06 云南大学 Method for linearly solving intrinsic parameters of camera by aid of three tangent circles
CN102509324A (en) * 2011-10-31 2012-06-20 浙江工业大学 Rotational stereovision rotary axis determining method based on quadratic curve fitting
CN102663742A (en) * 2012-03-22 2012-09-12 浙江工业大学 Determination method of rotary stereo visual rotation axis based on quadratic curve fitting
CN102930548B (en) * 2012-11-19 2016-01-06 云南大学 Utilize the intersecting elliptical linear solution camera intrinsic parameter that two identical
CN103258329B (en) * 2013-05-24 2016-04-06 西安电子科技大学 A kind of camera marking method based on ball one-dimensional
CN104766306A (en) * 2015-03-12 2015-07-08 燕山大学 Camera calibration method adopting two coplanar circular templates
CN105509671B (en) * 2015-12-01 2018-01-09 中南大学 A kind of robot tooling center points scaling method using plane reference plate
CN106815585B (en) * 2017-01-20 2020-01-10 浙江大学 High-precision visual positioning method for hole characteristics of complex dynamic environment
CN108259921B (en) * 2018-02-08 2020-06-16 青岛一舍科技有限公司 Multi-angle live broadcast system based on scene switching and switching method
CN110264508B (en) * 2019-06-25 2021-01-01 北京理工大学 Vanishing point estimation method based on convex quadrilateral principle
CN111412857A (en) * 2019-12-31 2020-07-14 吉林大学 Automobile morphology reconstruction system and method based on duality quadratic curve with virtual round points
CN111429522B (en) * 2020-03-11 2022-04-19 云南大学 Method and system for calibrating camera by using common pole polar line property of coplanar circles
CN112611325B (en) * 2020-12-07 2022-05-24 东莞市兆丰精密仪器有限公司 Calibration method of laser center and calibration method of laser center synchronous with image center
CN112598750B (en) * 2020-12-22 2024-05-10 阿波罗智联(北京)科技有限公司 Road side camera calibration method and device, electronic equipment and storage medium
CN114782553B (en) * 2022-05-11 2023-07-28 江南大学 Iterative camera calibration method and device based on elliptic dual conic

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455222A (en) * 2003-04-11 2003-11-12 天津大学 Camera calibration method and implementation device thereof
CN101093160A (en) * 2007-07-12 2007-12-26 上海交通大学 Method for measuring geometric parameters of spatial circle based on technique of binocular stereoscopic vision
CN101216895A (en) * 2007-12-26 2008-07-09 北京航空航天大学 An automatic extracting method for ellipse image features in complex background images
CN101231750A (en) * 2008-02-21 2008-07-30 南京航空航天大学 Calibrating method of binocular three-dimensional measuring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455222A (en) * 2003-04-11 2003-11-12 天津大学 Camera calibration method and implementation device thereof
CN101093160A (en) * 2007-07-12 2007-12-26 上海交通大学 Method for measuring geometric parameters of spatial circle based on technique of binocular stereoscopic vision
CN101216895A (en) * 2007-12-26 2008-07-09 北京航空航天大学 An automatic extracting method for ellipse image features in complex background images
CN101231750A (en) * 2008-02-21 2008-07-30 南京航空航天大学 Calibrating method of binocular three-dimensional measuring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064516A (en) * 2018-06-28 2018-12-21 北京航空航天大学 A kind of Camera Self-Calibration method based on absolute conic picture

Also Published As

Publication number Publication date
CN101329764A (en) 2008-12-24

Similar Documents

Publication Publication Date Title
CN101329764B (en) Method for positioning video camera using two arbitrary coplane circles
Luhmann et al. Sensor modelling and camera calibration for close-range photogrammetry
CN100388319C (en) Multi-viewpoint attitude estimating and self-calibrating method for three-dimensional active vision sensor
CN103411553B (en) The quick calibrating method of multi-linear structured light vision sensors
TWI607412B (en) Measurement systems and methods for measuring multi-dimensions
CN101621711B (en) Method for calibrating camera by adopting two same circles
Zhou et al. Complete calibration of a structured light stripe vision sensor through planar target of unknown orientations
CN100476345C (en) Method for measuring geometric parameters of spatial circle based on technique of binocular stereoscopic vision
CN102945565B (en) A kind of three dimension realistic method for reconstructing of object, system and electronic equipment
CN101673397B (en) Digital camera nonlinear calibration method based on LCDs
CN102589530B (en) Method for measuring position and gesture of non-cooperative target based on fusion of two dimension camera and three dimension camera
CN104567728A (en) Laser vision profile measurement system, measurement method and three-dimensional target
CN105444696B (en) A kind of binocular ranging method and its application based on perspective projection line measurement model
CN101718551B (en) Flexible cable movement measuring method and measuring device
CN102136140B (en) Rectangular pattern-based video image distance detecting method
WO2019056782A1 (en) Sphere projection common tangent line-based multi-camera calibration and parameter optimization method
CN104657713B (en) It is a kind of can anti-posture and expression shape change three-dimensional face calibration method
CN100595790C (en) Video camera parameter calibration method by adopting single circle as marker
CN104266608A (en) Field calibration device for visual sensor and calibration method
CN104034269A (en) Monocular vision measuring method and monocular vision measuring device
Zhou et al. A novel way of understanding for calibrating stereo vision sensor constructed by a single camera and mirrors
CN113034571B (en) Object three-dimensional size measuring method based on vision-inertia
CN103900504A (en) Nano-scale real-time three-dimensional visual information feedback method
CN109900205A (en) A kind of quick calibrating method of high-precision single line laser device and optical camera
CN106157322A (en) A kind of camera installation site scaling method based on plane mirror

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100421

Termination date: 20120731