CN109146956B - Method for obtaining linear error correction coefficient of visual positioning system - Google Patents
Method for obtaining linear error correction coefficient of visual positioning system Download PDFInfo
- Publication number
- CN109146956B CN109146956B CN201810903549.XA CN201810903549A CN109146956B CN 109146956 B CN109146956 B CN 109146956B CN 201810903549 A CN201810903549 A CN 201810903549A CN 109146956 B CN109146956 B CN 109146956B
- Authority
- CN
- China
- Prior art keywords
- positioning system
- target
- coordinates
- unit circle
- visual positioning
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
Abstract
The invention discloses a method for acquiring a linear error correction coefficient of a visual positioning system, which sequentially comprises the following steps: step 1: the target is driven to do circular motion along a unit circle, and then the center of the unit circle is used as a seat of the vision positioning systemMarking an original point; step 2: the vision positioning system measures the moving target once to obtain the measuring coordinate (X) of the target at the moment0,Y0) (ii) a And step 3: mixing X0And Y0Substituting formula Y1=[(1‑X0 2)1/2+Y0]In/2, to calculate Y1(ii) a Then Y is put0And Y1Substituting into formula K1=Y1/Y0In order to calculate K1And finally K1And X0Substituting formula X1=K1*X0In order to calculate X1(ii) a And 4, step 4: mixing X1And Y1Substituting formula Yi+1=[(1‑Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiPerforming iteration; when Y isi+1And YiStopping iteration when the difference value between the two is less than the threshold value; then Y is put0And the last Y-axis correction coordinate Yi+1Substituting formula K = Yi+1/Y0To calculate a linear error correction coefficient K of the visual positioning system. The invention can obtain the linear error correction coefficient of the visual positioning system.
Description
Technical Field
The invention relates to a visual positioning system, in particular to a method for acquiring a linear error correction coefficient of the visual positioning system.
Background
The visual positioning system shoots a characteristic point on an object through a plurality of CCD cameras to respectively obtain the coordinates of the characteristic point on each camera image plane, and as long as the accurate relative position of each camera is known, the coordinates of the characteristic point in a coordinate system for fixing one camera can be obtained by a geometric method, namely the position of the characteristic point is determined.
The structural parameters of the CCD camera are directly related to the image acquisition and detection precision, the parameters are divided into internal parameters and external parameters, a visual positioning system needs to carry out equipment calibration before being used, and the internal parameters and the external parameters are solved, so that the quantitative relation between the space position of the space characteristic point and the coordinates of the corresponding point of the two-dimensional image is obtained. However, the vision positioning system may have a deviation in the coefficient calibration result during the calibration process, and this phenomenon may cause a linear error in the calculated measured coordinate values, resulting in an equal-scale enlargement or reduction relationship between the measured coordinate values and the actual coordinate values. Meanwhile, if the difference between the use environment and the calibration environment is large, the actual size factor and the calibration result are in and out, and a linear error of the measurement coordinate value also occurs. In addition, due to the problem of automatic focusing response, when the spatial features dynamically operate, focusing lag causes poor imaging effect, the imaging size changes, and linear errors of measurement coordinate values also occur. Therefore, a linear error exists between the measured coordinate value output by the existing visual positioning system and the actual coordinate value, and a linear error correction coefficient is required to correct the measured coordinate value.
Disclosure of Invention
The invention aims to provide a method for acquiring a linear error correction coefficient of a visual positioning system, which can acquire the linear error correction coefficient of the visual positioning system so as to correct the measurement coordinate of the visual positioning system.
In order to achieve the above purpose, the solution of the invention is:
a method for obtaining linear error correction coefficient of visual positioning system includes:
step 1: driving a target to do circular motion along a unit circle, and then taking the center of the unit circle as the origin of coordinates of the unit circle by the vision positioning system;
step 2: the vision positioning system measures the moving target once to obtain the measurement of the target at the momentCoordinate (X)0,Y0);
And step 3: mixing X0And Y0Substituting formula Y1=[(1-X0 2)1/2+Y0]In/2, the first time Y-axis correction coordinate Y is obtained by calculation1(ii) a Then Y is put0And Y1Substituting into formula K1=Y1/Y0In order to calculate the first linear error correction coefficient K1And finally K1And X0Substituting formula X1=K1*X0In order to calculate and obtain the first X-axis corrected coordinate X1;
And 4, step 4: mixing X1And Y1Substituting formula Yi+1=[(1-Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiWhere i is a positive integer greater than 0, YiCorrecting the coordinates for the ith Y-axis, XiCorrection of coordinates for the ith X-axis, Yi+1Correction of coordinates for the i +1 th Y-axis, Xi+1Correcting the coordinates for the (i + 1) th X-axis; when Y isi+1And YiStopping iteration when the difference value between the two is less than the threshold value; then Y is put0And the last Y-axis correction coordinate Yi+1Substituting formula K = Yi+1/Y0To calculate a linear error correction coefficient K of the visual positioning system.
In step 1, the method for the vision positioning system to use the center of the unit circle as its origin of coordinates includes: the target stays at a plurality of designated positions on the unit circle, the visual positioning system performs static measurement on the target staying at the designated positions to acquire three-dimensional space coordinates of the designated positions, then the visual positioning system calculates the three-dimensional space coordinates of the center of the unit circle according to the three-dimensional space coordinates of the designated positions, and finally the visual positioning system sets the position of the center of the unit circle as the origin of coordinates of the visual positioning system.
In the step 2, the target is fixed on a measuring head of a three-coordinate measuring machine, and the three-coordinate measuring machine drives the target to do circular motion along the unit circle.
In the step 2, the target is fixed on a tool of a numerical control machine tool, and the numerical control machine tool drives the target to do circular motion along the unit circle.
The threshold is one in a thousand.
After the scheme is adopted, the vision positioning system measures the moving target once to obtain the measurement coordinate (X) of the target at the moment0,Y0) And since the target actual coordinates (X, Y) satisfy X2+Y2=1, such that X0Substitution of X2+Y2In =1 to give X0Theoretically corresponding to the Y-axis coordinate Y being (1-X)0 2)1/2Since the actual coordinate Y of the target is between Y0To Y, thus to Y0Performing a first correction to correct the coordinate Y on the Y axis1Is equal to { [ (1-X)0 2)1/2+Y0]/2}, then the first correction factor K can be obtained1=Y/Y0Then through K1To X0Performing a first correction to correct the coordinate X for the first X-axis1Is equal to (K)1*X0) Subsequently combining X1And Y1Substituting formula Yi+1=[(1-Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiIn the iteration, X is madei+1And Yi+1Respectively and continuously approaching X and Y; when Y isi+1And YiWhen the difference between the values is less than the threshold value, stopping the iteration, and Xi+1And Yi+1The values are very close to X and Y, and the linear error correction coefficient K of the visual positioning system is obtained, wherein K is equal to (Y)i+1/Y0) The measurement coordinates of the visual positioning system can be corrected by a linear error correction factor K, where X0Modified to (K X)0),Y0Modified to (K X Y)0)。
Drawings
FIG. 1 is a graph of a measured coordinate curve and an actual coordinate curve of a target of the present invention.
Detailed Description
In order to further explain the technical solution of the present invention, the present invention is explained in detail by the following specific examples.
The invention discloses a method for acquiring a linear error correction coefficient of a visual positioning system, which sequentially comprises the following steps:
step 1: driving a target to do circular motion along a unit circle, and then taking the center of the unit circle as the origin of coordinates of the unit circle by the vision positioning system; the method for the vision positioning system to take the center of the unit circle as the origin of coordinates of the unit circle comprises the following steps: the target stays at a plurality of designated positions on the unit circle, the visual positioning system performs static measurement on the target staying at the designated positions to acquire three-dimensional space coordinates of the designated positions, then the visual positioning system calculates the three-dimensional space coordinates of the center of the unit circle according to the three-dimensional space coordinates of the designated positions, and finally the visual positioning system sets the center position of the unit circle as the origin of coordinates of the visual positioning system;
step 2: the vision positioning system measures the moving target once to obtain the measuring coordinate (X) of the target at the moment0,Y0) (ii) a The target can be fixed on a measuring head of a three-coordinate measuring machine, and the three-coordinate measuring machine drives the target to do circular motion along the unit circle; the target can also be fixed on a cutter of a numerical control machine tool, and the numerical control machine tool drives the target to do circular motion along the unit circle;
and step 3: mixing X0And Y0Substituting formula Y1=[(1-X0 2)1/2+Y0]In/2, the first time Y-axis correction coordinate Y is obtained by calculation1(ii) a Then Y is put0And Y1Substituting into formula K1=Y1/Y0In order to calculate the first linear error correction coefficient K1And finally K1And X0Substituting formula X1=K1*X0In the middle, inCalculating to obtain a first X-axis correction coordinate X1;
And 4, step 4: mixing X1And Y1Substituting formula Yi+1=[(1-Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiWhere i is a positive integer greater than 0, YiCorrecting the coordinates for the ith Y-axis, XiCorrection of coordinates for the ith X-axis, Yi+1Correction of coordinates for the i +1 th Y-axis, Xi+1Correcting the coordinates for the (i + 1) th X-axis; when Y isi+1And YiWhen the difference value between the two is smaller than a threshold value, stopping iteration, wherein the threshold value can be one in a thousand; then Y is put0And the last Y-axis correction coordinate Yi+1Substituting formula K = Yi+1/Y0To calculate a linear error correction coefficient K of the visual positioning system.
As shown in FIG. 1, the actual coordinates (X, Y) of the target satisfy X2+Y2=1, the amplitude of the X-axis measured coordinate curve a1 is smaller than the amplitude of the X-axis actual coordinate curve A3, and the amplitude of the Y-axis measured coordinate curve a2 is also smaller than the amplitude of the Y-axis actual coordinate curve a 4; the working principle of the invention is as follows:
as shown in FIG. 1, the vision positioning system of the present invention measures a moving target once to obtain the measured coordinates (X) of the target at that time0,Y0) And since the target actual coordinates (X, Y) satisfy X2+Y2=1, such that X0Substitution of X2+Y2In =1 to give X0Theoretically corresponding to the Y-axis coordinate Y being (1-X)0 2)1/2Since the actual coordinate Y of the target is between Y0To Y, thus to Y0Performing a first correction to correct the coordinate Y on the Y axis1Is equal to { [ (1-X)0 2)1/2+Y0]/2}, then the first correction factor K can be obtained1=Y1/Y0Then through K1To X0Performing a first correction to correct the coordinate X for the first X-axis1Is equal to (K)1*X0) Subsequently combining X1And Y1Substituting formula Yi+1=[(1-Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiIn the iteration, X is madei+1And Yi+1Respectively and continuously approaching X and Y; when Y isi+1And YiWhen the difference between the values is less than the threshold value, stopping the iteration, and Xi+1And Yi+1The values are very close to X and Y, and the linear error correction coefficient K of the visual positioning system is obtained, wherein K is equal to (Y)i+1/Y0) The measurement coordinates of the visual positioning system can be corrected by a linear error correction factor K, where X0Modified to (K X)0),Y0Modified to (K X Y)0)。
The above embodiments and drawings are not intended to limit the form and style of the present invention, and any suitable changes or modifications thereof by those skilled in the art should be considered as not departing from the scope of the present invention.
Claims (5)
1. A method for obtaining linear error correction coefficient of visual positioning system is characterized in that: sequentially comprises the following steps:
step 1: driving a target to do circular motion along a unit circle, and then taking the center of the unit circle as the origin of coordinates of the unit circle by the vision positioning system;
step 2: the vision positioning system measures the moving target once to obtain the measuring coordinate (X) of the target at the moment0,Y0);
And step 3: mixing X0And Y0Substituting formula Y1=[(1-X0 2)1/2+Y0]In/2, the first time Y-axis correction coordinate Y is obtained by calculation1(ii) a Then Y is put0And Y1Substituting into formula K1=Y1/Y0In order to calculate the first linear error correction coefficient K1And finally K1And X0Substituting formula X1=K1*X0To calculateObtaining a first X-axis correction coordinate X1;
And 4, step 4: mixing X1And Y1Substituting formula Yi+1=[(1-Xi 2)1/2+Yi]/2、Ki+1=Yi+1/YiAnd Xi+1=Ki+1*XiWhere i is a positive integer greater than 0, YiCorrecting the coordinates for the ith Y-axis, XiCorrection of coordinates for the ith X-axis, Yi+1Correction of coordinates for the i +1 th Y-axis, Xi+1Correcting the coordinates for the (i + 1) th X-axis; when Y isi+1And YiStopping iteration when the difference value between the two is less than the threshold value; then Y is put0And the last Y-axis correction coordinate Yi+1Substituting formula K = Yi+1/Y0To calculate a linear error correction coefficient K of the visual positioning system.
2. The method of claim 1, wherein the method comprises: in step 1, the method for the vision positioning system to use the center of the unit circle as its origin of coordinates includes:
the target stays at a plurality of designated positions on the unit circle, the visual positioning system performs static measurement on the target staying at the designated positions to acquire three-dimensional space coordinates of the designated positions, then the visual positioning system calculates the three-dimensional space coordinates of the center of the unit circle according to the three-dimensional space coordinates of the designated positions, and finally the visual positioning system sets the position of the center of the unit circle as the origin of coordinates of the visual positioning system.
3. The method of claim 1, wherein the method comprises: in the step 2, the target is fixed on a measuring head of a three-coordinate measuring machine, and the three-coordinate measuring machine drives the target to do circular motion along the unit circle.
4. The method of claim 1, wherein the method comprises: in the step 2, the target is fixed on a tool of a numerical control machine tool, and the numerical control machine tool drives the target to do circular motion along the unit circle.
5. The method of claim 1, wherein the method comprises: the threshold is one in a thousand.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903549.XA CN109146956B (en) | 2018-08-09 | 2018-08-09 | Method for obtaining linear error correction coefficient of visual positioning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903549.XA CN109146956B (en) | 2018-08-09 | 2018-08-09 | Method for obtaining linear error correction coefficient of visual positioning system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109146956A CN109146956A (en) | 2019-01-04 |
CN109146956B true CN109146956B (en) | 2021-11-16 |
Family
ID=64792348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810903549.XA Active CN109146956B (en) | 2018-08-09 | 2018-08-09 | Method for obtaining linear error correction coefficient of visual positioning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109146956B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004265957A (en) * | 2003-02-26 | 2004-09-24 | Nikon Corp | Detecting method of optimal position detection formula, alignment method, exposure method, device, and method of manufacture the device |
CN101520897B (en) * | 2009-02-27 | 2011-01-19 | 北京机械工业学院 | Video camera calibration method |
CN101887068B (en) * | 2010-06-01 | 2011-11-16 | 中北大学 | Calibration compensation method for triaxial vector sensor and biaxial vector sensor |
JP5832278B2 (en) * | 2011-12-26 | 2015-12-16 | 三菱重工業株式会社 | Calibration method for camera measurement system |
CN104133081B (en) * | 2014-07-31 | 2016-08-24 | 工业和信息化部电子第五研究所 | The detection method of accelerometer performance parameter and system |
CN106358291B (en) * | 2016-10-27 | 2019-07-19 | 上海恒兆节能科技有限公司 | A kind of trilateration localization method based on signal strength |
CN106767594B (en) * | 2016-12-08 | 2019-04-02 | 江苏大学 | A kind of large gear lathe gauge head center scaling method based on sector gear measurer |
CN107703469A (en) * | 2017-08-25 | 2018-02-16 | 广州新维感信息技术有限公司 | A kind of magnetic force meter calibration method and device |
CN108154537B (en) * | 2017-12-25 | 2020-09-29 | 南京鑫业诚智能科技有限公司 | Correction method of large-visual-field rapid detection system |
-
2018
- 2018-08-09 CN CN201810903549.XA patent/CN109146956B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109146956A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107367229B (en) | Free binocular stereo vision rotating shaft parameter calibration method | |
CN108340211B (en) | Numerically-controlled machine tool profile errors method for three-dimensional measurement based on monocular vision | |
TWI420066B (en) | Object measuring method and system | |
US9418435B2 (en) | Three-dimensional measurement method | |
TWI517101B (en) | Calibration system and method for 3d scanner | |
US9491448B2 (en) | Laser videogrammetry | |
CN106737859B (en) | External parameter calibration method for sensor and robot based on invariant plane | |
US20220258352A1 (en) | Robot hand-eye calibration method and apparatus, computing device, medium and product | |
TWI493153B (en) | Non-contact measurement device and method for object space information and the method thereof for computing the path from capturing the image | |
JP7185860B2 (en) | Calibration method for a multi-axis movable vision system | |
CN109623822B (en) | Robot hand-eye calibration method | |
CN106705860B (en) | A kind of laser distance measurement method | |
CN113724337B (en) | Camera dynamic external parameter calibration method and device without depending on tripod head angle | |
CN109712139B (en) | Monocular vision size measurement method based on linear motion module | |
CN104634246A (en) | Floating type stereo visual measuring system and measuring method for coordinates of object space | |
TW561241B (en) | Method and apparatus for calibrating laser three-dimensional digitizing sensor | |
JP7427370B2 (en) | Imaging device, image processing device, image processing method, calibration method for imaging device, robot device, method for manufacturing articles using robot device, control program, and recording medium | |
CN109146956B (en) | Method for obtaining linear error correction coefficient of visual positioning system | |
KR101634283B1 (en) | The apparatus and method of 3d modeling by 3d camera calibration | |
JP2015007639A (en) | Information processing apparatus, information processing method and program | |
JP5740649B2 (en) | Image measuring apparatus, autofocus control method, and autofocus control program | |
CN111044039A (en) | Monocular target area self-adaptive high-precision distance measuring device and method based on IMU | |
CN114820820B (en) | 3D detection method for computer backshell | |
JP5901379B2 (en) | Imaging apparatus calibration method and image composition apparatus | |
CN112971984B (en) | Coordinate registration method based on integrated surgical robot |
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 |