CN100557635C - A kind of camera marking method based on flexible stereo target - Google Patents
A kind of camera marking method based on flexible stereo target Download PDFInfo
- Publication number
- CN100557635C CN100557635C CNB2008101146077A CN200810114607A CN100557635C CN 100557635 C CN100557635 C CN 100557635C CN B2008101146077 A CNB2008101146077 A CN B2008101146077A CN 200810114607 A CN200810114607 A CN 200810114607A CN 100557635 C CN100557635 C CN 100557635C
- Authority
- CN
- China
- Prior art keywords
- target
- coordinate system
- flexible stereo
- camera
- video camera
- 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
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
The present invention discloses a kind of camera marking method based on flexible stereo target, and this method comprises: the combination flexible stereo target, and set up the flexible stereo target coordinate system; Place video camera and take the flexible stereo target images, and find the solution the homography matrix between each sub-plane target drone coordinate system and plane of delineation coordinate system under each position at least two different positions; By the homography matrix that obtains, find the solution the inner parameter and the external parameter of video camera; According to position relationship between the sub-target, draw the optimum solution of video camera internal and external parameter by nonlinear optimization method.The scaling method that the present invention proposes does not need to use large-area plane target drone, only needs the plane target drone of several small sizes can finish the accurate demarcation of large-field shooting machine.
Description
Technical field
The present invention relates to the camera calibration technology, be specifically related to a kind of camera marking method based on flexible stereo target.
Background technology
What camera model reflected is the mapping relations of the object space and the plane of delineation, and camera calibration is promptly determined the inner parameter and the external parameter of reflection video camera geometrical property and optical characteristics.Wherein, inner parameter is the intrinsic parameter of video camera, can be because of former thereby changes such as camera position variations; And the reflection of outer parameter is the position relation of camera coordinate system and world coordinate system, can be because of camera position variation etc. former thereby change.For being the vision measurement system of main measuring equipment with video camera, the camera calibration result directly affects the precision of vision measurement system.
At present, people mainly rely on the known target of shape and size that video camera is demarcated, for example: the Tsai method that TSAIR Y. proposes in article " A versatile camera calibration technique for high-accuracy 3D machinevision metrology using off-the-shelf tv cameras and lenses.IEEE Journal ofRobotics and Automation; 1987; 3 (4): 323-344 " based on the 3 D stereo target, be the RAC two-step approach again, this method utilizes the 3 D stereo target to ask for external parameter and inner parameter respectively.Though the calibration result precision is higher,, the existence of 3 D stereo target self is blocked, and obtains high-quality target image not too easily, and 3 D stereo target difficulty of processing is big, processing charges is higher.
The camera marking method that ZHANG Z Y. proposes in article " A flexible new technique for camera calibration[J] .IEEE Trans.on Pattern Analysis and Machine Intelligence " based on the two dimensional surface target, video camera and plane target drone can move freely, and do not need to know kinematic parameter.Though flexible, the two-dimentional target handling ease of calibration process, can obtain high-quality target image, stated accuracy is higher,, because the target area of two-dimentional target is unsuitable excessive, thus this method in the relative visual field of two-dimentional target when less calibration result not good enough.
ZHANG Z Y. article " Camera calibration with one-dimensional objects[J] .IEEE Transactions on Pattern Analysis and Machine Intelligence; 2004; 26 (7): 892-899 " in the camera marking method that proposes based on 1-dimension drone, though 1-dimension drone handling ease, stated accuracy are higher, but in calibration process, need an end of 1-dimension drone is fixed, be difficult to when rotating again guarantee that stiff end is definitely fixing, so can influence stated accuracy.
WU F C, HU Z Y, ZHU H J. article " Camera calibration with movingone-dimensional objects[J] .Pattern Recognition; 2005; 38 (5): 755-765 " in the scaling method that proposes based on the plane motion 1-dimension drone, though do not need 1-dimension drone one end is fixed, in calibration process, need the support of motion platform.
Also have Wang Liang etc. article " multiple-camera of demarcating thing based on one dimension is demarcated [J]. robotization journal; 2007; 33 (3): 225-231 " though in propose do not need the support of utility appliance based on the multiple-camera scaling method of 1-dimension drone, but, owing to adopt 1-dimension drone that single video camera is carried out timing signal, the degree of freedom of solving an equation is not enough, and 1-dimension drone carries out timing signal to a plurality of video cameras simultaneously, can satisfy the degree of freedom requirement of solving an equation, so, this method needs simultaneously a plurality of video cameras to be demarcated, and range of application is less.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of camera marking method based on flexible stereo target, does not need the support of utility appliance, and stated accuracy is higher, calibration range is bigger.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of camera marking method based on flexible stereo target, this method comprises:
A, combination flexible stereo target, and set up the flexible stereo target coordinate system;
B, placement video camera are taken the flexible stereo target images at least two different positions, obtain the coordinate of all target unique points under the correspondence image coordinate system under each position, find the solution the homography matrix between each sub-plane target drone coordinate system and the plane of delineation coordinate system;
C, according to the homography matrix that step b obtains, find the solution the inner parameter and the external parameter of video camera.
Further comprise after the described step c: inner parameter and external parameter that step c is tried to achieve carry out nonlinear optimization.
The described combination flexible stereo target of step a is: according to the field range of video camera, each target is placed in the periphery in camera field of view zone.
The described flexible stereo target coordinate of setting up of step a is: with arbitrary sub-target coordinate system in the flexible stereo target as the flexible stereo target coordinate system.
The flexible stereo target image of the described shooting of step b comprises the target unique point of all sub-plane target drones.
Described nonlinear optimization is: with the re-projection error is the objective function of minimum, adopts the Levenberg-Marquardt nonlinear optimization method to carry out nonlinear optimization.
The camera marking method that the present invention proposes based on flexible stereo target, field range according to video camera, put a plurality of plane target drones at the periphery in camera field of view zone, form flexible stereo target, take the target image of different angles by the position of conversion video camera, thereby video camera is demarcated.For the video camera of big visual field, the scaling method that the present invention proposes only needs can demarcate by the plane target drone of several small sizes, does not need to use large-area plane target drone, so, the target handling ease, and stated accuracy is higher.And the scaling method that the present invention proposes can only be demarcated a video camera, so range of application is bigger.
Description of drawings
Fig. 1 is the camera marking method process flow diagram that the present invention is based on flexible stereo target;
Fig. 2 is a present embodiment flexible stereo target coordinate system synoptic diagram;
Fig. 3 is a flexible stereo target synoptic diagram among the embodiment;
Fig. 4 is the flexible stereo target image that video camera is taken among the embodiment.
Embodiment
Basic thought of the present invention is: according to the field range of video camera, put a plurality of plane target drones at the periphery in camera field of view zone, form flexible stereo target, by the position of conversion video camera, take the target image of different angles, thereby video camera is demarcated.
Below in conjunction with specific embodiment and accompanying drawing the present invention is described in further detail.
Fig. 1 is the camera marking method process flow diagram that the present invention is based on flexible stereo target, and as shown in Figure 1, the camera marking method that the present invention is based on flexible stereo target may further comprise the steps:
Step 11: the combination flexible stereo target, and set up the flexible stereo target coordinate system.
Here, flexible stereo target is made up of at least two plane target drones, and wherein, so-called flexibility is exactly flexibly, promptly refers to and can put sub-plane target drone flexibly according to the camera field of view zone; So-called solid is an opposite planar, and the sub-plane target drone that promptly refers to form flexible stereo target can be on same plane.
During the combination flexible stereo target,, each target is placed in the periphery in camera field of view zone as far as possible, so just can forms bigger target zone, thereby improve stated accuracy according to the field range of video camera.Here, as the flexible stereo target coordinate system, Fig. 2 is a present embodiment flexible stereo target coordinate system synoptic diagram with arbitrary sub-target coordinate system in the flexible stereo target.As shown in Figure 2, if flexible stereo target is made up of plane target drone 1~plane target drone 4, the target coordinate system of four sub-plane target drones is respectively O
1X
1Y
1Z
1, O
2X
2Y
2Z
2, O
3X
3Y
3Z
3, O
4X
4Y
4Z
4, then can any one sub-target coordinate system as the flexible stereo target coordinate system, as with O
1X
1Y
1Z
1As the flexible stereo target coordinate system.
Step 12: take the flexible stereo target image with video camera, and extract the coordinate of all target unique points under plane of delineation coordinate system in the captured target image.
Here, the flexible stereo target image of video camera shooting need comprise the target unique point of all sub-plane target drones.
Step 13:, find the solution the homography matrix H between each sub-plane target drone coordinate system and the plane of delineation coordinate system according to the target unique point coordinate that step 12 is obtained.
The method for solving of homography matrix H the article of ZHANG Z Y " Aflexible new technique forcamera calibration[J] .IEEE Trans.on Pattern Analysis and Machine Intelligence; 2000,22 (11): 1330-1334 " in have a detailed description.
Step 14: the homography matrix between each sub-plane target drone coordinate system and plane of delineation coordinate system under each position at least once and is asked in the position of conversion video camera, and promptly repeated execution of steps 12~step 13 at least once.
Step 15:, find the solution the inner parameter and the external parameter of video camera according to the homography matrix that step 13~step 14 is obtained.
Orthogonality by rotation matrix is decomposed homography matrix H, constitutes an overdetermined equation that comprises intrinsic parameters of the camera and external parameter, obtains the inner parameter and the external parameter of video camera by svd and a series of conversion.Concrete method for solving the article of ZHANG Z Y " A flexible new technique forcamera calibration[J] .IEEE Trans.on Pattern Analysis and Machine Intelligence; 2000,22 (11): 1330-1334 " in have a detailed description.
Here, external parameter is the relation between camera coordinate system and each the sub-plane target drone coordinate system.
The intrinsic parameters of the camera matrix A can be expressed as:
Wherein, a
x, a
yBe respectively the scale factor of plane of delineation coordinate system two coordinate axis, α is the out of plumb factor of two coordinate axis, (u
0, v
0) be video camera principal point coordinate.
Step 16: find the solution rotation matrix and translation vector between each sub-plane target drone coordinate system and the flexible stereo target coordinate system.
Here, with the video camera external parameter that step 15 is obtained, promptly the relation between camera coordinate system and the sub-plane target drone coordinate system is an intermediary with camera coordinates, just can obtain the rotation matrix R between each sub-plane target drone coordinate system and the flexible stereo target coordinate system
iWith translation vector T
i, transformation relation is as follows:
Wherein, R
c T, T
c TBe rotation matrix between flexible stereo target coordinate system and the camera coordinate system and translation vector, R
c i, T
c iBe rotation matrix and the translation vector between i sub-plane target drone coordinate system and the camera coordinate system.
Step 17: inner parameter and external parameter that step 15 is obtained carry out nonlinear optimization.
Suppose that noise obeys the Gaussian distribution and the independent distribution of zero-mean, in order to obtain the optimum solution of intrinsic parameters of the camera and external parameter under maximum-likelihood criterion, needing to set up with the re-projection error be the minimum target function:
Wherein,
Wherein, A is the intrinsic parameters of the camera matrix, k
1, k
2Be coefficient of radial distortion, R
i, T
i(i=1...m-1) be rotation matrix and translation vector between each sub-plane target drone coordinate system and the flexible stereo target coordinate system; R
c Tj, T
c TjBe rotation matrix between flexible stereo target coordinate system and the camera coordinate system and translation vector; N is the number of times of flexible stereo target putting position before video camera; T is the total number of unique point in the flexible stereo target;
Be j putting position place, the homogeneous coordinates of target unique point under plane of delineation coordinate system;
Be j putting position place, the target unique point is converted to the coordinate p under the flexible stereo target coordinate system
TiAfter, the re-projection image homogeneous coordinates that have lens distortion under plane of delineation coordinate system.
Here, if p
iBe the three-dimensional coordinate of sub-target unique point P under sub-target coordinate,
For P is converted to the coordinate p down of flexible stereo target system
TiAfter, the re-projection ideal image homogeneous coordinates under the camera review coordinate,
For having the re-projection image homogeneous coordinates of lens distortion accordingly, then above parameter specifically becomes relation and changes as formula (3):
(3)
Wherein, A is an intrinsic parameters of the camera, and ρ is any non-zero constant.
Specifically
With
Transformation relation the article of ZHANG Z Y " A flexible new technique forcamera calibration[J] .IEEE Trans.on Pattern Analysis and Machine Intelligence; 2000,22 (11): 1330-1334 " in have a detailed description.
Each sub-plane target drone coordinate system that integrating step 16 is obtained and rotation matrix and the translation vector between the flexible stereo target coordinate system just can be obtained according to formula (3)
Obtain according to distortion correction method again
At last, adopt the Levenberg-Marquardt nonlinear optimization method that the objective function shown in the formula (2) is carried out nonlinear optimization, both can obtain intrinsic parameters of the camera and the external parameter optimum solution under maximum-likelihood criterion.
Particularly, be 50 millimeters Canon 5D Digital Video if the video camera of vision sensor is a camera lens, its image resolution ratio is 4369 pixels * 2912 pixels, and the camera field of view scope is 1100mm * 900mm, and operating distance is 1800mm.So, according to the described method combination of step 11 flexible stereo target, Fig. 3 is a flexible stereo target synoptic diagram among the embodiment, as shown in Figure 3, flexible stereo target comprises four sub-plane target drones, and lateral separation is 700mm between sub-plane target drone, and fore-and-aft distance is 150mm, and each sub-flat target indicates 100 target unique points, and the unique point spacing is 10.3mm.
Then, take the flexible stereo target image according to the described method of step 12, as shown in Figure 4.
Because outside supplemental characteristic amount is huge in the camera calibration process, and general camera calibration mainly is in order to demarcate inner parameter, so, only provide the calibration value of inner parameter below.
The inner parameter that calculates video camera according to the described method of step 13~step 15 is as shown in Table 1:
a x | a x | a x | v 0 | α | k 1 | k 2 |
6637.4592 | 6642.0950 | 2224.3705 | 1450.9779 | -0.00006 | -0.1287 | 0.3696 |
Table one
The rotation matrix and the translation vector of trying to achieve respectively between sub-plane target drone 2~sub-plane target drone 4 coordinate systems and the flexible stereo target coordinate system according to the described method of step 16 are:
At last,, intrinsic parameters of the camera is carried out nonlinear optimization, obtains the result as shown in Table 2 according to the described method of step 17:
a x | a y | u 0 | v 0 | α | k 1 | k 2 | |
Calibration result | 6710.6774 | 6710.7480 | 2216.7849 | 1447.5375 | -0.00003 | -0.2445 | 0.4225 |
Uncertainty | 2.2353 | 2.2734 | 1.24832 | 1.2761 | 0.00002 | 0.00345 | 0.24151 |
Table two
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.
Claims (4)
1, a kind of camera marking method based on flexible stereo target is characterized in that, this method comprises:
A, combination flexible stereo target, and set up the flexible stereo target coordinate system; Described flexible stereo target is made up of at least two plane target drones, and each target is on same plane, and with arbitrary sub-target coordinate system in the flexible stereo target as the flexible stereo target coordinate system;
B, placement video camera are taken the flexible stereo target images at least two different positions, obtain the coordinate of all target unique points under the correspondence image coordinate system under each position, find the solution the homography matrix between each sub-target coordinate system and the image coordinate system;
C, according to the homography matrix that step b obtains, find the solution the inner parameter and the external parameter of video camera.
2, method according to claim 1 is characterized in that, further comprise after the described step c: inner parameter and external parameter that step c is tried to achieve carry out nonlinear optimization.
3, method according to claim 1 is characterized in that, the described combination flexible stereo target of step a is: according to the field range of video camera, each target is placed in the periphery in camera field of view zone.
4, method according to claim 2 is characterized in that, described nonlinear optimization is: with the re-projection error is the objective function of minimum, adopts the Levenberg-Marquardt nonlinear optimization method to carry out nonlinear optimization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2008101146077A CN100557635C (en) | 2008-06-10 | 2008-06-10 | A kind of camera marking method based on flexible stereo target |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2008101146077A CN100557635C (en) | 2008-06-10 | 2008-06-10 | A kind of camera marking method based on flexible stereo target |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101286235A CN101286235A (en) | 2008-10-15 |
CN100557635C true CN100557635C (en) | 2009-11-04 |
Family
ID=40058425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2008101146077A Expired - Fee Related CN100557635C (en) | 2008-06-10 | 2008-06-10 | A kind of camera marking method based on flexible stereo target |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100557635C (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101419709B (en) * | 2008-12-08 | 2012-07-18 | 北京航空航天大学 | Plane target drone characteristic point automatic matching method for demarcating video camera |
CN101998136B (en) * | 2009-08-18 | 2013-01-16 | 华为技术有限公司 | Homography matrix acquisition method as well as image pickup equipment calibrating method and device |
CN102201117B (en) * | 2010-03-26 | 2015-02-18 | 新奥特(北京)视频技术有限公司 | Method and device for adjusting parameter in camera |
CN101887585B (en) * | 2010-07-15 | 2012-04-11 | 东南大学 | Method for calibrating camera based on non-coplanar characteristic point |
CN102208108B (en) * | 2011-04-01 | 2013-01-09 | 哈尔滨工业大学 | Large-field high-precision quick field overall calibration method for camera |
CN102663767B (en) * | 2012-05-08 | 2014-08-06 | 北京信息科技大学 | Method for calibrating and optimizing camera parameters of vision measuring system |
CN102878948B (en) * | 2012-09-26 | 2015-03-11 | 哈尔滨工业大学 | Visual measuring device and visual measuring method for coordinates of surface of target based on round light spot marks |
CN103473758A (en) * | 2013-05-13 | 2013-12-25 | 中国科学院苏州生物医学工程技术研究所 | Secondary calibration method of binocular stereo vision system |
EP3220099B1 (en) * | 2014-11-13 | 2019-11-06 | Olympus Corporation | Calibration device, calibration method, optical device, imaging device, projection device, measurement system, and measurement method |
JP6688989B2 (en) * | 2016-01-29 | 2020-04-28 | パナソニックIpマネジメント株式会社 | Camera calibration device and camera calibration method |
CN105809706B (en) * | 2016-05-25 | 2018-10-30 | 北京航空航天大学 | A kind of overall calibration method of the more camera systems of distribution |
CN107784672B (en) * | 2016-08-26 | 2021-07-20 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring external parameters of vehicle-mounted camera |
CN106600645B (en) * | 2016-11-24 | 2019-04-09 | 大连理工大学 | A kind of video camera space multistory calibration rapid extracting method |
CN106856003B (en) * | 2016-12-31 | 2019-06-25 | 南京理工大学 | The expansion bearing calibration of shaft-like workpiece side surface defects detection image |
CN107167038B (en) * | 2017-04-14 | 2018-07-31 | 华中科技大学 | A method of indication of shots precision is improved based on machine vision |
CN107194972B (en) * | 2017-05-16 | 2021-04-02 | 成都通甲优博科技有限责任公司 | Camera calibration method and system |
CN109389649B (en) * | 2018-09-27 | 2020-11-03 | 北京伟景智能科技有限公司 | Quick calibration method and device for binocular camera |
CN109727291B (en) * | 2018-12-28 | 2020-10-23 | 北京航空航天大学 | High-precision online calibration method for zoom camera |
CN109754435B (en) * | 2019-01-04 | 2021-08-10 | 北京航空航天大学 | Camera online calibration method based on small target fuzzy image |
CN110310243B (en) * | 2019-06-28 | 2023-04-25 | 广东工业大学 | Unmanned aerial vehicle photogrammetry image correction method, system and storage medium |
CN110887861B (en) * | 2019-10-31 | 2022-07-29 | 北京卫星制造厂有限公司 | Device and method for measuring thermal expansion coefficient of porous flexible foam board |
CN112927301B (en) * | 2021-02-04 | 2024-09-13 | 深圳市杉川机器人有限公司 | Camera calibration method, device, computing equipment and readable storage medium |
-
2008
- 2008-06-10 CN CNB2008101146077A patent/CN100557635C/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
A Flexible New Technique for Camera Calibration. Zhang Zhengyou.IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE,Vol.22 No.11. 2000 * |
Also Published As
Publication number | Publication date |
---|---|
CN101286235A (en) | 2008-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100557635C (en) | A kind of camera marking method based on flexible stereo target | |
CN109146980B (en) | Monocular vision based optimized depth extraction and passive distance measurement method | |
CN109035320B (en) | Monocular vision-based depth extraction method | |
CN108648241B (en) | PTZ camera on-site calibration and focusing method | |
US10060739B2 (en) | Method for determining a position and orientation offset of a geodetic surveying device and such a surveying device | |
CN105716542B (en) | A kind of three-dimensional data joining method based on flexible characteristic point | |
CN108020826B (en) | Multi-line laser radar and multichannel camera mixed calibration method | |
CN102376089B (en) | Target correction method and system | |
CN100533055C (en) | Multi-visual sense sensor calibration method based on one-dimensional target | |
CN109859272B (en) | Automatic focusing binocular camera calibration method and device | |
CN106871787B (en) | Large space line scanning imagery method for three-dimensional measurement | |
CN110910454B (en) | Automatic calibration registration method of mobile livestock three-dimensional reconstruction equipment | |
CN109272574B (en) | Construction method and calibration method of linear array rotary scanning camera imaging model based on projection transformation | |
CN101727670B (en) | Flexible calibrating method and device for variable-format multiple-camera system | |
CN109255818B (en) | Novel target and extraction method of sub-pixel level angular points thereof | |
CN102221331B (en) | Measuring method based on asymmetric binocular stereovision technology | |
CN110763204B (en) | Planar coding target and pose measurement method thereof | |
CN108010086A (en) | Camera marking method, device and medium based on tennis court markings intersection point | |
US20210364288A1 (en) | Optical measurement and calibration method for pose based on three linear array charge coupled devices (ccd) assisted by two area array ccds | |
Percoco et al. | Preliminary study on the 3D digitization of millimeter scale products by means of photogrammetry | |
CN102589529B (en) | Scanning close-range photogrammetry method | |
CN104167001A (en) | Large-visual-field camera calibration method based on orthogonal compensation | |
CN112797900B (en) | Multi-camera plate size measuring method | |
CN109544642B (en) | N-type target-based TDI-CCD camera parameter calibration method | |
US11640680B2 (en) | Imaging system and a method of calibrating an image system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091104 Termination date: 20160610 |