CN103475820B - PI method for correcting position and system in a kind of video camera - Google Patents

PI method for correcting position and system in a kind of video camera Download PDF

Info

Publication number
CN103475820B
CN103475820B CN201310436319.4A CN201310436319A CN103475820B CN 103475820 B CN103475820 B CN 103475820B CN 201310436319 A CN201310436319 A CN 201310436319A CN 103475820 B CN103475820 B CN 103475820B
Authority
CN
China
Prior art keywords
value
lens group
aircraft pursuit
characteristic point
pursuit course
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
CN201310436319.4A
Other languages
Chinese (zh)
Other versions
CN103475820A (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.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda 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 Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN201310436319.4A priority Critical patent/CN103475820B/en
Publication of CN103475820A publication Critical patent/CN103475820A/en
Application granted granted Critical
Publication of CN103475820B publication Critical patent/CN103475820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides PI method for correcting position and system in a kind of video camera, only need to select two characteristic points can complete determining of PI position deviant, fast and convenient and there is robustness, operand is little, and the method can realize full-automatic PI and proofread and correct, reduce manual intervention and interference, improved greatly speed and efficiency. And described in obtain in the step of PI position deviation value, described primary importance is the interval center of ordinate value maximum in described aircraft pursuit course. In the described step of obtaining PI position deviation value, the described second place is the position of abscissa value maximum in described aircraft pursuit course. Maximum and the abscissa value maximum of ordinate value is the point on aircraft pursuit course with obvious characteristic, selects these two points more easy as characteristic point method, and easier accurate positioning, has higher efficiency and the degree of accuracy.

Description

PI method for correcting position and system in a kind of video camera
Technical field
The present invention relates to a class integrated camera camera lens and be applied to the photo interrupter position correction of such camera lensScaling method.
Background technology
Due to the fast development of digital imaging technology, video image compression technology, ICT, the light of high integrationElectrical image sensor is used widely in image/video field, and the significantly lifting of communication bandwidth and storage capacity makes again heightTransmission and the storage of resolution chart picture become possibility, have stimulated the need of people to the application of remote, long-time event-monitoring recordAsk, the application of video camera obtains unprecedented development, especially can carry out wide-angle to looking far into the distance pattern optical zoom with integrated level heightIntegrated camera is for very.
As shown in Figure 1, integrated camera comprises image capture module, image processing module and imaging control module. FigureComprise focus-variable lens group 102, focusing lens group 103 and imageing sensor 104 as acquisition module, in scene, object sends or reflectsLight 101 converge on the target surface of imageing sensor 104 by focus-variable lens group 102, focusing lens group 103, it is clear to formPicture, focus on. Imaging is converted to the signal of telecommunication by imageing sensor. Imaging control module 107, for controlling the first motor105 and second motor 106 with mobile focus-variable lens group 102 and focusing lens group 103 position in coupling, institute after ensureing to focus onThe picture becoming is clear. Image processing module carries out a series of image processing operations to imaging and makes it can meet human eye to watchRequirement.
In the time that focus-variable lens group 102 positions are fixing, control the second motor 106 and make focusing lens group 103 move to correspondenceThe process of position is called during focusing. After focusing is clear, user's application drawing moves to newly focus-variable lens group 102 as zoom, focusing lens group 103 also needs to coordinate and moves to corresponding reposition, X so one to one in the time that object distance is constant when the positionA curve on focusing lens group 103 position composition two dimensional surfaces in focus-variable lens group 102 positions and Y-axis on axle, forZoom tracking curve. Zoom tracking curve is just fixing in the time that Camera Design assembles.
Thereby in order to be convenient to tracking aircraft pursuit course, video camera in the position of demarcating focus-variable lens group 102 and focusing lens group 103A photo interrupter (Photo-is installed in middle meeting on the mobile route of focus-variable lens group 102 and focusing lens group 103Interrupter is called for short PI), and be a shadow shield of lens set configuration, when lens set motion enters shadow shield and moves backWhile going out PI, it can export varying level, and level switches corresponding lens set position as the reference position of this lens set, is calledPI position.
Wherein PI structure and PI location positioning principle are as shown in Figure 2 a. PI by a pair of light emitting diode 201 and one photosensitiveResistance 202 and peripheral circuit thereof form. In the time that making its fixing shadow shield 203 enter or exit PI, lens set motion causesPI switches at fixed position output level, and as shown in Figure 2 b, wherein S1 segment table shows that shadow shield 203 does not enter PI to result, S2 sectionRepresent that shadow shield 203 parts enter PI, S3 segment table shows that shadow shield 203 enters PI completely, and VP represents decision level. According in Fig. 2 bShown PI position can be used for demarcating lens set position. Deviation and the electric spy of circuit that while production due to video camera, PI installsProperty difference, makes PI position and theoretical bits be equipped with certain deviation. If without overcorrect, imaging control module 107 is being carried outZoom may carry out according to wrong curve while tracking. As shown in Figure 3, become curve 2 by curve 1, cannot be omnidistance clear. ThereforeWhile tracking with guarantee zoom in order to obtain and compensate this deviation, lens set position is reliable, need in the time that video camera is produced, carry out PIPosition correction.
Traditional PI position correction work is by the definition card imaging to a certain object distance place, adopts continuously multiple focal lengths positionPut, draw the corresponding aircraft pursuit course of this object distance, the skew of then calculating the theoretical aircraft pursuit course that this curve is corresponding with this object distance, obtainsThe deviation of PI position, records this deviate to do compensation use in the time that video camera starts PI position probing, makes imaging control mouldThe lens set positional value that piece arranges is consistent with theoretical aircraft pursuit course. This bearing calibration process is long, needs artificial a large amount of dryIn advance, be easily interfered, cause the aircraft pursuit course recording to occur partial deviations simultaneously. And the skew of calculating aircraft pursuit course is very multipleAssorted, adaptability is not strong, and the result after calculating needs manual operation video camera to confirm that realizing zoom follows the tracks of to verify, consumption consuming timeManpower.
Summary of the invention
For this reason, technical problem to be solved by this invention is in prior art the photo interrupter position in video cameraBearing calibration calculation of complex, be easily interfered and consumption manpower consuming time, thereby PI in a kind of fast and convenient video camera is proposedPosition correction system.
For solving the problems of the technologies described above, the invention provides following technical scheme:
PI method for correcting position in a kind of video camera, comprises the steps:
Set aircraft pursuit course, candidate when being D corresponding aircraft pursuit course as basis, the abscissa of described aircraft pursuit courseThe positional value that represents focus-variable lens group, ordinate represents the positional value of focusing lens group;
Arrangement corrects environment, is arranging definition apart from the position for D perpendicular to camera optical axis with described video cameraCard;
Obtain PI position deviation value:
Mobile described focus-variable lens group is to primary importance, and the ordinate of described primary importance in described aircraft pursuit course is theThe theoretical value Y of one characteristic point11
Mobile described focusing lens group is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseOrdinate is the actual value Y of First Characteristic point12; The theoretical value Y of described First Characteristic point11Reality with described First Characteristic pointValue Y12Deviation be the PI position deviation value △ Y of focusing lens group;
Mobile described focusing lens group is fixed to the second place, and the described second place is in described aircraft pursuit courseAbscissa is the theoretical value X of Second Characteristic point21
Mobile described focus-variable lens group is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseAbscissa is the actual value X of Second Characteristic point22; The theoretical value X of described Second Characteristic point21Reality with described Second Characteristic pointValue X22Deviation be the PI position deviation value △ X of focus-variable lens group.
PI method for correcting position in above-mentioned video camera, described in obtain in the step of PI position deviation value, described firstBe set to the interval center of ordinate value maximum in described aircraft pursuit course.
PI method for correcting position in above-mentioned video camera, described in obtain in the step of PI position deviation value, described secondBe set to the position of abscissa value maximum in described aircraft pursuit course.
In above-mentioned video camera, PI method for correcting position, also comprises the steps:
Relatively judgement, proofreaies and correct if △ X=△ Y proofreaies and correct qualified end, otherwise returns to described setting aircraft pursuit course step.
In above-mentioned video camera, PI method for correcting position, also comprises the steps:
The first parameter acquiring, mobile described focus-variable lens group to the three positions, described the 3rd position is at described aircraft pursuit courseIn ordinate be the theoretical value Y of the 3rd characteristic point31; Mobile described focusing lens group is to making the position that image definition is the highestPlace, the ordinate of this position in described aircraft pursuit course is the actual value Y of the 3rd characteristic point32
The first relatively judgement, if △ is Y-Yth≤(Y31-Y11)-(Y32-Y12)≤△Y+YthProofread and correct qualified end and proofread and correct, noReturn to described setting aircraft pursuit course step; Described YthFor focusing lens group deviation threshold.
PI method for correcting position in above-mentioned video camera, described the 3rd position is that in described aircraft pursuit course abscissa value isLittle position.
PI method for correcting position in above-mentioned video camera, described deviation threshold is 2 step-lengths.
In above-mentioned video camera, PI method for correcting position, also comprises the steps:
Number of corrections judgement, if relatively judge, number of times exceedes default maximum times and does not proofread and correct yet qualifiedly, proofreaies and correct unsuccessfully and tiesBeam alignment.
PI method for correcting position in above-mentioned video camera, described default maximum times is 5 times.
The present invention also provides PI position correction system in a kind of video camera, comprising:
Aircraft pursuit course setting module, for candidate when being D corresponding aircraft pursuit course as basis, described aircraft pursuit courseAbscissa represent the positional value of focus-variable lens group, ordinate represents the positional value of focusing lens group;
PI position deviation value acquisition module, it further comprises:
First Characteristic point theoretical value is obtained submodule, for controlling focus-variable lens group to the first described in the first motor removingPut, obtain the theoretical value Y that the ordinate of described primary importance in described aircraft pursuit course is First Characteristic point11
First Characteristic point actual value is obtained submodule, for controlling the second motor removing focusing lens group to making clear pictureSpend the highest position, obtain the actual value Y that the ordinate of this position in described aircraft pursuit course is First Characteristic point12
Focusing lens group PI position deviation value is obtained submodule, for obtaining the theoretical value Y of described First Characteristic point11With instituteState the actual value Y of First Characteristic point12Deviation be the PI position deviation value △ Y of focusing lens group;
Second Characteristic point theoretical value is obtained submodule, for controlling focusing lens group to the described in described the second motor removingBehind two positions, be fixed, obtain the theoretical value that the abscissa of the described second place in described aircraft pursuit course is Second Characteristic pointX21
Second Characteristic point actual value is obtained submodule, for controlling described the first motor removing focus-variable lens group to making imageThe position that definition is the highest, obtains the actual value X that the abscissa of this position in described aircraft pursuit course is Second Characteristic point22
Focus-variable lens group PI position deviation value is obtained submodule, for obtaining the theoretical value X of described Second Characteristic point21With instituteState the actual value X of Second Characteristic point22Deviation be the PI position deviation value △ X of focus-variable lens group.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) PI method for correcting position and system in video camera of the present invention, only needs to select two characteristic points can be completeBecome determining of PI position deviant, fast and convenient and have robustness, operand is little, and the method can realize full-automationPI proofread and correct, reduced manual intervention and interference, improved greatly speed and efficiency.
(2) PI method for correcting position and system in video camera of the present invention, described in obtain the step of PI position deviation valueIn rapid, described primary importance is the interval center of ordinate value maximum in described aircraft pursuit course. The described PI position that obtainsIn the step of offset difference, the described second place is the position of abscissa value maximum in described aircraft pursuit course. Because ordinateMaximum and the abscissa value maximum of value is the point on aircraft pursuit course with obvious characteristic, selects this two positions to obtain spiesLevy point methods more easy, easier accurate positioning, has higher efficiency and the degree of accuracy.
(3) PI method for correcting position and system in video camera of the present invention are proofreaied and correct in completing correctionResult verification is supported automatically to repeat PI and is proofreaied and correct in the time that result is unacceptable, until default maximum correction number of times, if now stillDo not obtain acceptable correction parameter, can automatically judge that the camera lens being corrected is defective products, wait for further artificialConfirm. Therefore the method can realize full-automatic PI correction, has reduced manual intervention and interference, has improved greatly speedAnd efficiency.
Brief description of the drawings
For content of the present invention is more likely to be clearly understood, also combination according to a particular embodiment of the invention belowAccompanying drawing, the present invention is further detailed explanation, wherein
Fig. 1 is a kind of internal structure schematic diagram of video camera;
Fig. 2 a is a kind of PI structure;
Fig. 2 b is the curve map of PI output level;
Fig. 3 is the difference schematic diagram of actual aircraft pursuit course and theoretical aircraft pursuit course;
Fig. 4 is a kind of structural representation of definition card;
Fig. 5 is the flow chart of PI method for correcting position described in one embodiment of the invention;
Fig. 6 is the position relationship schematic diagram of video camera and definition card;
Fig. 7 is the trace plot of object distance while being infinity;
Fig. 8 is the flow chart of PI method for correcting position described in one embodiment of the invention;
Fig. 9 is the theory diagram of PI position correction system described in one embodiment of the invention.
In figure, Reference numeral is expressed as: 101-light, and 102-focus-variable lens group, 103-focusing lens group, 104-image passesSensor, 105-the first motor, 106-the second motor, 107-imaging control module.
Detailed description of the invention
Embodiment 1
The present embodiment provides PI method for correcting position in a kind of video camera, as shown in Figure 5, comprises the steps:
Set aircraft pursuit course, candidate when being D corresponding aircraft pursuit course as basis, the abscissa of described aircraft pursuit courseThe positional value that represents focus-variable lens group 102, ordinate represents the positional value of focusing lens group 103.
Arrangement corrects environment, is arranging definition apart from the position for D perpendicular to camera optical axis with described video cameraCard. In the present embodiment, select definition card as shown in Figure 4, tiling is full of video camera absolute visual field scope. As shown in Figure 6, described inCamera lens and the distance arranging between the test plane of definition card are D. Wherein D can fit according to external environment conditionWork as selection, for example, in laboratory, use this method, can suitably select D according to the size in laboratory is 5 meters, 10 meters etc. ThisExample, with source of parallel light case simulation infinity distance, can be selected convex lens in the time realizing, and described test plane layout is existedIn the focus of described convex lens, known according to common practise, if described test plane in focus, described test plane is anti-The light of penetrating is transformed to directional light after convex lens, and the light of the object of infinity distance reflection can be similar to think parallelLight, therefore in the present embodiment, can simulate infinity distance by source of parallel light, and this method goes for any environmentUnder, without arranging according to varying environment, the convenient error that may introduce owing to manually arranging also avoided.
Obtain PI position deviation value, specifically comprise the steps:
Move described focus-variable lens group 102 to primary importance, the ordinate of described primary importance in described aircraft pursuit courseFor the theoretical value Y of First Characteristic point11
Mobile described focusing lens group 103 is to making the position that image definition is the highest, and this position is at described aircraft pursuit courseIn the ordinate actual value Y that is First Characteristic point12; The theoretical value Y of described First Characteristic point11With described First Characteristic pointActual value Y12Deviation be the PI position deviation value △ Y of focusing lens group 103.
Mobile described focusing lens group 103 is fixed to the second place, and the described second place is at described aircraft pursuit courseIn the abscissa theoretical value X that is Second Characteristic point21, mobile described focus-variable lens group 102 is to making the position that image definition is the highestPut place, the actual value X that the abscissa of this position in described aircraft pursuit course is Second Characteristic point22; The reason of described Second Characteristic pointOpinion value X21Actual value X with described Second Characteristic point22Deviation be the PI position deviation value △ X of focus-variable lens group 102.
In the present embodiment, first carry out the initialization operation of camera lens, described focus-variable lens group 102 and described focusing lens group103 move to its PI position. The PI positional value of the group of focus-variable lens described in initialization operation 102 and described focusing lens group 103For theoretical value.
Aircraft pursuit course when being illustrated in figure 7 object distance and being infinity, after completing initialization operation, adopts the present embodimentIn obtain PI position correction parameter method operate.
S1: mobile described focus-variable lens group 102 is to primary importance, and described primary importance can be in described aircraft pursuit courseAny point that abscissa represents, the theoretical value that the ordinate of described primary importance in described aircraft pursuit course is First Characteristic pointY11, this theoretical value represents that the positional value when focusing lens group 103 is Y11Time, can make in theory become image the most clearlyState, still, due to the existence of error, this situation is almost non-existent.
S2: mobile focusing lens group 103 is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseThe ordinate actual value Y that is First Characteristic point12. When described focus-variable lens group 102 is during in primary importance, focusing lens group103 positional value is Y12Could obtain really clearly as.
Therefore, the theoretical value Y of described First Characteristic point11Actual value Y with described First Characteristic point12Deviation for focus onThe PI position deviation value △ Y of lens set 103.
Adopt identical method to obtain the PI position deviation value of focus-variable lens group 102:
S3: mobile described focusing lens group 103 is fixed to the second place. The described second place is optional position,But the described second place corresponding ordinate in aircraft pursuit course is different from the ordinate of described First Characteristic point, describedThe theoretical value X that the abscissa of two positions in described aircraft pursuit course is Second Characteristic point21. Described focusing lens group in theory,103 in the time of the second place, and the positional value of described focus-variable lens group 102 is X21Could obtain really clearly as. But due to mistakePoor existence, this situation is almost non-existent.
S4: mobile focus-variable lens group 102 is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseThe abscissa actual value X that is Second Characteristic point22. In fact, described focusing lens group 103 in the time of the second place, described changeThe positional value of focus lens group 102 is X22Could obtain really clearly as.
Therefore, the theoretical value X of described Second Characteristic point21Actual value X with described Second Characteristic point22Deviation be zoomThe PI position deviation value △ X of lens set 102.
It is a kind of fast and convenient and have a bearing calibration of robustness that such scheme in the present embodiment provides. The methodOnly need to select two characteristic points can complete determining of PI position deviation value, simple operand is little, and the method can be realExisting full-automatic PI proofreaies and correct, and has reduced manual intervention and interference, has improved greatly speed and efficiency.
In the present embodiment, obtain in the step of PI position deviation value described in preferably, described primary importance is described trackings songThe interval center of ordinate value maximum in line. Further the preferred described second place is horizontal seat in described aircraft pursuit courseThe position of mark value maximum.
In reality, meeting the location point of the ordinate maximum of aircraft pursuit course, is an interval at abscissa upper span, soDescribed primary importance is selected this interval center. These points meet such rule: abscissa is also focus-variable lens groupWhen position changes in certain interval, ordinate is also that the slight deviations of focusing lens group position all can cause the unclear of imageClear, and the size in this interval is generally much bigger than the PI position deviation value of focus-variable lens group, therefore has good tolerance.On aircraft pursuit course, the location point of ordinate value maximum is solid with the difference of maximum abscissa corresponding ordinate on aircraft pursuit courseFixed, therefore from the physical location of First Characteristic point, focusing lens group is moved to fixed step size to abscissa value maximumPosition. Aircraft pursuit course is very precipitous near this point, and therefore the slight deviations of focus-variable lens group position all can cause imageUnintelligible. Indulging on the aircraft pursuit course that in like manner, on aircraft pursuit course, the location point of ordinate value maximum is corresponding with minimum abscissaThe difference of coordinate is also fixed. And maximum abscissa and minimum abscissa are that maximum focal length point is also with the difference of minimum focus pointFix, minimum focus point place aircraft pursuit course is comparatively mild, and the slight deviations of focusing lens group position all can cause not foggingClear.
Therefore the maximum and abscissa value maximum of ordinate value is the point on aircraft pursuit course with obvious characteristic, selectsSelect these two points more easy as characteristic point method, easier accurate positioning, has higher efficiency and the degree of accuracy. This enforcementTechnical scheme core in example is to find to specify to have very strong characteristic on aircraft pursuit course and tolerance ability is large in operationPoint as the characteristic point of calibration offset, detecting PI position according to reality is with reference to the theoretical position value that calculates them, then withThe physical location of the point that centered by these positions, removal search meets these features in the same coordinate system, they and theoretical position valueBetween deviation can be for estimating the deviation of actual PI position.
Embodiment 2
The present embodiment, on the basis of embodiment 1, as shown in Figure 8, also comprises the steps:
The first relatively judgement, proofreaies and correct if △ X=△ Y proofreaies and correct qualified end, otherwise returns to described setting aircraft pursuit course stepSuddenly. Therefore no matter this kind of verification mode can be for only have a PI in the situation that in video camera, because PI only has one,Be to utilize the PI position deviation value of focusing lens group 103 to proofread and correct, still utilize the PI position deviation value of focus-variable lens group 102Proofread and correct, the result obtaining should be consistent, i.e. △ X=△ Y.
But, in most of situation, in video camera, have two PI, PI position deviation value and the change of focusing lens group 103The PI position deviation value of focus lens group not necessarily equate, it doesn't matter each other for the two, for this situation, in the present embodiment in realityExecute and on the basis of example 1, adopt following verification step:
The first parameter acquiring, mobile described focus-variable lens group 102 is to the 3rd position, and described the 3rd position is bent in described trackingOrdinate in line is the theoretical value Y of the 3rd characteristic point31; Mobile described focusing lens group 103 is to making image definition the highestPosition, the ordinate of this position in described aircraft pursuit course is the actual value Y of the 3rd characteristic point32
The first relatively judgement, if △ is Y-Yth≤(Y31-Y11)-(Y32-Y12)≤△Y+YthProofread and correct qualified end and proofread and correct, noReturn to described setting aircraft pursuit course step; Described YthFor focusing lens group deviation threshold.
Wherein preferred described the 3rd position is the position of abscissa value minimum in described aircraft pursuit course.
In the present embodiment in above-mentioned verification step, it has utilized each abscissa point in described aircraft pursuit course and everyOrdinate point is all relation one to one, and whether therefore will obtaining focusing lens group PI positional value, to proofread and correct result accurate,Need to select two groups of positions to compare, in like manner, if whether acquisition focus-variable lens group PI positional value correction result is accurate, needSelect two groups of positions to compare, integrate and at least need three groups of data. First Characteristic point and in 1 in conjunction with the embodimentsTwo characteristic points, with the 3rd characteristic point in the present embodiment, can accurately obtain focusing lens group PI positional value and proofread and correct result and changeBurnt group PI positional value is proofreaied and correct result.
Verification method in the present embodiment is that focus-variable lens group 102 is moved to horizontal seat from the position of abscissa maximumMark minimum position, judge the excursion of the positional value of focusing lens group 103 in this moving process. Work as abscissaBe changed to the respective change that hour judges ordinate from maximum, this variation is using the definition of imaging results as guiding, because ofThis is actual change value, and theoretical changing value can obtain completely from described aircraft pursuit course, therefore relatively actual change value withWhether whether identical with the focusing lens group PI positional value deviate obtaining before or the error of the difference between theoretical changing valueWithin the acceptable range, can judge that whether previous obtained correction parameter is accurate.
Same reason, also can select the position of mobile focusing lens group 103 in this step, move it a certain positionPut place, this position can be any point in corresponding aircraft pursuit course, and the corresponding abscissa in this position can be used as the 4th spyLevy theoretical value a little, mobile focus-variable lens group 102 makes become clear picture, obtains the actual value of four characteristic points. The 4th featurePoint position can select characteristic comparatively visibility point as the position of minimum ordinate on aircraft pursuit course etc. Then utilize similarMethod judge that whether previous obtained correction parameter accurate.
Deviation threshold described in the present embodiment is the empirical value of a camera lens precision, with the measure of precision phase of camera lensClose, the acceptable deviate of for example camera lens is 2 step-lengths, and can set described deviation threshold is 2 step-lengths, described stepThe long step size that refers to the first motor 105/ second motor 106.
As preferred scheme, in the present embodiment, also comprise the steps:
Number of corrections judgement, if relatively judge, number of times exceedes default maximum times and does not proofread and correct yet qualifiedly, proofreaies and correct unsuccessfully and tiesBeam alignment. Preferably described default maximum times is 5 times. Operand, correction that described default maximum times can be born according to systemThe accuracy requirement of time and correction is determined, select 3 times, 5 times, 8 times, 10 inferior can. In the present embodiment, selecting 5 times canMeet the requirement of general correction accuracy and correction time and there is less operand.
Such scheme in the present embodiment is proofreaied and correct result verification in completing correction, unacceptable in resultIn time, is supported automatically to repeat PI correction, until default maximum correction number of times, if now do not obtain yet acceptable correction parameter, canTo be automatically judged to be defective products camera lens, wait for artificial further confirmation. Therefore the method has realized full-automatic PI correction, subtractsLack manual intervention and interference, improved greatly speed and efficiency.
Embodiment 3
The present embodiment provides PI position correction system in a kind of video camera, and as shown in Figure 9, it comprises: aircraft pursuit course is setModule, aircraft pursuit course corresponding while being D for candidate distance is as basis, and the abscissa of described aircraft pursuit course represents focus-variable lensThe positional value of group 102, ordinate represents the positional value of focusing lens group 103.
PI position deviation value acquisition module, it further comprises:
First Characteristic point theoretical value is obtained submodule, for control the first motor 105 move described focus-variable lens group 102 toPrimary importance, obtains the theoretical value Y that the ordinate of described primary importance in described aircraft pursuit course is First Characteristic point11
First Characteristic point actual value is obtained submodule, moves focusing lens group 103 to making figure for controlling the second motor 106The position that image sharpness is the highest, obtains the actual value that the ordinate of this position in described aircraft pursuit course is First Characteristic pointY12
Focusing lens group PI position deviation value is obtained submodule, for obtaining the theoretical value Y of described First Characteristic point11With instituteState the actual value Y of First Characteristic point12Deviation be the PI position deviation value △ Y of focusing lens group 103.
Second Characteristic point theoretical value is obtained submodule, moves described focusing lens group for controlling described the second motor 106103 are fixed to the second place, and obtaining the abscissa of the described second place in described aircraft pursuit course is Second Characteristic pointTheoretical value X21
Second Characteristic point actual value is obtained submodule, for control described the first motor 105 move focus-variable lens group 102 toMake the position that image definition is the highest, obtain the reality that the abscissa of this position in described aircraft pursuit course is Second Characteristic pointValue X22
Focus-variable lens group PI position deviation value is obtained submodule, for obtaining the theoretical value X of described Second Characteristic point21With instituteState the actual value X of Second Characteristic point22Deviation be the PI position deviation value △ X of focus-variable lens group 102.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer programProduct. Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the reality in conjunction with software and hardware aspectExecute routine form. And the present invention can adopt the computer that wherein includes computer usable program code one or moreThe upper computer program product of implementing of usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.)The form of product.
The present invention is that reference is according to the flow process of the method for the embodiment of the present invention, equipment (system) and computer programFigure and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/or block diagram often first-classFlow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame. These computer programs can be providedInstruction is arrived the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produceA raw machine, the instruction that the processor of establishing by computer or other programmable data processing is carried out produces for realizingThe device of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in can vectoring computer or other programmable data processing device with spyDetermine in the computer-readable memory of mode work, the instruction generation that makes to be stored in this computer-readable memory comprises fingerMake the manufacture of device, this command device realize at flow process of flow chart or multiple flow process and/or square frame of block diagram orThe function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device, make at meterOn calculation machine or other programmable devices, carry out sequence of operations step to produce computer implemented processing, thus at computer orThe instruction of carrying out on other programmable devices is provided for realizing at flow process of flow chart or multiple flow process and/or block diagram oneThe step of the function of specifying in individual square frame or multiple square frame.
Although described the preferred embodiments of the present invention, once obtaining cicada, those skilled in the art substantially createProperty concept, can make other change and amendment to these embodiment. So it is excellent that claims are intended to be interpreted as comprisingSelect embodiment and fall into all changes and the amendment of the scope of the invention.

Claims (14)

1. a PI method for correcting position in video camera, is characterized in that, comprises the steps:
Set aircraft pursuit course, aircraft pursuit course corresponding when candidate distance is D is as basis, and the abscissa of described aircraft pursuit course representsThe positional value of focus-variable lens group (102), ordinate represents the positional value of focusing lens group (103);
Arrangement corrects environment, is arranging definition card apart from the position for D perpendicular to camera optical axis with described video camera;
Obtain PI position deviation value:
Mobile described focus-variable lens group (102) is to primary importance, and the ordinate of described primary importance in described aircraft pursuit course isThe theoretical value Y of First Characteristic point11
Mobile described focusing lens group (103) is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseThe ordinate actual value Y that is First Characteristic point12; The theoretical value Y of described First Characteristic point11Reality with described First Characteristic pointBorder value Y12Deviation be the PI position deviation value △ Y of focusing lens group (103);
Mobile described focusing lens group (103) is fixed to the second place, and the described second place is in described aircraft pursuit courseThe abscissa theoretical value X that is Second Characteristic point21
Mobile described focus-variable lens group (102) is to making the position that image definition is the highest, and this position is in described aircraft pursuit courseThe abscissa actual value X that is Second Characteristic point22; The theoretical value X of described Second Characteristic point21Reality with described Second Characteristic pointBorder value X22Deviation be the PI position deviation value △ X of focus-variable lens group (102).
2. PI method for correcting position in video camera according to claim 1, is characterized in that, described in obtain PI position deviationIn the step of value, described primary importance is the interval center of ordinate value maximum in described aircraft pursuit course.
3. PI method for correcting position in video camera according to claim 1, is characterized in that, described in obtain PI position deviationIn the step of value, the described second place is the position of abscissa value maximum in described aircraft pursuit course.
4. PI method for correcting position in video camera according to claim 2, is characterized in that, described in obtain PI position deviationIn the step of value, the described second place is the position of abscissa value maximum in described aircraft pursuit course.
5. according to PI method for correcting position in the arbitrary described video camera of claim 1-4, it is characterized in that, also comprise following stepRapid:
Relatively judgement, proofreaies and correct if △ X=△ Y proofreaies and correct qualified end, otherwise returns to described setting aircraft pursuit course step.
6. according to PI method for correcting position in the arbitrary described video camera of claim 1-4, it is characterized in that, also comprise following stepRapid:
The first parameter acquiring, mobile described focus-variable lens group (102) is to the 3rd position, and described the 3rd position is at described aircraft pursuit courseIn ordinate be the theoretical value Y of the 3rd characteristic point31; Image definition is the highest to making for mobile described focusing lens group (103)Position, the ordinate of this position in described aircraft pursuit course is the actual value Y of the 3rd characteristic point32
The first relatively judgement, if △ is Y-Yth≤(Y31-Y11)-(Y32-Y12)≤△Y+YthProofread and correct qualified end and proofread and correct, otherwise returnReturn described setting aircraft pursuit course step; Described YthFor focusing lens group deviation threshold.
7. PI method for correcting position in video camera according to claim 6, is characterized in that, described in described the 3rd position isThe position of abscissa value minimum in aircraft pursuit course.
8. PI method for correcting position in video camera according to claim 6, is characterized in that,
Described deviation threshold is 2 step-lengths.
9. PI method for correcting position in video camera according to claim 7, is characterized in that,
Described deviation threshold is 2 step-lengths.
10. PI method for correcting position in video camera according to claim 5, is characterized in that, also comprises the steps:
Number of corrections judgement, if relatively judge, number of times exceedes default maximum times and does not proofread and correct yet qualifiedly, proofreaies and correct and unsuccessfully finishes schoolJust.
PI method for correcting position in 11. video cameras according to claim 6, is characterized in that, also comprises the steps:
Number of corrections judgement, if relatively judge, number of times exceedes default maximum times and does not proofread and correct yet qualifiedly, proofreaies and correct and unsuccessfully finishes schoolJust.
PI method for correcting position in 12. video cameras according to claim 10, is characterized in that, described default maximum timesIt is 5 times.
PI method for correcting position in 13. video cameras according to claim 11, is characterized in that, described default maximum timesIt is 5 times.
In 14. 1 kinds of video cameras, PI position correction system, is characterized in that, comprising:
Aircraft pursuit course setting module, for candidate when being D corresponding aircraft pursuit course as basis, the horizontal stroke of described aircraft pursuit courseCoordinate represents the positional value of focus-variable lens group (102), and ordinate represents the positional value of focusing lens group (103);
PI position deviation value acquisition module, it further comprises:
First Characteristic point theoretical value is obtained submodule, for controlling the mobile described focus-variable lens group of the first motor (105) (102) extremelyPrimary importance, obtains the theoretical value Y that the ordinate of described primary importance in described aircraft pursuit course is First Characteristic point11
First Characteristic point actual value is obtained submodule, for controlling the mobile described focusing lens group of the second motor (106) (103) extremelyMake the position that image definition is the highest, obtain the reality that the ordinate of this position in described aircraft pursuit course is First Characteristic pointValue Y12
Focusing lens group PI position deviation value is obtained submodule, for obtaining the theoretical value Y of described First Characteristic point11With describedThe actual value Y of one characteristic point12Deviation be the PI position deviation value △ Y of focusing lens group (103);
Second Characteristic point theoretical value is obtained submodule, for controlling the mobile described focusing lens group of described the second motor (106)(103) to the second place, be fixed, obtaining the abscissa of the described second place in described aircraft pursuit course is Second CharacteristicThe theoretical value X of point21
Second Characteristic point actual value is obtained submodule, for controlling the mobile described focus-variable lens group of described the first motor (105)(102), to making the position that image definition is the highest, obtaining the abscissa of this position in described aircraft pursuit course is Second CharacteristicThe actual value X of point22
Focus-variable lens group PI position deviation value is obtained submodule, for obtaining the theoretical value X of described Second Characteristic point21With describedThe actual value X of two characteristic points22Deviation be the PI position deviation value △ X of focus-variable lens group (102).
CN201310436319.4A 2013-09-23 2013-09-23 PI method for correcting position and system in a kind of video camera Active CN103475820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310436319.4A CN103475820B (en) 2013-09-23 2013-09-23 PI method for correcting position and system in a kind of video camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310436319.4A CN103475820B (en) 2013-09-23 2013-09-23 PI method for correcting position and system in a kind of video camera

Publications (2)

Publication Number Publication Date
CN103475820A CN103475820A (en) 2013-12-25
CN103475820B true CN103475820B (en) 2016-05-18

Family

ID=49800502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310436319.4A Active CN103475820B (en) 2013-09-23 2013-09-23 PI method for correcting position and system in a kind of video camera

Country Status (1)

Country Link
CN (1) CN103475820B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301611B (en) * 2014-10-14 2017-09-19 浙江宇视科技有限公司 A kind of bearing calibration of zoom tracking curve and device
CN106303190B (en) * 2015-05-25 2019-08-30 深圳市福斯康姆智能科技有限公司 Zoom tracking curve antidote and device
CN105554387A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Zoom tracking curve correction method and device
CN106200210A (en) * 2016-08-29 2016-12-07 中山联合光电科技股份有限公司 A kind of optical lens of PI position-adjustable
CN107592464B (en) * 2017-09-30 2019-09-17 浙江大华技术股份有限公司 Zoom follows the switching method and device of curve during a kind of zoom
CN110121068B (en) * 2019-04-02 2020-06-23 浙江大华技术股份有限公司 Point selection method and device of zoom following curve and storage medium
CN110381261B (en) * 2019-08-29 2020-11-03 重庆紫光华山智安科技有限公司 Focusing method, focusing device, computer-readable storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494737A (en) * 2009-03-09 2009-07-29 杭州海康威视数字技术股份有限公司 Integrated camera device and self-adapting automatic focus method
US7729059B2 (en) * 2006-11-22 2010-06-01 Hon Hai Precision Industry Co., Ltd. Camera device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7729059B2 (en) * 2006-11-22 2010-06-01 Hon Hai Precision Industry Co., Ltd. Camera device
CN101494737A (en) * 2009-03-09 2009-07-29 杭州海康威视数字技术股份有限公司 Integrated camera device and self-adapting automatic focus method

Also Published As

Publication number Publication date
CN103475820A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103475820B (en) PI method for correcting position and system in a kind of video camera
KR102143456B1 (en) Depth information acquisition method and apparatus, and image collection device
US8619144B1 (en) Automatic camera calibration
JP6590792B2 (en) Method, apparatus and display system for correcting 3D video
US9892488B1 (en) Multi-camera frame stitching
US10063792B1 (en) Formatting stitched panoramic frames for transmission
CN103345059B (en) Method and system for zoom of reflection type deformable mirror
CN105376564A (en) Camera calibration equipment and control method and device thereof
CN108769530B (en) Image acquisition processing device and image acquisition processing method
CN111080705B (en) Calibration method and device for automatic focusing binocular camera
CN110695520B (en) Vision-based full-automatic galvanometer field calibration system and calibration method thereof
CN108958256A (en) A kind of vision navigation method of mobile robot based on SSD object detection model
CN103747185A (en) Zooming follow-up realizing method capable of enabling lens to shift with temperatures in auto-adaptive way
Brousseau et al. Calibration of axial fisheye cameras through generic virtual central models
CN104156974A (en) Camera distortion calibration method on basis of multiple constraints
CN102628693A (en) Method for registering camera spindle and laser beam in parallel
CN202141852U (en) Microscope device for full-view micro image shooting
WO2021134219A1 (en) Parameter calibration method and apapratus
CN112132891A (en) Method for enlarging calibration space
Ju et al. Multi-camera calibration method based on minimizing the difference of reprojection error vectors
CN104811688B (en) Image acquiring device and its image deformation detection method
CN112686960B (en) Method for calibrating entrance pupil center and sight direction of camera based on ray tracing
JP5925109B2 (en) Image processing apparatus, control method thereof, and control program
CN115810055A (en) Annular structure light calibration method based on planar checkerboard
CN108592789A (en) A kind of steel construction factory pre-assembly method based on BIM and machine vision technique

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