CN110246191B - Camera nonparametric model calibration method and calibration precision evaluation method - Google Patents

Camera nonparametric model calibration method and calibration precision evaluation method Download PDF

Info

Publication number
CN110246191B
CN110246191B CN201910509253.4A CN201910509253A CN110246191B CN 110246191 B CN110246191 B CN 110246191B CN 201910509253 A CN201910509253 A CN 201910509253A CN 110246191 B CN110246191 B CN 110246191B
Authority
CN
China
Prior art keywords
laser
camera
point
initial
rotating shaft
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.)
Active
Application number
CN201910509253.4A
Other languages
Chinese (zh)
Other versions
CN110246191A (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.)
Yi Si Si Hangzhou Technology Co ltd
Original Assignee
Isvision Hangzhou Technology Co Ltd
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 Isvision Hangzhou Technology Co Ltd filed Critical Isvision Hangzhou Technology Co Ltd
Priority to CN201910509253.4A priority Critical patent/CN110246191B/en
Publication of CN110246191A publication Critical patent/CN110246191A/en
Application granted granted Critical
Publication of CN110246191B publication Critical patent/CN110246191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a camera nonparametric model calibration method and a calibration precision evaluation method, which are carried out by using a camera, a point laser and a turntable, or by using the camera, the point laser, the turntable and a reflector, and comprise the following steps: adjusting the horizontal angle of the camera and/or the laser and/or the reflector, changing the coordinate position of the laser projection point in the image, rotating for m times at a rotation angle delta alpha every time to obtain m groups of coordinate data (u)i,vi) Then, the vertical angle of the camera and/or the laser and/or the reflector is adjusted, the coordinate position of the laser projection point in the image is changed, the laser projection point rotates for n times at a rotation angle delta beta every time, and n groups of coordinate data (u) are obtainedj,vj) (ii) a Fitting (u)i,vi)、(uj,vj) To obtain a straight line l1、l2Establishing an expression of an interpolation function corresponding to the horizontal rotation angle and the vertical rotation angle; to obtain a straight line l1、l2The method is suitable for non-parameter model calibration of the long-focus small-field-of-view camera, and has the advantages of small data acquisition amount and high efficiency.

Description

Camera nonparametric model calibration method and calibration precision evaluation method
Technical Field
The invention relates to the technical field of camera calibration, in particular to a camera nonparametric model calibration method and a calibration precision evaluation method.
Background
In a vision measurement system, calibration is an important link, and plays an important role in the stability and the precision level of the whole measurement system. In the calibration process, a common camera model is a pinhole imaging model, an object point and an image point are obtained by perspective projection transformation, and a method for calibrating a camera by applying the imaging model is also called parametric calibration, and the method solves internal parameters of the camera by light beam adjustment and an optimization algorithm, wherein the internal parameters comprise a focal length, a principal point, an external parameter RT matrix and distortion parameters; the parameterized calibration method generally includes calibration methods such as zhang's calibration, self-calibration, active vision, etc., but these calibration methods exist: the parameters are correlated; most optimization algorithms need good initial values, but the initial values are difficult to obtain; every second optimized parameter has a slight difference, and meanwhile, precise targets need to be manufactured for parameter calibration, so that the cost is high.
The other camera calibration method is a nonparametric model calibration method: the corresponding relation between the azimuth angle information of the space incident light and the actual image point can be directly established through the assistance of an external precise angle measuring device, namely a precise rotary table, so that the camera becomes a precise angle measuring device, and the influence of the calibration error of the internal parameters on the measurement precision is eliminated; the common camera nonparametric calibration is that a turntable is used for collecting a series of angle-pixel coordinate point pairs, usually thousands of points are collected to establish an interpolation database, then a new angle value is interpolated according to a two-dimensional interpolation principle, the whole process is relatively complex, the data volume is large, the time consumption is long, for example, a laser collimator, a six-dimensional fine adjustment device, a precise subdivision turntable and a near infrared LED dot matrix are used in a photogrammetry method research based on a nonparametric measurement model published by Tianjin university, Qinghua university Longchang universe and the like, a data table consisting of a large number of angle-image lines is collected, when angles are measured again, a two-dimensional plane interpolation function is used for obtaining angle data, meanwhile, a laser collimator and the precise subdivision turntable are needed to be used for coinciding the intersection points of a camera main point and a laser beam, and the nonparametric calibration method can overcome the defects of the parametric calibration, however, the operation is time-consuming, the coincidence degree cannot be guaranteed, the whole calibration device is complex, and the calibration process is complicated.
Disclosure of Invention
In order to solve the problems, the invention provides a camera nonparametric model calibration method and a calibration precision evaluation method, which are suitable for calibrating a camera nonparametric model with a small field of view and small distortion.
A camera nonparametric model calibration method is characterized in that a camera, a point laser and a turntable are used for calibration, and the camera can acquire laser projection points of the point laser; the turntable is used for changing the coordinate position of the laser projection point in the camera image;
or, calibrating by using a camera, a point laser, a turntable and a reflector, wherein a projection point of the point laser is projected onto the reflector and then reflected into a field of view of the camera by the reflector; the camera is used for collecting images of the laser projection points; the turntable is used for adjusting the coordinate position of the laser projection point reflected by the reflector in the camera image;
the method comprises the following steps:
s1, adjusting the horizontal angle of a camera and/or a laser and/or a reflector, changing the coordinate position of a laser projection point in an image, and rotating an angle delta alpha every time to obtain a group of horizontal rotating angles and image coordinate data; rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),i=1,2,3……m;
Then, adjusting the vertical angle of the camera and/or the laser and/or the reflector, changing the coordinate position of the laser projection point in the image, and rotating the angle delta beta every time to obtain a group of vertical rotating angles and image coordinate data; rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj),j=1,2,3……n;
S2, respectively fitting the image coordinate data (u) by adopting a least square methodi,vi)、(uj,vj) To obtain a straight line l1、 l2Calculating a straight line l1、l2Angle theta to the x-axis of the image coordinate system1、θ2
Straight line l1、l2Coordinate points (u 'in the constructed coordinate system'i,v'i)、(u'j,v'j) With a point (u) in the image coordinate systemi,vi)、(uj,vj) The relationship between them is as follows:
Figure BDA0002092902980000031
Figure BDA0002092902980000032
utilization point (u'i,v'i) U 'of'iCoordinates, and u'iEstablishing an expression of an interpolation function corresponding to the horizontal corner; utilization point (u'j,v'j) V 'of'jCoordinates, and v'jEstablishing an expression of an interpolation function corresponding to the vertical rotation angle;
obtaining a straight line l by using an expression of an interpolation function of a horizontal rotation angle and a vertical rotation angle1、l2And corresponding relation between any coordinate point in the constructed coordinate system and the horizontal corner and the vertical corner.
Further, step S1 is performed as follows:
the camera is fixed on the rotary table, and the rotary table comprises a transverse rotary shaft and a longitudinal rotary shaft and can drive the camera to rotate;
a point laser is fixedly placed in front of the camera, and laser emitted by the point laser is collected by the camera;
marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and vertical to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is perpendicular to the initial transverse rotating shaft as an initial vertical plane;
s1, keeping an initial horizontal plane unchanged, rotating a rotary table around an initial longitudinal rotating shaft, rotating an angle delta alpha every time, emitting laser by a point laser, collecting a laser point by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of horizontal rotating angles and image coordinate data;
rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),i=1,2,3……m;
Keeping an initial vertical plane unchanged, rotating a turntable around an initial transverse rotating shaft, rotating an angle delta beta every time, emitting laser by a point laser, collecting a laser point by a camera, and calculating an image coordinate of the center of a circle of the laser point by a processor to obtain a group of vertical rotating angles and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj), j=1,2,3……n。
Further, step S1 may also be implemented as follows:
the point laser and the camera are fixed on a turntable, the turntable comprises a transverse rotating shaft and a longitudinal rotating shaft, and the camera and the point laser can independently rotate or synchronously rotate;
a plane reflector is fixedly arranged in front of the camera and the point laser and can receive visible laser emitted by the point laser and reflect the laser to the camera;
or:
the method comprises the following steps of fixedly placing a point laser and a camera, placing a plane reflector in front of the camera and the point laser, and installing the plane reflector on a turntable, wherein the plane reflector is used for receiving visible laser emitted by the point laser and reflecting the laser to the camera;
the rotary table comprises a transverse rotating shaft and a longitudinal rotating shaft and can drive the plane reflective mirror to rotate;
marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and vertical to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is perpendicular to the initial transverse rotating shaft as an initial vertical plane;
s1, keeping an initial horizontal plane unchanged, rotating a rotary table around an initial longitudinal rotating shaft, rotating an angle delta alpha every time, emitting laser to a plane reflector by a point laser, collecting a laser point on the plane reflector by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of horizontal rotating angles and image coordinate data;
rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),
i=1,2,3……m;
Keeping an initial vertical plane unchanged, rotating a rotary table around an initial transverse rotating shaft, emitting laser to a plane reflector by a point laser at a rotation angle delta beta every time, collecting a laser point on the plane reflector by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of vertical rotation angles and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj), j=1,2,3……n。
Preferably, in the initial position, the laser emitted by the point laser is perpendicular to the plane mirror, and the laser point formed on the plane mirror is located at the geometric center of the plane mirror.
Preferably, the rotation of the turret about the initial longitudinal axis is: respectively rotating along the clockwise direction and the anticlockwise direction of the initial vertical plane, wherein the rotation angle delta alpha is less than or equal to 0.5 degrees each time;
the rotary table rotates around the initial transverse rotating shaft to: respectively rotate along the clockwise direction and the anticlockwise direction of the initial horizontal plane, and the rotation angle delta beta is less than or equal to 0.5 degree each time.
Further, the interpolation function comprises a cubic spline interpolation function, a piecewise linear interpolation function and a Lagrange interpolation function.
A precision evaluation method for the camera nonparametric model calibration method comprises the following steps:
(1) in the angle range calibrated by the camera, the rotation angle alpha of the turntable around the initial longitudinal rotating shaft is controlled, the rotation angle beta of the turntable around the initial transverse rotating shaft is controlled, the point laser emits laser, the camera acquires the image of the laser point at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c,vc) Calculating (u)c',vc')
Figure BDA0002092902980000061
Will uc' substitution of expression v of interpolation function corresponding to horizontal rotation anglecSubstituting the expression of the interpolation function corresponding to the vertical rotation angle to carry out interpolation calculation to obtain a coordinate point(uc',vc') corresponding angles alpha ' and beta ', and then calculating the angle alpha as followsl、βl:
αl=α'
βl=arctan(tan(β')cos(α'))
(2) Comparing the rotation angles alpha and beta with the calculated angle alphal、βlAnd evaluating the accuracy of the calculated camera rotation angle.
Or when the rotary table rotates around the initial horizontal rotating shaft by the angle beta1And then rotated by an angle alpha around the initial vertical axis1The method comprises the following steps:
a precision evaluation method for the camera nonparametric model calibration method comprises the following steps:
(1) controlling the rotation angle beta of the turntable around the initial transverse rotating shaft within the angle range calibrated by the camera1And then rotated by an angle alpha around the initial longitudinal axis1The point laser emits laser, the camera collects the laser point image at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c1,vc1) Calculating (u)c1',vc1')
Figure BDA0002092902980000062
Will uc1' substitution of expression v of interpolation function corresponding to horizontal rotation anglec1Substituting the expression of the interpolation function corresponding to the vertical rotation angle to perform interpolation calculation to obtain a coordinate point (u)c1',vc1') corresponding angle alpha1'、β1' then, the angle α is obtained by the following calculationl1、βl1:
αl1=arctan(tan(α1')cos(β1'))
βl1=β1'
(2) Contrast of rotation angle alpha1、β1And the calculated angle alphal1、βl1And evaluating the accuracy of the calculated camera rotation angle.
The invention is suitable for the non-parametric model calibration of the camera with small field distortion, the invention utilizes the turntable to drive the camera and the laser to rotate, the position of the reflector is kept unchanged, other precision measurement devices are not needed, and the requirement on the calibration device is simple; the measurement data volume is small, and the operation is simple;
because the angle and coordinate mapping relation coordinate system obtained by calibration is not an ideal orthogonal coordinate system, the method can more accurately obtain the relation between the coordinate points and the camera angle by establishing the relation between the image points in the image coordinate system and the coordinate points in the angle and coordinate mapping relation coordinate system.
Drawings
Fig. 1 is a schematic structural diagram of a detection system in embodiment 2.
Detailed Description
The technical solution of the present invention is described in detail below with reference to the accompanying drawings and examples.
Example 1
A camera nonparametric model calibration method is carried out by utilizing a camera, a point laser and a turntable, wherein the camera is fixed on the turntable, and the turntable drives the camera to rotate;
a point laser is fixedly placed in front of the camera, and laser emitted by the point laser is collected by the camera;
marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and which is perpendicular to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is vertical to the initial transverse rotating shaft as an initial vertical plane;
the method comprises the following steps:
s1, keeping an initial horizontal plane unchanged, rotating a turntable around an initial longitudinal rotating shaft and respectively rotating the turntable along the clockwise direction and the anticlockwise direction of an initial vertical plane, wherein the rotation angle delta alpha is 0.3 degrees each time; the point laser emits laser, the camera collects laser points, and the processor calculates the image coordinates of the circle center of the laser points to obtain a group of horizontal rotation angle and image coordinate data;
rotating for m times to obtain m groups of one-to-one correspondenceHorizontal rotation angle of (d), image coordinate data (u)i,vi),
i is 1,2,3 … … m; the sum of the rotation angles mxDELTA alpha is the working range of the camera in the horizontal direction;
keeping an initial vertical plane unchanged, rotating a turntable around an initial transverse rotating shaft and respectively rotating the turntable along the clockwise direction and the anticlockwise direction of an initial horizontal plane, wherein the angle delta beta of each turn is 0.3 degrees, a point laser emits laser, a camera collects laser points, and a processor calculates the image coordinates of the circle center of the laser point to obtain a group of vertical turn and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj) J is 1,2,3 … … n, and the sum of the rotation angles n x Δ β is the working range of the camera in the vertical direction;
s2, respectively fitting image coordinate data (u) by adopting a least square methodi,vi)、(uj,vj) To obtain a straight line l1、l2Calculating a straight line l1、l2Angle theta to the x-axis of the image coordinate system1、θ2
Straight line l1、l2Coordinate points (u 'in the constructed coordinate system'i,v'i)、(u'j,v'j) With a point (u) in the image coordinate systemi,vi)、(uj,vj) The relationship between them is as follows:
Figure BDA0002092902980000081
Figure BDA0002092902980000082
utilization point (u'i,v'i) U 'of'iCoordinates, and u'iEstablishing an expression of a cubic spline interpolation function corresponding to the horizontal corner; utilization point (u'j,v'j) V 'of'jCoordinates, and v'jThe coordinates correspond toEstablishing an expression of an interpolation function corresponding to the vertical corner; to obtain a straight line l1、l2And corresponding relation between any coordinate point in the constructed coordinate system and the horizontal corner and the vertical corner.
And then, carrying out precision evaluation on the camera nonparametric model calibration method by utilizing the following steps:
(1) in the angle range calibrated by the camera, the rotation angle alpha of the turntable around the initial longitudinal rotating shaft is controlled, the rotation angle beta of the turntable around the initial transverse rotating shaft is controlled, the point laser emits laser, the camera acquires the image of the laser point at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c,vc) Calculating (u)c',vc')
Figure BDA0002092902980000091
Will uc' substitution of expression v of interpolation function corresponding to horizontal rotation anglecSubstituting the expression of the interpolation function corresponding to the vertical rotation angle to carry out interpolation calculation to obtain a coordinate point (u)c',vc') corresponding angles alpha ' and beta ', and then calculating the angle alpha as followsl、βl:
αl=α'
βl=arctan(tan(β')cos(α'))
(2) Comparing the rotation angles alpha and beta with the calculated angle alphal、βlAnd evaluating the accuracy of the calculated camera rotation angle.
Example 2
As shown in fig. 1, in this embodiment, another method is adopted to change the coordinate position of a laser projection point in an image, and a camera nonparametric model calibration method is performed by using a camera 1, a point laser 2, a turntable 3 and a reflector 4, the point laser and the camera are both fixed on the turntable 3, the turntable 3 comprises a transverse rotating shaft and a longitudinal rotating shaft, and the camera and the point laser are driven to synchronously rotate, or the turntable only drives the camera to rotate, the position of the point laser is unchanged, or the turntable only drives the point laser to rotate, and the position of the camera is unchanged;
a plane reflector 4 is fixedly arranged in front of the camera and the point laser, and can receive visible laser emitted by the point laser and reflect the laser to the camera; in the initial position, the laser emitted by the point laser is perpendicular to the plane reflector, and the laser point formed on the plane reflector is positioned at the geometric center of the plane reflector.
Marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and which is perpendicular to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is vertical to the initial transverse rotating shaft as an initial vertical plane;
the method comprises the following steps:
s1, keeping an initial horizontal plane unchanged, rotating a rotary table around an initial longitudinal rotating shaft, rotating an angle delta alpha every time, emitting laser to a plane reflector by a point laser, collecting a laser point on the plane reflector by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of horizontal rotating angles and image coordinate data;
rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),
i=1,2,3……m;
Keeping an initial vertical plane unchanged, rotating a rotary table around an initial transverse rotating shaft, emitting laser to a plane reflector by a point laser at a rotation angle delta beta every time, collecting a laser point on the plane reflector by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of vertical rotation angles and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj), j=1,2,3……n。
S2, respectively fitting image coordinate data (u) by adopting a least square methodi,vi)、(uj,vj) To obtain a straight line l1、l2Calculating a straight line l1、l2Angle theta to the x-axis of the image coordinate system1、θ2
Straight line l1、l2Coordinate points (u 'in the constructed coordinate system'i,v'i)、(u'j,v'j) With a point (u) in the image coordinate systemi,vi)、(uj,vj) The relationship between them is as follows:
Figure BDA0002092902980000101
Figure BDA0002092902980000111
utilization point (u'i,v'i) U 'of'iCoordinates, and u'iEstablishing an expression of a cubic spline interpolation function corresponding to the horizontal corner; utilization point (u'j,v'j) V 'of'jCoordinates, and v'jEstablishing an expression of an interpolation function corresponding to the vertical corner; to obtain a straight line l1、l2And corresponding relation between any coordinate point in the constructed coordinate system and the horizontal corner and the vertical corner.
And then, carrying out precision evaluation on the camera nonparametric model calibration method by utilizing the following steps:
(1) controlling the rotation angle beta of the turntable around the initial transverse rotating shaft within the angle range calibrated by the camera1And then rotated by an angle alpha around the initial longitudinal axis1The point laser emits laser, the camera collects the laser point image at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c1,vc1) Calculating (u)c1',vc1')
Figure BDA0002092902980000112
Will uc1' substitution of expression v of interpolation function corresponding to horizontal rotation anglec1' substitution into interpolation function corresponding to vertical rotation angleThe expression of the number, and the interpolation calculation is carried out to obtain a coordinate point (u)c1',vc1') corresponding angle alpha1'、β1' then, the angle α is obtained by the following calculationl1、βl1:
αl1=arctan(tan(α1')cos(β1'))
βl1=β1'
(2) Contrast of rotation angle alpha1、β1And the calculated angle alphal1、βl1And evaluating the accuracy of the calculated camera rotation angle.
Example 3
Compared with the embodiment 2, the embodiment adopts another mode, the coordinate position of the laser projection point in the image is changed, the camera nonparametric model calibration method is carried out by utilizing the camera, the point laser, the rotary table and the reflector, the point laser and the camera are fixedly placed, the plane reflector is placed in front of the camera and the point laser and is arranged on the rotary table, and the plane reflector is used for receiving the visible laser emitted by the point laser and reflecting the laser to the camera;
keeping the initial horizontal plane unchanged, the turntable drives the plane reflector to rotate around the initial longitudinal rotating shaft, the angle delta alpha is rotated each time, the point laser emits laser to the plane reflector, the camera collects the laser point on the plane reflector, and the laser point is rotated m times to obtain m groups of one-to-one corresponding horizontal rotating angle and image coordinate data (u and u are respectively obtainedi,vi),
Keeping the initial vertical plane unchanged, driving the plane reflector to rotate around the initial transverse rotating shaft by the turntable at an angle delta beta each time, emitting laser to the plane reflector by the point laser, collecting laser points on the plane reflector by the camera, and rotating for n times to obtain n groups of vertical rotating angles and image coordinate data (u) in one-to-one correspondencej,vj);
S2, respectively fitting image coordinate data (u) by adopting a least square methodi,vi)、(uj,vj) To obtain a straight line l1、l2Calculating a straight line l1、l2From the x-axis of the image coordinate systemIncluded angle theta1、θ2
Straight line l1、l2Coordinate points (u 'in the constructed coordinate system'i,v'i)、(u'j,v'j) With a point (u) in the image coordinate systemi,vi)、(uj,vj) The relationship between them is as follows:
Figure BDA0002092902980000121
Figure BDA0002092902980000122
utilization point (u'i,v'i) U 'of'iCoordinates, and u'iEstablishing an expression of a cubic spline interpolation function corresponding to the horizontal corner; utilization point (u'j,v'j) V 'of'jCoordinates, and v'jEstablishing an expression of an interpolation function corresponding to the vertical corner; to obtain a straight line l1、l2And corresponding relation between any coordinate point in the constructed coordinate system and the horizontal corner and the vertical corner.
For convenience in explanation and accurate definition in the appended claims, the terms "upper", "lower", "left" and "right" are used to describe exemplary embodiments of feature locations.

Claims (9)

1. A camera nonparametric model calibration method is characterized in that a camera, a point laser and a turntable are used for calibration, and the camera can acquire laser projection points of the point laser; the turntable is used for changing the coordinate position of the laser projection point in the camera image;
or, calibrating by using a camera, a point laser, a turntable and a reflector, wherein a projection point of the point laser is projected onto the reflector and then reflected into a field of view of the camera by the reflector; the camera is used for acquiring an image of the laser projection point; the turntable is used for adjusting the coordinate position of the laser projection point reflected by the reflector in the camera image;
the method is characterized by comprising the following steps:
s1, adjusting the horizontal angle of a camera and/or a laser and/or a reflector, changing the coordinate position of a laser projection point in an image, and rotating an angle delta alpha every time to obtain a group of horizontal rotating angles and image coordinate data; rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),i=1,2,3……m;
Then, adjusting the vertical angle of the camera and/or the laser and/or the reflector, changing the coordinate position of the laser projection point in the image, and rotating the angle delta beta every time to obtain a group of vertical rotating angles and image coordinate data; rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj),j=1,2,3……n;
S2, respectively fitting the image coordinate data (u) by adopting a least square methodi,vi)、(uj,vj) To obtain a straight line l1、l2Calculating a straight line l1、l2Angle theta to the x-axis of the image coordinate system1、θ2
Straight line l1、l2Coordinate points (u 'in the constructed coordinate system'i,v'i)、(u'j,v'j) With a point (u) in the image coordinate systemi,vi)、(uj,vj) The relationship between them is as follows:
Figure FDA0002819904260000011
Figure FDA0002819904260000012
utilization point (u'i,v'i) U 'of'iCoordinates, and u'iEstablishing an expression of an interpolation function corresponding to the horizontal rotation angle; utilization point (u'j,v'j) V 'of'jCoordinates, and v'jEstablishing an expression of an interpolation function corresponding to the vertical corner;
obtaining a straight line l by using an expression of an interpolation function of a horizontal rotation angle and a vertical rotation angle1、l2And corresponding relation between any coordinate point in the constructed coordinate system and the horizontal corner and the vertical corner.
2. The calibration method of the nonparametric model of the camera as claimed in claim 1, wherein the step S1 adopts the following method:
the camera is fixed on a rotary table, and the rotary table comprises a transverse rotating shaft and a longitudinal rotating shaft and can drive the camera to rotate;
a point laser is fixedly placed in front of the camera, and laser emitted by the point laser is collected by the camera;
marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and which is vertical to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is perpendicular to the initial transverse rotating shaft as an initial vertical plane;
s1, keeping an initial horizontal plane unchanged, rotating a turntable around an initial longitudinal rotating shaft, rotating an angle delta alpha every time, emitting laser by a point laser, collecting a laser spot by a camera, and calculating an image coordinate of the circle center of the laser spot by a processor to obtain a group of horizontal rotating angles and image coordinate data;
rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),i=1,2,3……m;
Keeping an initial vertical plane unchanged, rotating a turntable around an initial transverse rotating shaft, rotating an angle delta beta every time, emitting laser by a point laser, collecting a laser point by a camera, and calculating an image coordinate of the center of a circle of the laser point by a processor to obtain a group of vertical rotating angles and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj),j=1,2,3……n。
3. The calibration method of the nonparametric model of the camera as claimed in claim 1, wherein the step S1 adopts the following method:
the point laser and the camera are fixed on a turntable, the turntable comprises a transverse rotating shaft and a longitudinal rotating shaft, and the camera and the point laser can independently rotate or synchronously rotate;
a plane reflector is fixedly arranged in front of the camera and the point laser and can receive visible laser emitted by the point laser and reflect the laser to the camera;
or:
the method comprises the following steps of fixedly placing a point laser and a camera, placing a plane reflector in front of the camera and the point laser, and installing the plane reflector on a turntable, wherein the plane reflector is used for receiving visible laser emitted by the point laser and reflecting the laser to the camera;
the rotary table comprises a transverse rotating shaft and a longitudinal rotating shaft and can drive the plane reflective mirror to rotate;
marking the initial position of the rotary table, and marking the transverse rotating shaft and the longitudinal rotating shaft at the initial position as an initial transverse rotating shaft and an initial longitudinal rotating shaft; recording a plane where the initial transverse rotating shaft is located and which is vertical to the initial longitudinal rotating shaft as an initial horizontal plane; recording a plane where the initial longitudinal rotating shaft is located and which is perpendicular to the initial transverse rotating shaft as an initial vertical plane;
s1, keeping an initial horizontal plane unchanged, rotating a rotary table around an initial longitudinal rotating shaft, rotating an angle delta alpha every time, emitting laser to a plane reflector by a point laser, collecting a laser point on the plane reflector by a camera, and calculating an image coordinate of the circle center of the laser point by a processor to obtain a group of horizontal rotating angles and image coordinate data;
rotating for m times to obtain m groups of one-to-one corresponding horizontal rotation angle and image coordinate data (u)i,vi),
i=1,2,3……m;
Keeping an initial vertical plane unchanged, rotating a rotary table around an initial transverse rotating shaft, and rotating an angle delta beta every time, wherein a point laser emits laser to a plane reflector, a camera collects a laser point on the plane reflector, and a processor calculates an image coordinate of the circle center of the laser point to obtain a group of vertical rotation angles and image coordinate data;
rotating for n times to obtain n groups of vertical rotation angle and image coordinate data (u) in one-to-one correspondencej,vj),j=1,2,3……n。
4. The calibration method for the nonparametric model of the camera as defined in claim 3, wherein in the initial position, the laser emitted by the point laser is perpendicular to the plane mirror, and the laser point formed on the plane mirror is located at the geometric center of the plane mirror.
5. The method for calibrating a non-parametric model of a camera as claimed in claim 2, wherein the rotation of the turntable about the initial longitudinal axis is: respectively rotating along the clockwise direction and the anticlockwise direction of the initial vertical plane, wherein the rotation angle delta alpha is less than or equal to 0.5 degrees each time;
the rotary table rotates around the initial transverse rotating shaft to: the rotation is respectively along the clockwise direction and the anticlockwise direction of the initial horizontal plane, and the rotation angle delta beta is less than or equal to 0.5 degrees every time.
6. A method for calibrating a non-parametric model of a camera as defined in claim 3, wherein the rotation of the turntable about the initial longitudinal axis is: respectively rotating along the clockwise direction and the anticlockwise direction of the initial vertical plane, wherein the rotation angle delta alpha is less than or equal to 0.5 degrees each time;
the rotary table rotates around the initial transverse rotating shaft to: the rotation is respectively along the clockwise direction and the anticlockwise direction of the initial horizontal plane, and the rotation angle delta beta is less than or equal to 0.5 degrees every time.
7. The method for calibrating a nonparametric model of a camera as claimed in claim 1, characterized in that said interpolation function comprises a cubic spline interpolation function, a piecewise linear interpolation function, a lagrange interpolation function.
8. A precision evaluation method for the camera nonparametric model calibration method according to any one of claims 1 to 7 is characterized by comprising the following steps:
(1) in the angle range calibrated by the camera, the rotation angle alpha of the turntable around the initial longitudinal rotating shaft is controlled, the rotation angle beta of the turntable around the initial transverse rotating shaft is controlled, the point laser emits laser, the camera acquires the image of the laser point at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c,vc) Calculating (u)c',vc')
Figure FDA0002819904260000051
Will uc' substitution of expression v of interpolation function corresponding to horizontal rotation anglecSubstituting the expression of the interpolation function corresponding to the vertical rotation angle to carry out interpolation calculation to obtain a coordinate point (u)c',vc') corresponding angles alpha ' and beta ', and then calculating the angle alpha as followsl、βl:
αl=α'
βl=arctan(tan(β')cos(α'))
(2) Comparing the rotation angles alpha and beta with the calculated angle alphal、βlAnd evaluating the accuracy of the calculated camera rotation angle.
9. A precision evaluation method for the camera nonparametric model calibration method according to any one of claims 1 to 7 is characterized by comprising the following steps:
(1) controlling the rotation angle beta of the turntable around the initial transverse rotating shaft within the angle range calibrated by the camera1And then rotated by an angle alpha around the initial longitudinal axis1The point laser emits laser, the camera collects the laser point image at the moment, and the image coordinate of the circle center of the laser point is recorded as (u)c1,vc1) Calculating (u)c1',vc1')
Figure FDA0002819904260000052
Will uc1' substitution of expression v of interpolation function corresponding to horizontal rotation anglec1Substituting the expression of the interpolation function corresponding to the vertical rotation angle to carry out interpolation calculation to obtain a coordinate point (u)c1',vc1') corresponding angle alpha1'、β1' the angle α is obtained by the following calculationl1、βl1:
αl1=arctan(tan(α1')cos(β1'))
βl1=β1'
(2) Contrast of rotation angle alpha1、β1And the calculated angle alphal1、βl1And evaluating the accuracy of the calculated camera rotation angle.
CN201910509253.4A 2019-06-13 2019-06-13 Camera nonparametric model calibration method and calibration precision evaluation method Active CN110246191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910509253.4A CN110246191B (en) 2019-06-13 2019-06-13 Camera nonparametric model calibration method and calibration precision evaluation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910509253.4A CN110246191B (en) 2019-06-13 2019-06-13 Camera nonparametric model calibration method and calibration precision evaluation method

Publications (2)

Publication Number Publication Date
CN110246191A CN110246191A (en) 2019-09-17
CN110246191B true CN110246191B (en) 2021-03-16

Family

ID=67886785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910509253.4A Active CN110246191B (en) 2019-06-13 2019-06-13 Camera nonparametric model calibration method and calibration precision evaluation method

Country Status (1)

Country Link
CN (1) CN110246191B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355926B (en) * 2020-01-17 2022-01-11 高新兴科技集团股份有限公司 Linkage method of panoramic camera and PTZ camera, storage medium and equipment
CN112731288B (en) * 2020-12-17 2022-02-18 天津大学 Non-parameter model calibration method and device for line structure laser surface
CN113587832B (en) * 2021-08-21 2023-09-01 盐城高玛电子设备有限公司 Non-contact automatic measuring device and method for wheelbase difference and wheelbase
CN114062265B (en) * 2021-11-11 2023-06-30 易思维(杭州)科技有限公司 Evaluation method for stability of support structure of vision system
CN114178838B (en) * 2021-12-28 2024-03-22 上海稊米汽车科技有限公司 Multi-locking point locking method and equipment applied to multi-plane workpiece
CN116152357B (en) * 2023-04-04 2023-07-28 国科天成科技股份有限公司 Parameter calibration system and method for infinity focusing camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103148865A (en) * 2013-01-17 2013-06-12 天津大学 Camera model standardization method and standardization device
JP5857805B2 (en) * 2012-03-07 2016-02-10 株式会社Jvcケンウッド Camera calibration device
CN108921901A (en) * 2018-05-04 2018-11-30 北京航空航天大学 A kind of big visual field camera calibration method based on accurate two-axis platcform and laser tracker
CN109712201A (en) * 2019-02-27 2019-05-03 中国科学院上海技术物理研究所 A kind of the stationkeeping ability caliberating device and scaling method of wide area camera

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103854291B (en) * 2014-03-28 2017-08-29 中国科学院自动化研究所 Camera marking method in four-degree-of-freedom binocular vision system
US9940717B2 (en) * 2014-12-23 2018-04-10 Intel Corporation Method and system of geometric camera self-calibration quality assessment
EP3457682A1 (en) * 2016-05-13 2019-03-20 Olympus Corporation Calibration device, calibration method, optical device, imaging device, projection device, measurement system and measurement method
CN106910221B (en) * 2017-02-04 2020-12-01 景致三维(江苏)股份有限公司 Global calibration method and device
CN108389233B (en) * 2018-02-23 2020-04-14 大连理工大学 Laser scanner and camera calibration method based on boundary constraint and mean value approximation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5857805B2 (en) * 2012-03-07 2016-02-10 株式会社Jvcケンウッド Camera calibration device
CN103148865A (en) * 2013-01-17 2013-06-12 天津大学 Camera model standardization method and standardization device
CN108921901A (en) * 2018-05-04 2018-11-30 北京航空航天大学 A kind of big visual field camera calibration method based on accurate two-axis platcform and laser tracker
CN109712201A (en) * 2019-02-27 2019-05-03 中国科学院上海技术物理研究所 A kind of the stationkeeping ability caliberating device and scaling method of wide area camera

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Coordinate Transformation Uncertainty Analysis;Yu Ren et al;《IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT》;20150927;1-9页 *
基于正交柱面成像相机的大尺寸三维坐标测量;刘海庆等;《红外与激光工程》;20161130;1-6页 *
基于非参数测量模型的摄影测量方法研究;隆昌宇等;《光学学报》;20141231;1-9页 *
多站位CCD相机参数的标定方法研究;邹剑等;《传感器与微系统》;20100531;1-4页 *
非模型化相机标定方法及测角误差研究;李华晋等;《传感技术学报》;20121031;1-5页 *

Also Published As

Publication number Publication date
CN110246191A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110246191B (en) Camera nonparametric model calibration method and calibration precision evaluation method
CN111536902B (en) Galvanometer scanning system calibration method based on double checkerboards
CN107014312B (en) A kind of integral calibrating method of mirror-vibrating line laser structured light three-dimension measuring system
CN108921901B (en) Large-view-field camera calibration method based on precise two-axis turntable and laser tracker
CN106871787B (en) Large space line scanning imagery method for three-dimensional measurement
CN109211107B (en) Measuring device, rotating body and method for generating image data
CN108507462B (en) A kind of scaling method of four axis measuring device rotary shaft of holographic interference
CN110966935B (en) Deflection measurement system integrated geometric calibration method based on mark points
WO2022227844A1 (en) Laser radar correction apparatus and method
US7797120B2 (en) Telescope based calibration of a three dimensional optical scanner
GB2516528A (en) Automatic measurement of dimensional data with a laser tracker
CN110455225B (en) Rectangular spline shaft coaxiality and key position measuring method based on structured light vision
JP2004170412A (en) Method and system for calibrating measuring system
CN113465543B (en) Three-dimensional measurement system and method based on multi-view vision and galvanometer laser scanning
CN114266836B (en) Active vision three-dimensional calibration method, system and equipment based on galvanometer camera
CN111486864B (en) Multi-source sensor combined calibration method based on three-dimensional regular octagon structure
CN109887041B (en) Method for controlling position and posture of shooting center of digital camera by mechanical arm
TW561241B (en) Method and apparatus for calibrating laser three-dimensional digitizing sensor
CN110827360B (en) Photometric stereo measurement system and method for calibrating light source direction thereof
CN111562563A (en) Laser radar rotary table calibration method and device and computer readable storage medium
CN111044077B (en) Calibration method between star sensor measurement coordinate system and star sensor cube mirror coordinate system
CN107014293A (en) A kind of photogrammetric survey method of camera scanning imaging
CN113724337A (en) Camera dynamic external parameter calibration method and device without depending on holder angle
WO2022083513A1 (en) Method and system for calibrating angle of laser radar
CN103134443B (en) A kind of large-caliber large-caliber-thicknreflector reflector surface shape auto-collimation detection device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 495, building 3, 1197 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province 310051

Patentee after: Yi Si Si (Hangzhou) Technology Co.,Ltd.

Address before: Room 495, building 3, 1197 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province 310051

Patentee before: ISVISION (HANGZHOU) TECHNOLOGY Co.,Ltd.