CN101666625B - Model-free method for correcting distortion error - Google Patents

Model-free method for correcting distortion error Download PDF

Info

Publication number
CN101666625B
CN101666625B CN2009102056301A CN200910205630A CN101666625B CN 101666625 B CN101666625 B CN 101666625B CN 2009102056301 A CN2009102056301 A CN 2009102056301A CN 200910205630 A CN200910205630 A CN 200910205630A CN 101666625 B CN101666625 B CN 101666625B
Authority
CN
China
Prior art keywords
under test
object under
waffle slab
target surface
grid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102056301A
Other languages
Chinese (zh)
Other versions
CN101666625A (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.)
Changchun University of Science and Technology
Original Assignee
Changchun University of Science and Technology
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 Changchun University of Science and Technology filed Critical Changchun University of Science and Technology
Priority to CN2009102056301A priority Critical patent/CN101666625B/en
Publication of CN101666625A publication Critical patent/CN101666625A/en
Application granted granted Critical
Publication of CN101666625B publication Critical patent/CN101666625B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A model-free method for correcting distortion error belongs to the technical field of computer image identification. In the prior art, the mathematic model is established, the correction method is complex and the measurement precision depends on the established mathematic model; furthermore, the established mathematic models have similarity and are different from the practical situation, thus causing that the improvement of the measurement precision is restricted. In the invention, the mesh of any two imaged points of the object to be measured in a mesh plate distorted after imaging is determined firstly, thus obtaining the coordinates of the two points in the mesh plate coordinate system and working out the image dimensions between the two points; secondly, coordinate systems are established respectively in the mesh in which the two points are arranged, thus working out the image dimensions between the two points and the respective origins of the two coordinate system; and thirdly, the three image dimensions obtained in the previous two steps are added so as to obtain the image dimensions between any two points of the object to be measured. In the invention, the distorted mesh plate is directly used for measuring the distances of the two points on the object to be measured in the mesh plate coordinate system. When the dimension precision of the mesh plate is 0.2 microns, the measurement precision is higher than 3 microns.

Description

Model-free method for correcting distortion error
Technical field
The present invention relates to a kind of model-free method for correcting distortion error; In adopting computer image processing technology measure two dimensional target surface dimension process; Correction belongs to the computer image recognition technology field because of the distortion error that measurement mechanism optical parallax, machine error, electricity error are caused.
Background technology
Active computer Flame Image Process two dimension target surface dimension measurement method is unit representation picture size with the pixel, and there is conversion relation in object under test physical size just target surface size and its picture size.In order to find out target surface size and the picture size conversion relation between the two, the measure of being taked is to adopt the known standard footage number fixed, and so-called gauge is exactly a kind of two-dimentional chi, and waffle slab then is a kind of two-dimentional chi commonly used.Earlier waffle slab is placed the target surface position, lighting condition is identical with actual measurement, obtains the waffle slab image.If the target surface between the known waffle slab any two adjacent cross centers is of a size of d, to see shown in Figure 1ly, respective pixel in the waffle slab image (pixel) number is n, then tries to achieve calibration coefficient k=d/n.Any 2 p on the waffle slab 1, p 2Picture size n between the corresponding point on the waffle slab image LObtain through Computer Image Processing, then any 2 p on the waffle slab 1, p 2Between target surface size L be:
L=kn L (1)
Object under test is replaced waffle slab, can obtain object under test target surface size through contrast.
Yet, in target surface dimensional measurement process, uneven because of lens distortion and pixel size, arrange reasons such as irregular; Cause pattern distortion; See shown in Figure 2, thereby the distortion error that the picture size of make measuring exists, the precision of the target surface size that obtains therefrom is affected.This just needs to improve target surface dimensional measurement precision through the correcting distorted in other words error of correcting image distortion.For same measurement mechanism, its pattern distortion is constant.No matter waffle slab image or object under test image, its pattern distortion is identical.So existing distortion error bearing calibration is:
1, measures each cross center distortion error on the waffle slab image of waffle slab
This process is also referred to as demarcation.On waffle slab, setting up the waffle slab coordinate system is o-xy, sees shown in Figure 1ly, and the coordinate of any cross of waffle slab center p in o-xy is p (x i, y j) i is that cross center p is listed as in the waffle slab coordinate system number, j is cross center p row number in the waffle slab coordinate system, because the target surface size d at any two the adjacent cross centers of waffle slab is known, and p (x then i, y j) value representation in o-xy is:
x i = i × d y j = j × d ( i = 0,1 , . . . , N ; j = 0,1 , . . . , M ) - - - ( 2 )
If image coordinate system is o '-x ' y ', see shown in Figure 2ly, move to o-xy among o '-x ' y '.If the coordinate of o-xy initial point O in o '-x ' y ' is o (x after the translation 0, y o), the cross center coordinate of p in o '-x ' y ' is:
x i ′ = i × d + x 0 y j ′ = j × d + y 0 ( i = 0,1 , . . . , N ; j = 0,1 , . . . , M ) - - - ( 3 )
But because pattern distortion takes place, the cross center actual coordinate of p in o '-x ' y ' is (X i, Y j), then the distortion error of cross center p in the waffle slab image is:
Δ x i = X i - i × d - x 0 Δ y j = Y j - j × d - y 0 ( i = 0,1 , . . . , N ; j = 0,1 , . . . , M ) - - - ( 4 )
2, set up mathematical model and proofread and correct the object under test distortion error
After first step acquisition waffle slab distortion in images error, set up mathematical model and proofread and correct the object under test distortion error.Like method between dividing regions is that the waffle slab image is divided into several bigger rectangular areas according to the distortion error distribution situation, and as 3 * 3, this process is modeling, sees shown in Figure 3ly, is the selected normal value correcting value (dx in each rectangular area i, dy i); Should obtain by formula (4) by normal value correcting value; Judge then and a bit drop on which rectangular area on the object under test, just get the corrected value of the normal value correcting value of this rectangular area, proofread and correct its coordinate in image coordinate system o '-x ' y ' of back and be as these corresponding point on the object under test image:
X i ′ = X i - d x i Y j ′ = Y j - d y i - - - ( 5 )
Multiply by calibration coefficient k again, obtain that coordinate is in waffle slab coordinate system o-xy:
x i = k X i ′ y j = k Y j ′ - - - ( 6 )
Adopt said method, obtain any 2 A on the object under test respectively 1, A 2Coordinate after in waffle slab coordinate system o-xy, proofreading and correct
Figure G2009102056301D00025
With
Figure G2009102056301D00026
According to the distance between two points formula, try to achieve A 1, A 22 target surface size L AFor:
L A = ( x A 1 - x A 2 ) 2 + ( y A 1 - y A 2 ) 2 - - - ( 7 )
In addition; Existing method of proofreading and correct the object under test distortion error also has method of interpolation, fitting process etc., sees the Xian Inst. of Optics and Precision Mechanics, Chinese Academy of Sciences's PhD dissertation that is entitled as " research of high speed optoelectronic transit photographic film image information processing technology " that Deng Nianmao calendar year 2001 delivers for details.
Prior art is set up mathematical model makes bearing calibration loaded down with trivial details, and measuring accuracy relies on the mathematical model of being set up, and the mathematical model of being set up all has approximation, there are differences with actual conditions, causes the raising of measuring accuracy to be restricted.
Summary of the invention
In order to eliminate prior art because of realizing that through setting up mathematical model distortion error proofreaies and correct the restriction that the raising to measuring accuracy brings, we have invented a kind of model-free method for correcting distortion error.
The present invention's model-free method for correcting distortion error is characterized in that; At first; Residing grid in the waffle slab of confirming after imaging, to take place to distort after any 2 imagings of object under test; Thereby obtain this 2 coordinates in the waffle slab coordinate system, obtain the target surface size between these 2 residing grids; Secondly, in said 2 residing grids, set up coordinate system respectively, obtain and the target surface size between coordinate origin separately at these 2; The 3rd, the addition of preceding two resulting three target surface sizes of step is obtained the target surface size of any point-to-point transmission of object under test.
Its effect of the present invention is, though distortion error appears in the waffle slab image; Because object under test is in identical object plane with waffle slab, measurement mechanism is constant, therefore; When measuring the object under test size, its distortion in images error is identical with waffle slab pattern distortion error.So, because of whether p on the distortion grid plate takes place 1, p 22 distances in waffle slab coordinate system image look different, and still, the distance in the waffle slab coordinate system is constant, sees shown in Figure 4.Be in A on the object under test on the identical object plane with waffle slab 1, A 22 distances in the waffle slab coordinate system because of whether the waffle slab image distortion takes place do not change equally, and therefore, the present invention directly uses the waffle slab that distortion takes place to measure A on the object under test 1, A 22 distances in the waffle slab coordinate system.No longer set up image coordinate system, also no longer pass through the correcting distorted error of setting up of mathematical model for demarcation.Especially for the irregular target surface dimensional measurement of distortion error, modeling is difficult to, and the present invention's method can be simply suitable.When the dimensional accuracy of waffle slab used in the present invention was 0.2 μ m, measuring accuracy was higher than 3 μ m.
Description of drawings
Fig. 1 is the waffle slab synoptic diagram in the waffle slab coordinate system.Fig. 2 is the waffle slab image synoptic diagram that distortion takes place in image coordinate system.Fig. 3 is the interval synoptic diagram of waffle slab image division that distortion takes place in image coordinate system.Fig. 4 is the waffle slab coordinate system synoptic diagram that distortion takes place.Fig. 5 is that the object under test point is positioned at the situation synoptic diagram outside the waffle slab grid that distortion takes place in search procedure single-frame.Fig. 6 is the situation synoptic diagram that the object under test point is positioned at the waffle slab grid that distortion takes place in search procedure single-frame.Fig. 7 is any 2 situation synoptic diagram that drop on respectively in the waffle slab grid that distortion takes place on the object under test.Fig. 8 is the interior object under test point exact position of the waffle slab grid synoptic diagram that distortion takes place, and this figure double as is a Figure of abstract.
Embodiment
At first, residing grid in the waffle slab of confirming after imaging, to take place to distort after any 2 imagings of object under test.This process is also referred to as preliminary survey.If certain grid on the waffle slab that takes place to distort is quadrilateral BCDE.The line of four summit B of any 1 A of object under test and quadrilateral BCDE, C, D, E forms four triangle △ BCA, △ CDA, △ DEA, △ EBA.When triangle △ BCA, △ CDA, △ DEA, △ EBA area sum during greater than quadrilateral BCDE area, see shown in Figure 5ly, decision-point A drops on outside this grid.Through single-frame search, as triangle △ BCA, △ CDA, △ DEA, when △ EBA area sum equals quadrilateral BCDE area, see shown in Figure 6ly, decision-point A drops in this grid.Confirm to belong to more in addition grid again.Thereby obtain this 2 A 1, A 2Coordinate in the waffle slab coordinate system is obtained the target surface size of this point-to-point transmission.As an object lesson, judge A 1In (2,7) grid, A 2In (6,3) grid,, obtain the preliminary survey target surface and be of a size of according to the distance between two points formula:
L ′ = ( 2 d - 6 d ) 2 + ( 7 d - 3 d ) 2 = 5.657 d - - - ( 8 )
D is the target surface size between the waffle slab any two adjacent cross centers in the formula.
Secondly, in said 2 residing grids, set up coordinate system respectively, obtain and the target surface size between coordinate origin separately at these 2.This process is also referred to as accurate measurement.The intrinsic coordinates value of certain grid on the waffle slab of confirming to take place after any 1 imaging that A was positioned on the object under test to distort.Preliminary survey confirms that it is among the quadrilateral BCDE that object under test point A drops on certain grid of waffle slab that distortion takes place, and the true origin of establishing quadrilateral BCDE coordinate system is the E point, and EB is the x axle, and ED is the y axle, establishes:
p = EM ED = n n + m - - - ( 9 )
P just puts the ratio of y axial coordinate value with the y axial length of A.
Distortion error in the quadrilateral BCDE is regarded as even distribution, and according to the opposite side bisecting method, the M point coordinate is:
x M=(x E-x D)p (10)
y M=(y E-y D)p
In like manner, the N point coordinate is:
x N=(x B-x C)p (11)
y N=(y B-y C)p
Because certain some A is positioned on the straight line MN on the object under test, then has:
x A - x M y A - y M = x A - x N y A - y N - - - ( 12 )
Formula (10), (11) substitution (12), obtain:
p = x A ( y B + y D - y C - y E ) + y A ( x E + x C - x B - x D ) ( y E - y D ) ( x B - x C ) - ( y B - y C ) ( x E - x D ) - - - ( 13 )
Combinatorial formula (9), (13) obtain:
n=dp
m=d(1-p)
In like manner, establish q = EF EB - - - ( 14 )
Q just puts the ratio of x axial coordinate value with the x axial length of A.Then can get:
EF=dq (15)
Can access any 2 A of testee according to foregoing 1, A 2The intrinsic coordinates value of certain grid is respectively on the waffle slab that distortion takes place:
x A 1 = dp 1 y A 1 = dq 1 - - - ( 16 )
x A 2 = dp 2 y A 2 = dq 2 - - - ( 17 )
According to the distance between two points formula, obtain A 1, A 22 with the distance of coordinate origin separately (target surface size) and be:
L ′ ′ = ( dp 1 ) 2 + ( dq 1 ) 2 + ( dp 2 ) 2 + ( dq 2 ) 2
That is: L ′ ′ = d ( p 1 2 + q 1 2 + p 2 2 + q 2 2 ) - - - ( 18 )
In the formula: d is the target surface size between the waffle slab any two adjacent cross centers, P 1Be arbitrfary point A on the object under test 1The ratio of y axial coordinate value and y axial length, P 2Be another arbitrfary point A on the object under test 2The ratio of y axial coordinate value and y axial length, q 1Be arbitrfary point A on the object under test 1The ratio of x axial coordinate value and x axial length, q 2Be another arbitrfary point A on the object under test 2The ratio of x axial coordinate value and x axial length.
The 3rd, the addition of preceding two resulting target surface sizes of step is obtained the target surface size of any point-to-point transmission of object under test.Connect the used object lesson of preliminary survey, combinatorial formula (8) and (18) obtain A 1, A 2Total target surface of 2 is of a size of:
L = L ′ + L ′ ′ = 5.657 d + d ( ( p 1 ) 2 + ( q 1 ) 2 + ( p 2 ) 2 + ( q 2 ) 2 ) - - - ( 19 )

Claims (3)

1. model-free method for correcting distortion error; It is characterized in that, at first, residing grid in the waffle slab of confirming after imaging, to take place to distort after any 2 imagings of object under test; Thereby obtain this 2 coordinates in the waffle slab coordinate system, obtain the target surface size between these 2 residing grids; Secondly, in the grid of said 2 residing generations distortion, set up coordinate system respectively, obtain and the target surface size between coordinate origin separately at these 2; The 3rd, the addition of preceding two resulting three target surface sizes of step is obtained the target surface size of any point-to-point transmission of object under test.
2. bearing calibration according to claim 1; It is characterized in that; If certain grid on the waffle slab that takes place to distort is quadrilateral BCDE; The line of four summit B of any 1 A of object under test and quadrilateral BCDE, C, D, E forms four triangle △ BCA, △ CDA, △ DEA, △ EBA, and when triangle △ BCA, △ CDA, △ DEA, △ EBA area sum during greater than quadrilateral BCDE area, decision-point A drops on outside this grid; Through single-frame search, as triangle △ BCA, △ CDA, △ DEA, when △ EBA area sum equals quadrilateral BCDE area, decision-point A drops in this grid; Confirm to belong to more in addition grid again.
3. bearing calibration according to claim 1 is characterized in that, any 2 A on the object under test 1, A 2And separately the target surface size between the coordinate origin and L " be:
L ′ ′ = d ( p 1 2 + q 1 2 + p 2 2 + q 2 2 ) ,
In the formula: d is the target surface size between the waffle slab any two adjacent cross centers, P 1Be arbitrfary point A on the object under test 1The ratio of y axial coordinate value and y axial length, P 2Be another arbitrfary point A on the object under test 2The ratio of y axial coordinate value and y axial length, q 1Be arbitrfary point A on the object under test 1The ratio of x axial coordinate value and x axial length, q 2Be another arbitrfary point A on the object under test 2The ratio of x axial coordinate value and x axial length.
CN2009102056301A 2009-09-30 2009-09-30 Model-free method for correcting distortion error Expired - Fee Related CN101666625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102056301A CN101666625B (en) 2009-09-30 2009-09-30 Model-free method for correcting distortion error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102056301A CN101666625B (en) 2009-09-30 2009-09-30 Model-free method for correcting distortion error

Publications (2)

Publication Number Publication Date
CN101666625A CN101666625A (en) 2010-03-10
CN101666625B true CN101666625B (en) 2012-08-08

Family

ID=41803350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102056301A Expired - Fee Related CN101666625B (en) 2009-09-30 2009-09-30 Model-free method for correcting distortion error

Country Status (1)

Country Link
CN (1) CN101666625B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2839439B1 (en) * 2012-04-18 2024-02-28 InterDigital Madison Patent Holdings, SAS Vertex correction method and apparatus for rotated three-dimensional (3d) components
WO2014107944A1 (en) 2013-01-10 2014-07-17 Thomson Licensing Method and apparatus for vertex error correction
CN105352452B (en) * 2015-12-24 2017-11-03 吉林大学 Automobile shape measurement system electronic type distortion factor measuring instrument
CN105371783B (en) * 2015-12-24 2017-09-15 吉林大学 Automobile shape measurement system scale-type distortion factor measuring instrument
CN105403171B (en) * 2015-12-24 2017-10-03 吉林大学 Automobile shape measurement system raster pattern distortion factor measuring instrument
CN109813221A (en) * 2019-03-05 2019-05-28 天津工业大学 The measurement Error Compensation method of heavy steel plate based on controlling filed
CN111059964B (en) * 2019-12-03 2022-03-15 中国人民解放军总参谋部第六十研究所 Shooting target scoring device and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6538691B1 (en) * 1999-01-21 2003-03-25 Intel Corporation Software correction of image distortion in digital cameras
CN1529124A (en) * 2003-09-29 2004-09-15 上海交通大学 Precision-adjustable neural network camera calibrating method
CN101520897A (en) * 2009-02-27 2009-09-02 北京机械工业学院 Video camera calibration method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6538691B1 (en) * 1999-01-21 2003-03-25 Intel Corporation Software correction of image distortion in digital cameras
CN1529124A (en) * 2003-09-29 2004-09-15 上海交通大学 Precision-adjustable neural network camera calibrating method
CN101520897A (en) * 2009-02-27 2009-09-02 北京机械工业学院 Video camera calibration method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周海林等."光学图像几何畸变的快速校正算法".《中国图象图形学报》.2003,第8卷(第10期),1131-1135.
牛建军等."高准确度光电成像测量系统图像畸变校正算法".《光子学报》.2006,第35卷(第9期),1317-1320.
韩广良等."一种基于畸变等效曲面的图像畸变校正".《光学技术》.2005,第31卷(第1期),122-124.

Also Published As

Publication number Publication date
CN101666625A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
CN101666625B (en) Model-free method for correcting distortion error
US7177740B1 (en) Method and apparatus for dynamic measuring three-dimensional parameters of tire with laser vision
CN101334267B (en) Digital image feeler vector coordinate transform calibration and error correction method and its device
CN101419708B (en) Structure optical parameter demarcating method based on one-dimensional target drone
CN103201617B (en) Substrate inspecting method
CN102980542B (en) Multiple-sensor united calibration method
CN102800096B (en) Robustness estimation algorithm of camera parameter
CN107110637A (en) Calibration to three-dimension measuring system is updated
Liu et al. An improved online dimensional measurement method of large hot cylindrical forging
CN102376089A (en) Target correction method and system
CN112634373B (en) Visual measurement system dynamic correction method based on zero-expansion ceramic calibration plate
CN105571523A (en) Tooth error vision measurement method for involute of straight toothed spur gear
CN109751964B (en) High-precision non-contact pipe diameter measuring method and device
CN109443214B (en) Calibration method and device, measurement method and device for structured light three-dimensional vision
CN106815866B (en) Calibration method of fisheye camera, calibration system and target thereof
CN110672037A (en) Linear light source grating projection three-dimensional measurement system and method based on phase shift method
CN103163725A (en) Camera module detection device and detection method
CN111028297A (en) Calibration method of surface structured light three-dimensional measurement system
CN106352806A (en) High-precision calibration method for stereoscopic vision three-dimensional digital image correlation measurement
CN109544642B (en) N-type target-based TDI-CCD camera parameter calibration method
CN105091772A (en) Plane object two-dimension deflection measuring method
CN111707187A (en) Measuring method and system for large part
CN110490941B (en) Telecentric lens external parameter calibration method based on normal vector
CN102313515B (en) Three-dimensional digital image correlation (3D-DIC) correcting method
CN104406770A (en) Distortion measuring apparatus of wave aberration measuring module, and distortion correction method

Legal Events

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

Granted publication date: 20120808

Termination date: 20120930