CN104301611B - A kind of bearing calibration of zoom tracking curve and device - Google Patents

A kind of bearing calibration of zoom tracking curve and device Download PDF

Info

Publication number
CN104301611B
CN104301611B CN201410542370.8A CN201410542370A CN104301611B CN 104301611 B CN104301611 B CN 104301611B CN 201410542370 A CN201410542370 A CN 201410542370A CN 104301611 B CN104301611 B CN 104301611B
Authority
CN
China
Prior art keywords
zoom
theoretical
focusing
focus
mrow
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
CN201410542370.8A
Other languages
Chinese (zh)
Other versions
CN104301611A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201410542370.8A priority Critical patent/CN104301611B/en
Publication of CN104301611A publication Critical patent/CN104301611A/en
Application granted granted Critical
Publication of CN104301611B publication Critical patent/CN104301611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lens Barrels (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of bearing calibration of zoom tracking curve.This method includes:Select N number of zoom position of camera lens;Two zoom position zoom [i] of arbitrary neighborhood and the corresponding focusing position of zoom [i 1] difference in N number of zoom position are determined according to auto-focusing algorithm;And, the corresponding focusing position of described two zoom positions of arbitrary neighborhood is obtained according to the theoretical zoom tracking curve of camera lens;The corresponding focusing deviant focusoffset of above-mentioned two zoom position is calculated respectivelyzoom[i]And focusoffsetzoom[i‑1];Calculate the corresponding focusing offset focusoffset of any zoom position zoom between described two zoom positions of arbitrary neighborhoodzoom;Calculate the corresponding actual focusing position Focus of any zoom position between described two zoom positions of arbitrary neighborhoodReal zoom:FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is the corresponding focusing positions of the zoom position zoom obtained according to the theoretical zoom tracking curve of camera lens.The zoom tracking curve corrected according to the inventive method image during zoom is followed has good definition performance.

Description

A kind of bearing calibration of zoom tracking curve and device
Technical field
The present invention relates to bearing calibration and the device in camcorder technology field, more particularly to a kind of zoom tracking curve.
Background technology
Because the individual difference of camera lens is, it is necessary to zoom to each camera lens, the optical reference position adjustment of focusing, confirm, To obtain most suitable zoom tracking curve.There is a set of preferable curve of pursuit in the camera lens of fixed specification, camera lens is according to reason Think that curve of pursuit does zoom with any time, image there may be different degrees of obscure during following.
Fig. 1 is that the theoretical curve of pursuit of the next camera lens of certain object distance and actual curve of pursuit are illustrated.Lateral coordinates are represented in the figure The position zoom of zoom, longitudinal coordinate represents the position focus of focusing;Solid line is theoretical variable-focus tracing curve, and dotted line is real The variable-focus tracing curve on border.Camera lens is during zoom is followed, if can be according to the actual variable-focus tracing of each camera lens itself Curve is run simultaneously, and the whole process image that zoom is followed can be clear.So the actual zoom for obtaining each camera lens is chased after Track curve is the problem of present invention needs solution.
The content of the invention
In view of this, the present invention provides bearing calibration and the device of a kind of zoom tracking curve.
The bearing calibration of the zoom tracking curve, including:A, the N number of zoom position for determining camera lens;The automatic focusing of B, basis Algorithm determines two zoom position zoom [i] of arbitrary neighborhood and the corresponding focusing position of zoom [i-1] difference in N number of zoom position Put FocusReal zoom [i]And FocusReal zoom [i-1];And, the arbitrary neighborhood two is obtained according to the theoretical zoom tracking curve of camera lens Zoom position zoom [i] and the corresponding focusing position Focus of zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1];C, calculate respectively Zoom [i] and the focusing deviant focusoffset of zoom [i-1] positionzoom[i]And focusoffsetzoom[i-1]
focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i],
focusoffsetzoom[i-1]=FocusReal zoom [i-1]-FocusManage zoom [i-1]
Any zoom position between D, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] The corresponding focusing offset focusoffset of zoomzoom
E, any zoom position calculated between described two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] are corresponding Actual focusing position FocusReal zoom:FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is according to mirror The corresponding focusing positions of the zoom position zoom that the theoretical zoom tracking curve of head is obtained.
The theoretical zoom tracking curve of the camera lens is the original theoretical zoom tracking curve that camera lens manufacturer provides.
The theoretical zoom tracking curve of the camera lens is the theoretical zoom tracking curve updated;Wherein obtain the theory of the renewal Zoom tracking curve includes:A, M zoom position for determining camera lens;B, by original theoretical zoom tracking curve respectively in zoom K translation is carried out on direction and focusing direction;And calculate the theoretical focusing position and reality of M zoom position after each translation The total deviation of focusing position;Total deviation after c, each time of comparison translation is to determine the total deviation of minimum, the minimum total deviation pair Theoretical zoom tracking curve after the translation answered as renewal theoretical zoom tracking curve.
Preferably, calculate M zoom position after each translation theoretical focusing position and actual focusing position it is total inclined Difference includes:Theoretical zoom tracking curve after being translated for each time, confirms described M according to the theoretical aircraft pursuit course after the translation The corresponding M theoretical focusing position of zoom position;And the corresponding M reality of the M zoom position is determined according to auto-focusing algorithm Border focusing position;Calculate the deviation of described M theoretical focusing position and corresponding actual focusing position respectively again, and according to this M Individual deviation obtains the total deviation after each translation.
Preferably, it is determined that N number of zoom position for N number of zoom position of each curvature can be covered;Wherein each is bent Rate refers to using zoom position as abscissa, and with zoom position, corresponding each actual focusing position subtracts the difference of theoretical focusing position respectively It is worth for ordinate, the P zoom position difference that corresponding each actual focusing position subtracts theoretical focusing position respectively is connected into Each bent curvature of a curve, N<P.
The means for correcting of the zoom tracking curve, including:Zoom position determining module, N number of zoom for determining camera lens Position;Actual focusing position determining module, for determining arbitrary neighborhood two in N number of zoom position according to auto-focusing algorithm The corresponding focusing position Focus of zoom position zoom [i] and zoom [i-1] differenceReal zoom [i]And FocusReal zoom [i-1];It is theoretical right Burnt position determination module, for obtaining described two zoom position zoom of arbitrary neighborhood according to the theoretical zoom tracking curve of camera lens [i] and the corresponding focusing position Focus of zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1];Focusing deviant computing module, is used for Calculate the focusing deviant focusoffset of zoom [i] and zoom [i-1] positionzoom[i]And focusoffsetzoom[i-1]: focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i], focusoffsetzoom[i-1]=FocusReal zoom [i-1]- FocusManage zoom [i-1];And for calculating any change between described two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] The corresponding focusing offset of burnt position zoom:
Actual focusing position correction module, for calculate described two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] it Between the corresponding actual focusing position Focus of any zoom positionReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is the theoretical zoom according to camera lens The corresponding focusing positions of the zoom position zoom that aircraft pursuit course is obtained.
The theoretical zoom tracking curve of the camera lens is the theoretical zoom tracking curve updated;Wherein obtain the theory of the renewal Zoom tracking curve is performed by following modules of the means for correcting:Zoom position determining module, the M change for determining camera lens Burnt position;Translate total deviation computing module, for by original theoretical zoom tracking curve respectively in zooming direction and focusing side K translation is carried out upwards;And calculate M zoom position after each translation theoretical focusing position and actual focusing position it is total Deviation;Update curve determining module, for comparing the total deviation after each translation to determine minimum total deviation, the minimum it is total Theoretical zoom tracking curve after the corresponding translation of deviation as renewal theoretical zoom tracking curve.
Preferably, translation total deviation computing module calculate M zoom position after each translation theoretical focusing position and The total deviation of actual focusing position includes:Theoretical zoom tracking curve after being translated for each time, according to the theory after the translation Aircraft pursuit course confirms the corresponding M theoretical focusing position of the M zoom position;And determine the M according to auto-focusing algorithm The corresponding M actual focusing position of zoom position;Calculate described M theoretical focusing position and corresponding actual focusing position respectively again The deviation put, and the total deviation after each translation is obtained according to this M deviation.
Compared to prior art, the zoom tracking curve corrected according to the inventive method image during zoom is followed has Good definition performance.
Brief description of the drawings
Fig. 1 is that the theoretical variable-focus tracing curve of a camera lens and actual variable-focus tracing curve are illustrated.
Fig. 2 is the flow chart of the embodiment of the present invention one.
Fig. 3 is the mark example of the parameter that is related to of Fig. 2 embodiments one on the diagram.
Fig. 4 is definition appraisal curve example.
Fig. 5 is the flow chart of the embodiment of the present invention two.
Fig. 6 is the corresponding illustration figure of embodiment two.
Fig. 7 is zoom tracking curve means for correcting building-block of logic in an example.
Fig. 8 is zoom tracking curve means for correcting building-block of logic in another example.
Embodiment
The present invention according to the theoretical zoom tracking curve of camera lens and, actual zoom tracking curve and theoretical zoom tracking curve Between difference value calculate corrected after zoom tracking curve so that during follow-up zoom is followed, image is as far as possible Keep clear.Described in detail below by way of embodiment.
Embodiment one
Embodiment one gives zoom tracking curve bearing calibration, and this method is elaborated below in conjunction with Fig. 2 and Fig. 3.
S21, the N number of zoom position for determining camera lens.
S22, determined in N number of zoom position according to auto-focusing algorithm two zoom position zoom [i] of arbitrary neighborhood and The corresponding focusing position Focus of zoom [i-1] differenceReal zoom [i]And FocusReal zoom [i-1]
Carrying out carrying out based on auto-focusing algorithm when focusing position is determined for selected zoom position.It please join figure Definition appraisal curve shown in 4, wherein abscissa represent the relative value of focusing position, and ordinate represents focus degree evaluation Value.It is determined that a certain zoom position on, by changing focusing position, and be based on each focusing position auto-focusing algorithm The definition values of image are calculated, one of definition evaluation of estimate maximum on a definition appraisal curve, the curve can be drawn out Point (point marked as 1 in Fig. 4 to iris out) corresponding focusing position is the described corresponding focusing position of a certain zoom position Put.Based on this, it is right that we can be obtained by two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] in N number of zoom position The focusing position Focus answeredReal zoom [i]And FocusReal zoom [i-1]
S23, obtained according to the theoretical zoom tracking curve of camera lens described two zoom position zoom [i] of arbitrary neighborhood and The corresponding focusing position Focus of zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1]
Here theoretical zoom tracking curve is the original theoretical zoom tracking curve that camera lens manufacturer provides.
S24, the focusing offset focusoffset for calculating zoom [i] and zoom [i-1] position respectivelyzoom[i]With focusoffsetzoom[i-1]
focusoffsetzoom[i]=FocusReal zoom [i]~FocusManage zoom [i],
focusoffsetzoom[i-1]=FocusReal zoom [i-1]~FocusManage zoom [i-1]
Any zoom position between S25, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] The corresponding focusing offset focusoffset of zoomzoom
Any zoom position between S26, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] Corresponding actual focusing position FocusReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is the theoretical zoom according to camera lens The corresponding focusing positions of the zoom position zoom that aircraft pursuit course is obtained.
Just obtained by the above method between zoom [i] and zoom [i-1] after any corresponding correction of zoom position Focusing position, is the adjacent zoom position of any two in N number of zoom position due to zoom [i] and zoom [i-1], so this Sample just can obtain the focusing position of the corresponding correction of all zoom positions, that is, the zoom tracking curve corrected.
In addition, for N number of zoom position in step S21, being preferably selected some typical positions.The typical position can To be that can cover N number of zoom position of each curvature, each curvature here refers to using zoom position as abscissa, with zoom The position difference that corresponding each actual focusing position subtracts theoretical focusing position respectively is ordinate, and P zoom position is distinguished If the curvature for the stem curve that the difference that corresponding each actual focusing position subtracts theoretical focusing position is connected into, N<P.Enter one below For example step illustrates.
For example, zoom length is 1000, chooses zoom position 0,10,20 ... 1000, it is assumed that totally 100 positions;According to Theoretical zoom tracking curve obtains the corresponding 100 theoretical focusing positions of this 100 zoom position difference;Simultaneously according to automatic poly- Burnt algorithm obtains this 100 zoom positions and distinguishes corresponding 100 actual focusing positions.Respectively with this 100 actual positions of focusing Put and subtract corresponding 100 theoretical focusing positions and obtain 100 differences.Using zoom position as abscissa, difference is ordinate, will 100 points (focusing position, difference) connect, if the curve different by dry buckling is obtained.Close curvature can be worked as same Individual curvature is handled.Actual test is found, will typically produce 3-6 different curvature.At this moment we, which just choose, to cover The zoom position of each curvature is used as foregoing N number of zoom position.The zoom position selected in step S21 is more typical, the knot of correction Fruit is relatively more preferable.
In addition, it is necessary to sequencing not strict between explanation, some steps of embodiment one, such as step Between S22 and S23.So the ordinal relation between each step given by embodiment one should not regard the limit to the present invention as System.
Based on same design, the present invention also provides a kind of means for correcting of zoom tracking curve.It please join Fig. 7, the device Calculated including zoom position determining module, actual focusing position determining module, theoretical focusing position determining module, focusing deviant Module and actual focusing position correction module.
Wherein, the zoom position determining module, N number of zoom position for determining camera lens.
Actual focusing position determining module, for determining arbitrary neighborhood in N number of zoom position according to auto-focusing algorithm Two zoom position zoom [i] and the corresponding focusing position Focus of zoom [i-1] differenceReal zoom [i]And FocusReal zoom [i-1]
Theoretical focusing position determining module, for obtaining the arbitrary neighborhood two according to the theoretical zoom tracking curve of camera lens Individual zoom position zoom [i] and the corresponding focusing position Focus of zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1]
Focusing deviant computing module, the focusing deviant for calculating zoom [i] and zoom [i-1] position focusoffsetzoom[i]And focusoffsetzoom[i-1]:focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i], focusoffsetzoom[i-1]=FocusReal zoom [i-1]-FocusManage zoom [i-1];And for calculating described two zoom positions of arbitrary neighborhood Put the corresponding focusing offsets of any zoom position zoom between zoom [i] and zoom [i-1]:
Actual focusing position correction module, for calculating described two zoom position zoom [i] of arbitrary neighborhood and zoom [i- 1] the corresponding actual focusing position Focus of any zoom position betweenReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is the theoretical zoom according to camera lens The corresponding focusing positions of the zoom position zoom that aircraft pursuit course is obtained.
The theoretical zoom for the camera lens that above-mentioned zoom tracking curve means for correcting is used during correction zoom tracking curve Aircraft pursuit course is the original theoretical zoom tracking curve that camera lens manufacturer provides.
Embodiment two
In order that the correction result for obtaining theoretical zoom tracking curve is more preferable, the present embodiment provides a kind of more excellent method, This method helps to find the optimal zooming range of camera lens.This method is further improved on the basis of embodiment one: Firstly the need of being translated to theoretical zoom tracking curve to obtain more excellent theoretical zoom tracking curve, then again on the basis of this The corresponding focusing offset focusoffset of any zoom position zoom are calculated by the method for embodiment onezoom, so that Obtain actual focusing position FocusReal zoom.The embodiment of the present invention two is described below in conjunction with Fig. 5.
S31, M zoom position for selecting camera lens.
Here M can be equal with the N of embodiment one, that is, selects the zoom position of identical quantity;And these zooms position Put the zoom position that can also be selected with embodiment one just the same.
S32, by original theory aircraft pursuit course respectively zooming direction and focusing direction on carry out k time translate;And calculate each The theoretical focusing position of M zoom position after secondary translation and the total deviation of actual focusing position.
Translated for the original theory aircraft pursuit course that camera lens manufacturer provides.M zoom position after each translation The total deviation of theoretical focusing position and actual focusing position can be calculated as follows:After for once translating it is theoretical with Track curve, the corresponding M theoretical focusing position of the M zoom position is confirmed according to the theoretical aircraft pursuit course after the translation;And The corresponding M actual focusing position of the M zoom position is determined according to auto-focusing algorithm;Calculate the M theory respectively again The deviation of focusing position and corresponding actual focusing position, and the total deviation after this time translation is obtained according to this M deviation.
Here M deviation can use the poor absolute value of actual focusing position " theoretical focusing position subtract " or " reason Poor square of actual focusing position is subtracted by focusing position " represent.Total deviation then can with M deviation and represent.
Total deviation after S33, each time of comparison translation is to determine the total deviation of minimum, the corresponding translation of the minimum total deviation Theoretical zoom tracking curve afterwards as renewal theoretical zoom tracking curve.
Each total deviation can be seen that according to calculation procedure above and correspond to the theoretical zoom tracking song after a translation Line.If the corresponding total deviation of theoretical zoom tracking curve after translation is minimum, it is considered that the theoretical zoom after the translation Aircraft pursuit course reaches a comparatively ideal correction position, is renewal referred to here as the theoretical zoom tracking curve on the correction position Theoretical zoom tracking curve.If subsequently based on the theoretical zoom tracking curve of the renewal, further according to embodiment One method carries out the compensation of focusing offset, and that will obtain the zoom tracking curve after correction of a final proof of the embodiment of the present invention.
S34, described two zoom position zoom [i] of arbitrary neighborhood are obtained according to the theoretical zoom tracking curve of the renewal The corresponding focusing position Focus with zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1]
S35, the focusing deviant focusoffset for calculating zoom [i] and zoom [i-1] position respectivelyzoom[i]With focusoffsetzoom[i-1]
focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i],
focusoffsetzoom[i-1]=FocusReal zoom [i-1]-FocusManage zoom [i-1]
Wherein, FocusReal zoom [i]And FocusReal zoom [i-1]It is that the zoom position determined according to auto-focusing algorithm is respectively Zoom [i] and the corresponding focusing positions of zoom [i-1].
Here zoom position zoom [i] and zoom [i-1] can be the zoom position of step S31 selections in the present embodiment Put;It can also be the zoom position selected in the step S21 of embodiment one, or can also be the zoom position newly selected.
Any zoom position between S36, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] The corresponding focusing offset focusoffset of zoomzoom
Any zoom position between S37, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] Corresponding actual focusing position FocusReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is the theory according to above-mentioned renewal The corresponding focusing positions of the zoom position zoom that zoom tracking curve is obtained.
The corresponding actual focusing of any zoom position between zoom [i] and zoom [i-1] has just been obtained by the above method Position, is the adjacent zoom position of any two in zoom position due to zoom [i] and zoom [i-1], so thus can The corresponding actual focusing position of all zoom positions, i.e. actual zoom tracking curve are obtained, so as to complete to theoretical zoom The correction of aircraft pursuit course.
With reference to Fig. 6, embodiment two is further explained.
1. curve is the original zoom tracking curve that camera lens manufacturer provides, and 2. curve is that 1. curve passes through on zooming direction 3. the zoom tracking curve obtained after once translating, curve is curve 1. on zooming direction and focusing direction respectively through once The zoom tracking curve obtained after translation.
Assuming that zoom1~zoom10 in 10 zoom positions of selection, ginseng figure.For zoom position zoom1~zoom10, 2. can be obtained according to zoom tracking curve focusing position Focus21 of this 10 zoom positions on the curve, Focus22, Focus23, Focus24, Focus25, Focus26, Focus27, Focus28, Focus29, Focus210, i.e. curve 2. on The ordinate of 10 stains.This 10 zoom position correspondences of zoom1~zoom10 can be respectively obtained according to auto-focusing algorithm Actual focusing position Focus01, Focus02, Focus03, Focus04, Focus05, Focus06, Focus07, 10 soft dots in Focus08, Focus09, Focus010, i.e. figure.Can thus calculate curve 2. on 10 Theoretical focusing position Focus21, Focus22, Focus23, Focus24, Focus25, Focus26, Focus27, Focus28, Focus29, Focus210 and actual focusing position Focus01, Focus02, Focus03, Focus04, Focus05, Focus06, Focus07, Focus08, Focus09, Focus010 deviation.If representing deviation with the mode of absolute value, this 10 deviations are respectively | Focus21-Focus01 |, | Focus22-Focus02 |, | Focus23-Focus03 |, | Focus24- Focus04|、|Focus25-Focus05|、|Focus26-Focus06|、|Focus27-Focus07|、|Focus28- Focus08|、|Focus29-Focus09|、|Focus210-Focus010|;Then translation curve is obtained according to this 10 deviations 2. Total deviation be:Similar, if being represented with variance, the total deviation is:
It 3. can be calculated for curve with above-mentioned identical method and obtain the corresponding total deviation Off of focusing position thereon3OrHere Focus3i (i be equal to 1~10) for this 10 zoom positions of zoom1~zoom10 curve 3. on corresponding focusing position.
Then Off2 and Off3 size are compared, it is assumed that Off3 value is small, then 2. 3. curve be better than curve, 3. curve will be made For new theoretical zoom tracking curve, being then based on new theoretical zoom tracking curve progress, further calculating obtains final Correct zoom tracking curve.
For two zoom positions of arbitrary neighborhood, such as zoom2 and zoom3, based on new theoretical zoom tracking curve, Its corresponding focusing position is Focus32 and Focus33, and its actual corresponding focusing position is Focus02 and Focus03, Then focusoffsetzoom2=Focus32-Focus02;focusoffsetzoom3=Focus33-Focus03.For zoom position Put any zoom position zoom between zoom2 and zoom3, its focusing position FocusReal zoomFor:FocusReal zoom= FocusManage zoom+ FocusManage zoomFor new theoretical zoom tracking curve, i.e. curve 3. on, the corresponding focusing position in zoom positions.
It can be calculated by same method and obtain zoom1 and zoom2, appointing between the zoom position such as zoom3 and zoom4 The actual focusing position of meaning position, so as to can be obtained by the focusing position of any zoom position of camera lens, that is, is completed to new Theoretical aircraft pursuit course further correction, the correction result is closer to actual zoom tracking curve.
In the above example, only exemplified by translating two obtained curves.If in fact, camera lens manufacturer on zooming direction The original zoom tracking curve provided can be translated can translate m steps on n steps, focusing direction, then can obtain altogether after the translation of m*n bars Curve.The total deviation Off that every curve can be calculated according to preceding method, so as to obtain one of total deviation minimum Translation curve.The curve that participation total deviation compares is more, and the new Zoom Theory aircraft pursuit course generally yielded is more preferable, follow-up The correction of a final proof result arrived is also closer to actual zoom tracking curve.
In addition, in above-mentioned calculating process, the zoom position of selection is more, the new Zoom Theory tracking generally yielded is bent Line is also more preferable, and final correction result is also closer to actual zoom tracking curve.
It is demonstrated experimentally that the correction zoom tracking curve that technical scheme is obtained is during zoom tracking, image With higher definition.
Based on same design, the present invention also provides a kind of means for correcting of zoom tracking curve.It please join Fig. 8, the correction Device includes:Zoom position determining module, translation total deviation computing module, renewal curve determining module, actual focusing position are true Cover half block, theoretical focusing position determining module, focusing deviant computing module and actual focusing position correction module.
Wherein, zoom position determining module, actual focusing position determining module, theoretical focusing position determining module, focusing Deviant computing module and actual focusing position correction module have and Fig. 7 means for correcting identical functions.But, theory focusing Position determination module is it is determined that use the zoom tracking curve of renewal when theoretical focusing position;Actual focusing position school The theoretical focusing position that positive module is used when focusing position is corrected is also to be obtained according to the zoom tracking curve of renewal.
And can be by zoom position determining module, translation total deviation computing module, more for the zoom tracking curve of renewal New curve determining module is obtained, specific as follows:
Zoom position determining module, the M zoom position for determining camera lens.
Translate total deviation computing module, for by original theoretical zoom tracking curve respectively in zooming direction and focusing side K translation is carried out upwards;And calculate M zoom position after each translation theoretical focusing position and actual focusing position it is total Deviation.
Curve determining module is updated, for comparing the total deviation after each translation to determine minimum total deviation, the minimum The corresponding translation of total deviation after theoretical zoom tracking curve as renewal theoretical zoom tracking curve.
The theoretical focusing position and reality that the translation total deviation computing module calculates M zoom position after each translation are right The total deviation of burnt position includes:Theoretical zoom tracking curve after being translated for each time, it is bent according to the theoretical tracking after the translation The corresponding M theoretical focusing position of M zoom position described in line justification;And the M zoom position is determined according to auto-focusing algorithm Put corresponding M actual focusing position;Calculate the inclined of described M theoretical focusing position and corresponding actual focusing position respectively again Difference, and the total deviation after each translation is obtained according to this M deviation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

1. a kind of bearing calibration of zoom tracking curve, it is characterised in that this method includes:
A, the N number of zoom position for determining camera lens;
B, two zoom position zoom [i] of arbitrary neighborhood and zoom [i- in N number of zoom position determined according to auto-focusing algorithm 1] the corresponding focusing position Focus of differenceReal zoom [i]And FocusReal zoom [i-1];And, obtained according to the theoretical zoom tracking curve of camera lens To described two zoom position zoom [i] of arbitrary neighborhood and the corresponding focusing position Focus of zoom [i-1]Manage zoom [i]With FocusManage zoom [i-1]
C, the focusing deviant focusoffse t for calculating zoom [i] and zoom [i-1] position respectivelyzoom[i]And focusoffse tzoom[i-1]
focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i],
focusoffse tzoom[i-1]=FocusReal zoom [i-1]~FocusManage zoom [i-1]
Zoom pairs of any zoom position between D, the described two zoom position zoom [i] of arbitrary neighborhood of calculating and zoom [i-1] The focusing offset focusoffset answeredzoom
<mrow> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> </mrow> </msub> <mrow> <mo>(</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>-</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>)</mo> </mrow> <mo>*</mo> <mfrac> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>-</mo> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>&amp;rsqb;</mo> <mo>-</mo> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </mfrac> <mo>+</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>;</mo> </mrow>
E, any zoom position calculated between described two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] are corresponding Actual focusing position FocusReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is that song is tracked according to the theoretical zoom of camera lens The corresponding focusing positions of the zoom position zoom that line is obtained.
2. the bearing calibration of zoom tracking curve as claimed in claim 1, it is characterised in that the theoretical zoom of the camera lens with Track curve is the original theoretical zoom tracking curve that camera lens manufacturer provides.
3. the bearing calibration of zoom tracking curve as claimed in claim 1, it is characterised in that the theoretical zoom of the camera lens with Track curve is the theoretical zoom tracking curve updated;
Wherein obtaining the theoretical zoom tracking curve of the renewal includes:
A, M zoom position for determining camera lens;
B, by original theoretical zoom tracking curve respectively zooming direction and focusing direction on carry out k time translate;And calculate each The theoretical focusing position of M zoom position after secondary translation and the total deviation of actual focusing position;
Total deviation after c, each time of comparison translation is to determine the total deviation of minimum, the reason after the corresponding translation of minimum total deviation By theoretical zoom tracking curve of the zoom tracking curve as renewal.
4. the bearing calibration of zoom tracking curve as claimed in claim 3, it is characterised in that after each translation of calculating The total deviation of the theoretical focusing position and actual focusing position of M zoom position includes:Theoretical zoom after being translated for each time Aircraft pursuit course, the corresponding M theoretical focusing position of the M zoom position is confirmed according to the theoretical aircraft pursuit course after the translation; And the corresponding M actual focusing position of the M zoom position is determined according to auto-focusing algorithm;Calculate the M reason respectively again The total deviation after each translation is obtained by the deviation of focusing position and corresponding actual focusing position, and according to this M deviation.
5. the bearing calibration of zoom tracking curve as claimed in claim 3, it is characterised in that N number of zoom position of the determination N number of zoom position of each curvature can be covered by being set to;Wherein each curvature refers to using zoom position as abscissa, with zoom position Put corresponding each actual focusing position respectively and subtract the difference of theoretical focusing position for ordinate, P zoom position is right respectively Each bent curvature of a curve that the difference that each actual focusing position answered subtracts theoretical focusing position is connected into, N<P.
6. a kind of means for correcting of zoom tracking curve, it is characterised in that the device includes:
Zoom position determining module, N number of zoom position for determining camera lens;
Actual focusing position determining module, for determining arbitrary neighborhood two in N number of zoom position according to auto-focusing algorithm The corresponding focusing position Focus of zoom position zoom [i] and zoom [i-1] differenceReal zoom [i]And FocusReal zoom [i-1]
Theoretical focusing position determining module, for obtaining described two changes of arbitrary neighborhood according to the theoretical zoom tracking curve of camera lens Burnt position zoom [i] and the corresponding focusing position Focus of zoom [i-1]Manage zoom [i]And FocusManage zoom [i-1]
Focusing deviant computing module, the focusing deviant focusoffse for calculating zoom [i] and zoom [i-1] position tzoom[i]With focusoffse tzoom[i-1]:focusoffsetzoom[i]=FocusReal zoom [i]-FocusManage zoom [i], focusoffse tzoom[i-1]=FocusReal zoom [i-1]-FocusManage zoom [i-1];And for calculating described two zooms of arbitrary neighborhood The corresponding focusing offsets of any zoom position zoom between position zoom [i] and zoom [i-1]:
<mrow> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> </mrow> </msub> <mrow> <mo>(</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>-</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>)</mo> </mrow> <mo>*</mo> <mfrac> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>-</mo> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>&amp;rsqb;</mo> <mo>-</mo> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </mfrac> <mo>+</mo> <msub> <mi>focusoffset</mi> <mrow> <mi>z</mi> <mi>o</mi> <mi>o</mi> <mi>m</mi> <mo>&amp;lsqb;</mo> <mi>i</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>;</mo> </mrow>
Actual focusing position correction module, for calculate described two zoom position zoom [i] of arbitrary neighborhood and zoom [i-1] it Between the corresponding actual focusing position Focus of any zoom positionReal zoom
FocusReal zoom=FocusManage zoom+focusoffsetzoom;Wherein FocusManage zoomIt is that song is tracked according to the theoretical zoom of camera lens The corresponding focusing positions of the zoom position zoom that line is obtained.
7. the means for correcting of zoom tracking curve as claimed in claim 6, it is characterised in that the theoretical zoom of the camera lens with Track curve is the original theoretical zoom tracking curve that camera lens manufacturer provides.
8. the means for correcting of zoom tracking curve as claimed in claim 6, it is characterised in that the theoretical zoom of the camera lens with Track curve is the theoretical zoom tracking curve updated;
The theoretical zoom tracking curve for wherein obtaining the renewal is performed by following modules of the means for correcting:
Zoom position determining module, the M zoom position for determining camera lens;
Translate total deviation computing module, for by original theoretical zoom tracking curve respectively zooming direction and focusing direction Carry out k translation;And calculate M zoom position after each translation theoretical focusing position and actual focusing position it is total inclined Difference;
Update curve determining module, for comparing the total deviation after each translation to determine minimum total deviation, the minimum it is total Theoretical zoom tracking curve after the corresponding translation of deviation as renewal theoretical zoom tracking curve.
9. the means for correcting of zoom tracking curve as claimed in claim 8, it is characterised in that the translation total deviation calculates mould The total deviation that block calculates the theoretical focusing position and actual focusing position of M zoom position after each translation includes:For each Theoretical zoom tracking curve after secondary translation, the M zoom position correspondence is confirmed according to the theoretical aircraft pursuit course after the translation M theoretical focusing position;And the corresponding M actual focusing position of the M zoom position is determined according to auto-focusing algorithm;Again The deviation of described M theoretical focusing position and corresponding actual focusing position is calculated respectively, and is obtained each time according to this M deviation Total deviation after translation.
10. the means for correcting of zoom tracking curve as claimed in claim 8, it is characterised in that N number of zoom position of the determination N number of zoom position of each curvature can be covered by being set to;Wherein each curvature refers to using zoom position as abscissa, with zoom position Put corresponding each actual focusing position respectively and subtract the difference of theoretical focusing position for ordinate, P zoom position is right respectively Each bent curvature of a curve that the difference that each actual focusing position answered subtracts theoretical focusing position is connected into, N<P.
CN201410542370.8A 2014-10-14 2014-10-14 A kind of bearing calibration of zoom tracking curve and device Active CN104301611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410542370.8A CN104301611B (en) 2014-10-14 2014-10-14 A kind of bearing calibration of zoom tracking curve and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410542370.8A CN104301611B (en) 2014-10-14 2014-10-14 A kind of bearing calibration of zoom tracking curve and device

Publications (2)

Publication Number Publication Date
CN104301611A CN104301611A (en) 2015-01-21
CN104301611B true CN104301611B (en) 2017-09-19

Family

ID=52321157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410542370.8A Active CN104301611B (en) 2014-10-14 2014-10-14 A kind of bearing calibration of zoom tracking curve and device

Country Status (1)

Country Link
CN (1) CN104301611B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303190B (en) * 2015-05-25 2019-08-30 深圳市福斯康姆智能科技有限公司 Zoom tracking curve antidote and device
CN104980661B (en) * 2015-07-10 2018-10-09 武汉烽火众智数字技术有限责任公司 A kind of method and apparatus of pick-up lens self-correcting
CN106813635B (en) * 2015-12-02 2019-12-03 南宁富桂精密工业有限公司 A kind of bearing calibration of lens motor focusing curve and device
CN105578048B (en) * 2015-12-23 2019-02-22 北京奇虎科技有限公司 A kind of quick focusing method and device, mobile terminal
CN105554387A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Zoom tracking curve correction method and device
CN105611159A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Calibration method and device of zooming tracking curve
CN105704381B (en) * 2016-03-16 2019-02-05 深圳英飞拓科技股份有限公司 The zoom tracking and device of video camera
CN105827962A (en) * 2016-03-23 2016-08-03 深圳英飞拓科技股份有限公司 Correction method and device of movement back focal length deviation of camera
CN106341598A (en) * 2016-09-14 2017-01-18 北京环境特性研究所 Optical-lens automatic focusing system and method thereof
CN106507102B (en) * 2016-11-18 2018-09-18 浙江宇视科技有限公司 A kind of lens correction method and device
CN106657787A (en) * 2016-12-28 2017-05-10 天津天地伟业生产力促进有限公司 Fast correction method for zoom tracking curve
CN107592464B (en) * 2017-09-30 2019-09-17 浙江大华技术股份有限公司 Zoom follows the switching method and device of curve during a kind of zoom
CN108259760B (en) * 2018-03-22 2020-05-26 浙江大华技术股份有限公司 Zoom focusing compensation method and device for dome camera
JP6799711B2 (en) * 2018-03-23 2020-12-16 富士フイルム株式会社 Imaging device, imaging method, and program
CN109525779B (en) * 2018-12-19 2020-11-03 杭州晨安科技股份有限公司 Quick correction and verification method for zoom tracking curve
CN110121068B (en) * 2019-04-02 2020-06-23 浙江大华技术股份有限公司 Point selection method and device of zoom following curve and storage medium
CN112585518A (en) * 2020-03-27 2021-03-30 深圳市大疆创新科技有限公司 Focus point determining method and device, lens, imaging device and movable platform
CN111866371B (en) * 2020-06-15 2021-10-15 普联技术有限公司 Method and device for calibrating zoom tracking curve and computer-readable storage medium
CN112630924B (en) * 2020-11-30 2022-11-08 中山联合光电研究院有限公司 Zoom curve correction method, device, storage medium and system
CN112601012B (en) * 2020-12-07 2022-03-01 深圳市维海德技术股份有限公司 Zoom follow-up method, device and computer readable storage medium
CN114245008B (en) * 2021-12-07 2024-02-20 天地伟业技术有限公司 Focusing method, focusing device, electronic equipment and computer readable storage medium
CN114710603B (en) * 2022-03-24 2024-02-13 深圳市维海德技术股份有限公司 Temperature drift correction method, system, terminal equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022037A (en) * 2010-07-12 2012-02-02 Canon Inc Imaging apparatus
CN103475820A (en) * 2013-09-23 2013-12-25 苏州科达科技股份有限公司 Correcting method and system for PI position in camera
CN103546692A (en) * 2013-11-04 2014-01-29 苏州科达科技股份有限公司 Method and system achieving integrated camera automatic focusing
CN103595920A (en) * 2013-11-15 2014-02-19 浙江宇视科技有限公司 Image collection equipment and auxiliary focusing method and device in zooming process
CN103748493A (en) * 2011-09-01 2014-04-23 松下电器产业株式会社 Image pickup device and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022037A (en) * 2010-07-12 2012-02-02 Canon Inc Imaging apparatus
CN103748493A (en) * 2011-09-01 2014-04-23 松下电器产业株式会社 Image pickup device and program
CN103475820A (en) * 2013-09-23 2013-12-25 苏州科达科技股份有限公司 Correcting method and system for PI position in camera
CN103546692A (en) * 2013-11-04 2014-01-29 苏州科达科技股份有限公司 Method and system achieving integrated camera automatic focusing
CN103595920A (en) * 2013-11-15 2014-02-19 浙江宇视科技有限公司 Image collection equipment and auxiliary focusing method and device in zooming process

Also Published As

Publication number Publication date
CN104301611A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN104301611B (en) A kind of bearing calibration of zoom tracking curve and device
CN105044879B (en) Automatic focusing system using multiple lenses and method thereof
CN107665483B (en) Calibration-free convenient monocular head fisheye image distortion correction method
US20170070731A1 (en) Single And Multi-Camera Calibration
CN103776419A (en) Binocular-vision distance measurement method capable of widening measurement range
TWI494680B (en) Image capturing device and method for calibrating image deformation thereof
CN107492080B (en) Calibration-free convenient monocular head image radial distortion correction method
CN108044232B (en) A kind of bearing calibration of galvanometer in the same direction
CN106657787A (en) Fast correction method for zoom tracking curve
CN106851103B (en) Atomatic focusing method and device based on dual camera system
KR101948906B1 (en) Marker having focusing and tilt correction design and alignment method
CN106482640A (en) A kind of apparatus and method of integrated machine core optical axis correction
CN109005340A (en) The Atomatic focusing method and device of image definition curve matching are carried out based on least square method
CN106878700B (en) wide-angle lens correction system and method thereof
JP2019087794A5 (en)
CN106773514B (en) A kind of parallel adjusting method of camera module optical axis and system
CN105554387A (en) Zoom tracking curve correction method and device
CN105607395A (en) Projection device and correction method thereof
CN107610180A (en) AWB calibration methods and device, computer-readable recording medium, terminal
CN115236828B (en) Co-phase error correction method based on discrete orthogonal polynomial
CN106507102B (en) A kind of lens correction method and device
CN106888344A (en) Camera module and its inclined acquisition methods of image planes and method of adjustment
US9638985B1 (en) Adjusting device of focusing curve of camera lens motor and method
CN109996005A (en) A kind of convergence correction method and device
CN105959577B (en) A kind of focus method and device of video camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant