A kind of bearing calibration of big visual field rapid detection systemTechnical field
The invention belongs to radiographic measurement art field, more particularly to a kind of bearing calibration of big visual field rapid detection system.
Background technology
With the rapid development of industry 4.0, Precision measurement industry increasingly requires to develop toward quick accurate direction, asThree big components of radiographic measurement:Charge, camera lens, lamp source also begin to develop toward the direction of big visual field.Charged Couple is setIt is standby to develop to millions, hundred million grades of pixels via traditional million grades;Also hundreds of millimeters are developed to by grade in the camera lens visual field;LampSource also begins to develop toward large area array direction.
More than scientific and technological development, bring qualitative leap, the glass that a piece of 4.3 cun of traditional detection efficiency for Precision measurement industryGlass takes around 1 minute or more, and the big visual field makes entire detection efficiency shorten within 3 seconds, and the big visual field also bring it is severalProblem:
1. single pixel resolution reduces;
2. in field range, the accuracy class in each region is different;
3. traditional linearity correction mode has not been suitable in this system.
Invention content
The object of the present invention is to provide a kind of bearing calibrations of big visual field rapid detection system, solve the big visual field and quickly examineIn examining system the technical issues of the breadth correction of image.
To achieve the above object, the present invention uses following technical scheme:
A kind of bearing calibration of big visual field rapid detection system, includes the following steps:
Step 1:Big visual field rapid detection system is established, the big visual field rapid detection system is included for product imagingCamera, telecentric lens, correcting sheet, jig platform module, stent, for the collimated backlight source that increases luminous intensity and for it is upperThe image processing module of machine communication;
Step 2:Camera, telecentric lens, correcting sheet, jig platform module and parallel backlight are installed successively from top to bottomOn stent;The correcting sheet is the glass plate of micron order array circle;
Step 3:Image processing module connects host computer;
Step 4:Big visual field rapid detection system obtains a width picture of correcting sheet, and sends the picture to host computer;
Step 5:The step of host computer is corrected is as follows:
Step A:Host computer handles the picture of the correcting sheet of acquisition, using the array circle on correcting sheet as processing pairAs obtaining the image coordinate value (u in the center of circle that the array of correcting sheet in picture is justifiedi,vj), set (xi,yj) justify for correction chip arraysThe center of circle world coordinate system measured value, f (xi,yj) it is approximating function, set (xTrue i,yTrue j) it is the circle that correction chip arrays are justifiedThe actual value of the world coordinate system of the heart, host computer make error amount according to deviation of the following formula to all array centers of circle and derivationThe precision of needs is approached, so as to calculate (xi,yj):
WhereinFor the precision of demand, i and j are respectively the row number and column number of array circle;
Step B:Host computer calculates the multistage coefficient A of binomial according to the following formula:Wherein n and m is exponent number, and value is integer, and n is more than or equal to1 and less than or equal to 5, m be less than n;
Step:6:Host computer judges whether it is to correct for the first time:It is then to perform step 7;It is no, then perform step 8;
Step 7::Using approximating function f (xi,yj) 1 rank function, i.e. n=1, and being corrected according to the method for step 5It calculates, obtains correction as a result, calculating the multistage coefficient A of binomial, perform step 9;
Step 8:Increase approximating function f (xi,yj) exponent number, that is, increase the value of n, and school carried out according to the method for step 5It is positive to calculate, correction is obtained as a result, calculating the multistage coefficient A of binomial, performs step 9;
Step 9:Correction result is judged:Meet the precision less than demandRequirement, perform step 10;It is insufficient smallIn the precision of demandRequirement, perform step 6;
Step 10:Host computer corrects the image of big visual field rapid detection system according to the position coordinates of correcting sheet:
Visual field rapid detection system acquisition piece image honest first, host computer handle the image of acquisition, thenThe coordinate of any one point in the image collected is set as (ai, bj), host computer calculates the survey of the point according to formula onceMeasure coordinate (qi, pj):
Wherein i and j is respectively the row number and column number of array circle;
Step 11:The method that host computer arrives step 10 according to step 4, generation correction document, and store correction document.
The camera is 2900W pixel CCD cameras;The telecentric lens are 192mm × 168mm view lens;It is describedCollimated backlight source is 172mm × 172mm collimated backlights source.
The precision of the demandFor a setting accuracy.
Described image processing module is ARM9 controllers.
A kind of bearing calibration of big visual field rapid detection system of the present invention, solves big visual field rapid detection systemThe technical issues of breadth correction of middle image;The present invention can by once correcting, the error of whole system single item of hardware and itsDisposably correction finishes for error in anabolic process, avoids and repeatedly corrects cumbersome, and correction accuracy can be according to actual needsIt is approached by adjusting the exponent number of correcting algorithm;The present invention can preserve correction coefficient, as long as system imaging component chargeIt is opposite with camera lens not change, then without correcting again;The invention can ensure that the precision of each region reaches within sweep of the eyeExpected rank.
Description of the drawings
Fig. 1 is the structure diagram that the big visual field rapid detection system correcting mode of the present invention is built;
Fig. 2 is the flow chart of the present invention;
In figure:Camera 1, telecentric lens 2, correcting sheet 3, jig platform module 4, collimated backlight source 5, stent 6.
Specific embodiment
A kind of bearing calibration of big visual field rapid detection system as Figure 1-Figure 2, it is characterised in that:Including walking as followsSuddenly:
Step 1:Big visual field rapid detection system is established, the big visual field rapid detection system is included for product imagingUltrahigh resolution camera 1, big visual field telecentric lens 2, correcting sheet 3, jig platform module 4, stent 6, for increasing luminous intensityCollimated backlight source 5 and the image processing module for communicating with host computer;The stent 6 installs mould for column and pedestal moduleGroup.
The big visual field rapid detection system is the full-scale detection device of LPA series.
Step 2:By camera 1, telecentric lens 2, correcting sheet 3, jig platform module 4 and parallel backlight 5 from top to bottom according toSecondary installation is on the frame 6;The correcting sheet 3 is the glass plate of micron order array circle;
Step 3:Image processing module connects host computer;
Step 4:Big visual field rapid detection system obtains a width picture of correcting sheet 3, and sends the picture to host computer;
Step 5:The step of host computer is corrected is as follows:
Step A:Host computer handles the picture of the correcting sheet 3 of acquisition, using the array circle on correcting sheet 3 as processingObject obtains the image coordinate value (u in the center of circle of the array circle of correcting sheet 3 in picturei,vj), set (xi,yj) it is 3 gusts of correcting sheetArrange the measured value of the world coordinate system in the center of circle of circle, f (xi,yj) it is approximating function, set (xTrue i,yTrue j) justify for 3 array of correcting sheetThe center of circle world coordinate system actual value, host computer makes mistake according to deviation of the following formula to all array centers of circle and derivationDifference approaches the precision of needs, so as to calculate (xi,yj):
WhereinFor the precision of demand, j and j are respectively the row number and column number of array circle;
Step B:Host computer calculates the multistage coefficient A of binomial according to the following formula:Wherein n and m is exponent number, and value is integer, and n is more than or equal to1 and less than or equal to 5, m be less than n;
Step:6:Host computer judges whether it is to correct for the first time:It is then to perform step 7;It is no, then perform step 8;
Step 7::Using approximating function f (xi,yj) 1 rank function, i.e. n=1, and being corrected according to the method for step 5It calculates, obtains correction as a result, calculating the multistage coefficient A of binomial, perform step 9;
Step 8:Increase approximating function f (xi,yj) exponent number, that is, increase the value of n, and school carried out according to the method for step 5It is positive to calculate, correction is obtained as a result, calculating the multistage coefficient A of binomial, performs step 9;
Step 9:Correction result is judged:Meet the precision less than demandRequirement, perform step 10;It is insufficient smallIn the precision of demandRequirement, perform step 6;
Step 10:Host computer corrects the image of big visual field rapid detection system according to the position coordinates of correcting sheet 3:
Visual field rapid detection system acquisition piece image honest first, host computer handle the image of acquisition, thenThe coordinate of any one point in the image collected is set as (ai, bj), host computer calculates the survey of the point according to formula onceMeasure coordinate (qi, qj):
Wherein i and j is respectively the row number and column number of array circle;
Step 11:The method that host computer arrives step 10 according to step 4, generation correction document, and store correction document.
The camera 1 is 2900W pixel CCD cameras;The telecentric lens 2 are 192mm × 168mm view lens;InstituteCollimated backlight source 5 is stated as 172mm × 172mm collimated backlights source 5.
The precision of the demandFor a setting accuracy.
Described image processing module is ARM9 controllers.
A kind of bearing calibration of big visual field rapid detection system of the present invention, solves big visual field rapid detection systemThe technical issues of breadth correction of middle image;The present invention can by once correcting, the error of whole system single item of hardware and itsDisposably correction finishes for error in anabolic process, avoids and repeatedly corrects cumbersome, and correction accuracy can be according to actual needsIt is approached by adjusting the exponent number of correcting algorithm;The present invention can preserve correction coefficient, as long as system imaging component chargeIt is opposite with camera lens not change, then without correcting again;The invention can ensure that the precision of each region reaches within sweep of the eyeExpected rank.