CN103714551B - Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination - Google Patents

Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination Download PDF

Info

Publication number
CN103714551B
CN103714551B CN201410025321.7A CN201410025321A CN103714551B CN 103714551 B CN103714551 B CN 103714551B CN 201410025321 A CN201410025321 A CN 201410025321A CN 103714551 B CN103714551 B CN 103714551B
Authority
CN
China
Prior art keywords
parameter
camera
camera extrinsic
visual system
interval
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
CN201410025321.7A
Other languages
Chinese (zh)
Other versions
CN103714551A (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.)
Ningbo Intelligent Equipment Research Institute Co., Ltd.
Original Assignee
Harbin Institute of 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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201410025321.7A priority Critical patent/CN103714551B/en
Publication of CN103714551A publication Critical patent/CN103714551A/en
Application granted granted Critical
Publication of CN103714551B publication Critical patent/CN103714551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention relates to a method for calibrating camera external parameters of an automatic motormeter detection visual system on the basis of interval elimination, which relates to a method for calibrating camera external parameters, and aims at solving the problems that as camera external parameters of an existing automatic motormeter detection visual system can be only adjusted depending on personal experience, the parameter precision is low, the parameter adjustment process is complicated and the detection precision of the automatic motormeter detection visual system is low. The method for calibrating the camera external parameters of the automatic motormeter detection visual system is characterized in that all to-be-calibrated camera external parameters are iterated to obtain a minimal value of the iteration result and an optimal camera external parameter, the optimal camera external parameter of the iteration result at the present time is compared with that of the iteration result at the previous time, so that the parameter range is narrowed to 0.618 of an original interval, and the detection precision of the automatic motormeter detection visual system can be improved by 60 percent. The method is suitable for calibration on the camera external parameters.

Description

Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating Determine method
Technical field
The present invention relates to a kind of Camera extrinsic number scaling method.
Background technology
In automobile instrument automatic detecting platform, visual system is the core of platform, and most detection use-case is all Relevant with image procossing, image recognition., as the core component of visual system, its parameter is fine or not, directly for wherein camera Have impact on the accuracy of detection of detection platform, this requires to find a kind of side being capable of quick and precisely calibration for cameras parameter optimal value Method.
Camera has intrinsic parameter and outer parameter, and intrinsic parameter cannot change after camera dispatches from the factory again, and outer parameter is can With adjust at any time, these parameters include aperture time, camera gain, contrast etc..In actual applications, these Camera extrinsic Number does not have a standard, rational algorithm to determine these parameters, is essentially all empirically to pass through continuous debugging Find one group of relatively reasonable parameter.In automobile instrument automatic detecting platform, the algorithm of image procossing is often to determine, calculates Method realize programming after the completion of be not intended to change, but when light in detection platform, the brightness of automobile instrument itself, When color changes, we must make corresponding change again, at this moment just can reach it is desirable that only changing Camera extrinsic number Algorithm requires.But because the camera of detection platform has the outer parameter of many, if only to debug outer parameter by experience, often look for not To one group of satisfied parameter, this is unfavorable to the reusability of automobile instrument automatic detection algorithm, therefore finds a kind of quick Accurately scaling method is very necessary.
Interval cancellation is a kind of by constantly reducing siding-to-siding block length thus the one kind gradually approaching object function extreme point is excellent Change method, that is, in each iterative process, all eliminates a part and does not contain the interval of extreme point, until remaining interval according to one Fixed required precision converges to extreme point.
The outstanding algorithm at present the adjustment neither one of Camera extrinsic number generally acknowledged, major part is all using the most direct " test method(s) ", personnel empirically carry out adjusting parameter with subjective sensation.The thought of " test method(s) " is:Given one group of initial parameter values, Empirically change a parameter every time, judge whether new parameter value is more reasonable by subjective sensation, if under reasonable change One parameter value, if unreasonable continue to change this parameter, constantly modification parameter feels reasonable until subjective.This method Shortcoming the most fatal is that it has very big randomness, and whether the parameter finally demarcated is reasonable and do not know.This shortcoming is in vapour Embody clearly in car instrument automatic detecting platform, the camera parameter of detection platform is a lot, the process of debugging camera parameter Very complicated, and be difficult to find the parameter of one group of satisfaction.
Content of the invention
The present invention is can only to rely on individual to solve the Camera extrinsic number of existing automobile instrument automatic detection visual system Experience is adjusted, and makes that parameters precision is low, parameter testing process complicated, and then leads to automobile instrument automatic detection visual system detection essence Spend low problem, the Camera extrinsic number scaling method based on the interval automobile instrument automatic detection visual system eliminating now is provided.
Based on the Camera extrinsic number scaling method of the interval automobile instrument automatic detection visual system eliminating it is:
All Camera extrinsic numbers to be calibrated are iterated, obtain the minima f (X of iteration resultj)minWith this minima f (Xj)minCorresponding optimum Camera extrinsic number Xj, wherein j is iterationses, and initial value is 1;As j=2, execute following step:
Minima f (the X of contrast current iteration resultj)minCorresponding optimum Camera extrinsic number XjWith last iteration result Minima f (Xj-1)minCorresponding optimum Camera extrinsic number Xj-1If, | | Xj-Xj-1| |≤δ, then current iteration result is Little value f (Xj)minCorresponding optimum Camera extrinsic number XjFor optimum Camera extrinsic number, δ is 0, otherwise, j=j+1, carry out next time Iteration.
The method that all Camera extrinsic numerical value to be calibrated are iterated comprises the steps:
Step one:Minima f (X according to last iteration resultj-1)min, in all Camera extrinsic numbers to be calibrated, profit With Fibonacci method, obtain Camera extrinsic numerical intervals to be calibratedAnd utilize golden cut algorithm to select in this interval Take two groups of iterative parameter valuesWithWherein i ∈ [1, n], n are the number of Camera extrinsic number, then execution step two;
Step 2:Using two groups of iterative parameter valuesWithSet camera, and obtain the image shot by camera under this parameter, Then execution step three;
Step 3:Camera shooting figure step 2 being obtained using the standards of grading of automobile instrument automatic detection visual system As being scored, obtain 2nIndividual appraisal resultWherein k=1,2 ..., 2n, then execution step four;
Step 4:2 that step 3 is obtainednIndividual appraisal resultIt is compared, obtain 2nIn individual appraisal result Little value f (Xj)min, thus obtaining minima f (Xj)minCorresponding Camera extrinsic number Xj.
Above-mentioned iterative parameterFor:
x 1 i j = a 1 i j + 0.382 ( b 1 i j - a 1 i j ) .
Above-mentioned iterative parameterFor:
x 2 i j = a 2 i j + 0.618 ( b 2 i j - a 2 i j ) .
Above-mentioned Camera extrinsic number XjFor:
X j = [ x 1 i j , x 2 i j ] T .
Above-mentioned parameterFor camera gain.
Above-mentioned parameterFor shutter speed.
Camera extrinsic number demarcation side based on the interval automobile instrument automatic detection visual system eliminating of the present invention Method, the optimal result using last iteration carries out next iteration, so that parameter area narrows down to the 0.618 of former interval, And optimum camera parameter just be can determine by the iteration within 15 times, compare existing dependence personal experience and judge parameter Faster, parameter value is more accurate for speed, and automobile instrument automatic detection visual system accuracy of detection can be made to improve 60%.Simultaneously The present invention, for single-point parameter, can converge to optimized parameter;Local optimum parameter can be converged to for multiple spot parameter.
Camera extrinsic number demarcation side based on the interval automobile instrument automatic detection visual system eliminating of the present invention Method is it is adaptable to demarcate to Camera extrinsic number.
Brief description
Fig. 1 is the image scoring figure of two groups of parameters, and wherein solid-line curve is shutter speed, and imaginary curve is camera gain;
Fig. 2 is the plane angle figure of iterative process;
Fig. 3 is the equal pitch contour visual angle figure of iterative process;
Fig. 4 is the parameter value scattergram of primary iteration;
Fig. 5 is iterative process schematic diagram when two parameters are iterated.
Specific embodiment
Specific embodiment one:The automobile instrument automatic detection visual system based on interval cancellation described in present embodiment Camera extrinsic number scaling method be:
All Camera extrinsic numbers to be calibrated are iterated, obtain the minima f (X of iteration resultj)minWith this minima f (Xj)minCorresponding optimum Camera extrinsic number Xj, wherein j is iterationses, and initial value is 1;As j=2, execute following step:
Minima f (the X of contrast current iteration resultj)minCorresponding optimum Camera extrinsic number XjWith last iteration result Minima f (Xj-1)minCorresponding optimum Camera extrinsic number Xj-1If, | | Xj-Xj-1| |≤δ, then current iteration result is Little value f (Xj)minCorresponding optimum Camera extrinsic number XjFor optimum Camera extrinsic number, δ is 0, otherwise, j=j+1, carry out next time Iteration.
Specific embodiment two:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment one The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, to all to be calibrated The method that Camera extrinsic numerical value is iterated comprises the steps:
Step one:Minima f (X according to last iteration resultj-1)min, in all Camera extrinsic numbers to be calibrated, profit With Fibonacci method, obtain Camera extrinsic numerical intervals to be calibratedAnd utilize golden cut algorithm to select in this interval Take two groups of iterative parameter valuesWithWherein i ∈ [1, n], n are the number of Camera extrinsic number, then execution step two;
Step 2:Using two groups of iterative parameter valuesWithSet camera, and obtain the image shot by camera under this parameter, Then execution step three;
Step 3:Camera shooting figure step 2 being obtained using the standards of grading of automobile instrument automatic detection visual system As being scored, obtain 2nIndividual appraisal resultWherein k=1,2 ..., 2n, then execution step four;
Step 4:2 that step 3 is obtainednIndividual appraisal resultIt is compared, obtain 2nIn individual appraisal result Little value f (Xj)min, thus obtaining minima f (Xj)minCorresponding Camera extrinsic number Xj.
Specific embodiment three:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment two The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, described iterative parameterFor:
x 1 i j = a 1 i j + 0.382 ( b 1 i j - a 1 i j ) .
Specific embodiment four:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment two The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, iterative parameterFor:
x 2 i j = a 2 i j + 0.618 ( b 2 i j - a 2 i j ) .
Specific embodiment five:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment two The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, described Camera extrinsic Number XjFor:
X j = [ x 1 i j , x 2 i j ] T .
Specific embodiment six:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment two The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, parameterFor camera Gain.
Specific embodiment seven:Present embodiment is to the automotive meter based on interval cancellation described in specific embodiment two The Camera extrinsic number scaling method of table automatic detection visual system is described further, in present embodiment, parameterFor shutter Speed.
As shown in figure 1, according to automobile instrument automatic detection algorithm, two camera parameters obtain figure in the case of different value As the scoring of quality, scoring lower expression picture quality is better.
In conjunction with shown in Fig. 2 and Fig. 3, in all Camera extrinsic numbers to be calibrated, choose camera gain and two groups of shutter speed Parameter, and set the scope of camera gain value as [0,100], the scope of shutter speed value is [0,100];
Using Fibonacci method, obtaining two groups of primary iteration parameters is:
x 11 0 = a 11 + 0.382 ( b 11 - a 11 ) ; x 21 0 = a 21 + 0.618 ( b 21 - a 21 ) x 12 0 = a 12 + 0.382 ( b 12 - a 12 ) ; x 22 0 = a 22 + 0.618 ( b 22 - a 22 ) ;
Standards of grading using automobile instrument automatic detection visual system score to above-mentioned two groups of image shot by cameras, Obtain 4 appraisal resultAs shown in Figure 4;Two camera gain parameters and two shutter speed parameters Four parameter value intervals are marked off, four points represent the value condition of four kinds of camera parameters.
Iterative process as shown in figure 5, each square frame represent be each iteration shutter speed and camera gain data point, Numerical value in square frame represents the result of which time iteration, and plus sige represents the optimized parameter of each iteration.Pass through as seen from Figure 4 Method of the present invention, camera parameter constantly approaches to optimal location, has arrived the position of local optimum through 11 iteration convergences Put, now camera gain is 62, shutter speed is 18, parameter scores are 101, approximately close to optimized parameter scoring 100.Thus demonstrate,prove The bright present invention have found the local optimum of parameter by iteration, and achieve multiple parameters and adjust simultaneously, compares artificial operation Not only more rapid but also more accurate, effectively increase the accuracy of detection of automobile instrument automatic detection visual system.

Claims (6)

1. the Camera extrinsic number scaling method based on the interval automobile instrument automatic detection visual system eliminating it is characterised in that The method is:
All Camera extrinsic numbers to be calibrated are iterated, obtain the minima f (X of iteration resultj)minWith this minima f (Xj)minCorresponding optimum Camera extrinsic number Xj, wherein j is iterationses, and initial value is 1;As j=2, execute following step:
Minima f (the X of contrast current iteration resultj)minCorresponding optimum Camera extrinsic number XjWith last iteration result Little value f (Xj-1)minCorresponding optimum Camera extrinsic number Xj-1If, | | Xj-Xj-1| |≤δ, then minima f of current iteration result (Xj)minCorresponding optimum Camera extrinsic number XjFor optimum Camera extrinsic number, δ is 0, otherwise, j=j+1, carry out next iteration;
The method that all Camera extrinsic numerical value to be calibrated are iterated comprises the steps:
Step one:Minima f (X according to last iteration resultj-1)min, in all Camera extrinsic numbers to be calibrated, using Huang Golden split-run, obtains Camera extrinsic numerical intervals to be calibratedAnd utilize golden cut algorithm to choose two in this interval Group iterative parameter valueWithWherein i ∈ [1, n], n are the number of Camera extrinsic number, then execution step two;
Step 2:Using two groups of iterative parameter valuesWithSet camera, and obtain the image shot by camera under this parameter, then Execution step three;
Step 3:Entered using the image shot by camera that the standards of grading of automobile instrument automatic detection visual system obtain to step 2 Row scoring, obtains 2nIndividual appraisal resultWherein k=1,2 ..., 2n, then execution step four;
Step 4:2 that step 3 is obtainednIndividual appraisal resultIt is compared, obtain 2nMinima in individual appraisal result f(Xj)min, thus obtaining minima f (Xj)minCorresponding Camera extrinsic number Xj.
2. the Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating according to claim 1 Determine method it is characterised in that described iterative parameterFor:
x 1 i j = a 1 i j + 0.382 ( b 1 i j - a 1 i j ) ;
WithRepresent iterative parameter respectivelyInterval parameter endpoint value.
3. the Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating according to claim 1 Determine method it is characterised in that described iterative parameterFor:
x 2 i j = a 2 i j + 0.618 ( b 2 i j - a 2 i j ) ;
WithRepresent iterative parameter respectivelyInterval parameter endpoint value.
4. the Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating according to claim 1 Determine method it is characterised in that described Camera extrinsic number XjFor:
X j = [ x 1 i j , x 2 i j ] T .
5. the Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating according to claim 1 Determine method it is characterised in that parameterFor camera gain.
6. the Camera extrinsic number mark based on the interval automobile instrument automatic detection visual system eliminating according to claim 1 Determine method it is characterised in that parameterFor shutter speed.
CN201410025321.7A 2014-01-20 2014-01-20 Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination Active CN103714551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410025321.7A CN103714551B (en) 2014-01-20 2014-01-20 Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410025321.7A CN103714551B (en) 2014-01-20 2014-01-20 Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination

Publications (2)

Publication Number Publication Date
CN103714551A CN103714551A (en) 2014-04-09
CN103714551B true CN103714551B (en) 2017-02-08

Family

ID=50407494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410025321.7A Active CN103714551B (en) 2014-01-20 2014-01-20 Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination

Country Status (1)

Country Link
CN (1) CN103714551B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483484A (en) * 2015-08-27 2017-03-08 比亚迪股份有限公司 Sampling scaling method and device
CN105931261B (en) * 2016-07-08 2018-11-27 北京格灵深瞳信息技术有限公司 A kind of binocular solid Camera extrinsic number modification method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033223A (en) * 2010-12-29 2011-04-27 北京信息科技大学 Method for positioning sound source by using microphone array
CN102346379A (en) * 2011-11-09 2012-02-08 北京理工大学 Method for optimizing photoetching configuration parameters based on steepest descent method
CN102376093A (en) * 2011-10-13 2012-03-14 清华大学 Calibration method of camera

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818132B2 (en) * 2010-11-29 2014-08-26 Microsoft Corporation Camera calibration with lens distortion from low-rank textures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033223A (en) * 2010-12-29 2011-04-27 北京信息科技大学 Method for positioning sound source by using microphone array
CN102376093A (en) * 2011-10-13 2012-03-14 清华大学 Calibration method of camera
CN102346379A (en) * 2011-11-09 2012-02-08 北京理工大学 Method for optimizing photoetching configuration parameters based on steepest descent method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
激光共焦透镜曲率半径测量系统;邱丽荣等;《光学精密工程》;20130228;第21卷(第2期);第246-252页 *

Also Published As

Publication number Publication date
CN103714551A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN105975941A (en) Multidirectional vehicle model detection recognition system based on deep learning
EP2511648B1 (en) Measuring assembly and method for determining at least the crimp height of one conductor crimp
CN103714551B (en) Method for calibrating camera external parameters of automatic motormeter detection visual system on basis of interval elimination
DE102018214170B4 (en) MACHINE LEARNING DEVICE, MACHINE LEARNING SYSTEM AND MACHINE LEARNING METHOD
US20170011504A1 (en) Method and device for detecting defects in a pressing test of a touch screen
CN103134546A (en) Semi-automatic examination method for special vehicle pointer instrument
EP2770296A1 (en) Method for object marking using a 3D surface inspection system by means of 2D images and method
DE102019209088A1 (en) Method for evaluating a laser cut edge, mobile device and system
WO2012038349A1 (en) Method for optically scanning an edge in or on a surface region
CN102411777A (en) Method for detecting scratch defects of printing product
CN105933687A (en) Automatic white balance processing method and device for images
CN105336635B (en) The bearing calibration of CD-SEM device, method and CD-SEM device using CD-SEM device
CN107608393A (en) A kind of positioning cutting system and method based on machine vision technique
TWI610749B (en) Laser Cutting Power Modified System and Adjustment Method thereof
CN113077416A (en) Welding spot welding defect detection method and system based on image processing
CN106886989A (en) The automatic optical detection method of keyboard
CN106524910B (en) Executing agency's vision alignment method
CN205862063U (en) High-speed camera focal length scaling board
DE102007036813B4 (en) Method for determining positions of structures on a substrate
CN103473470B (en) A kind of ground effect wind tunnel test data processing method
CN109783973A (en) A kind of atmospheric visibility calculation method based on image degradation model
CN107931829B (en) Laser cutting power adjustment system and method thereof
DE102013106320B9 (en) Method for determining distortion properties of an optical system in a measuring device for microlithography
CN111709918A (en) Product defect classification method combining multiple channels based on deep learning
CN113611036B (en) Automatic calibration method for precision test

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
TR01 Transfer of patent right

Effective date of registration: 20190911

Address after: 150001 No. 434, postal street, Nangang District, Heilongjiang, Harbin

Co-patentee after: Gao Hui Jun

Patentee after: Harbin Institute of Technology Asset Investment Management Co., Ltd.

Address before: 150001 Harbin, Nangang, West District, large straight street, No. 92

Patentee before: Harbin Institute of Technology

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191017

Address after: 315200 No.189, Guangming Road, Zhuangshi street, Zhenhai District, Ningbo City, Zhejiang Province

Patentee after: Ningbo Intelligent Equipment Research Institute Co., Ltd.

Address before: 150001 No. 434, postal street, Nangang District, Heilongjiang, Harbin

Co-patentee before: Gao Hui Jun

Patentee before: Harbin Institute of Technology Asset Investment Management Co., Ltd.

TR01 Transfer of patent right