CN106303190B - Zoom tracking curve antidote and device - Google Patents
Zoom tracking curve antidote and device Download PDFInfo
- Publication number
- CN106303190B CN106303190B CN201510270146.2A CN201510270146A CN106303190B CN 106303190 B CN106303190 B CN 106303190B CN 201510270146 A CN201510270146 A CN 201510270146A CN 106303190 B CN106303190 B CN 106303190B
- Authority
- CN
- China
- Prior art keywords
- zoom
- tracking curve
- camera lens
- focal position
- zoom position
- 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
Links
Landscapes
- Studio Devices (AREA)
Abstract
The present invention is suitable for technical field of video monitoring, provide a kind of zoom tracking curve antidote and device, the described method includes: obtaining the zoom tracking curve of camera lens to be corrected, the zoom tracking curve is the corresponding relationship between the zoom position and focal position of camera lens;According to the zoom tracking curve, multiple zoom positions of camera lens are extracted;It controls camera lens to be corrected to be focused in the zoom position extracted, obtains the corresponding focal position of the zoom position;According to the adjacent zoom position and the corresponding focal position of the zoom position in the zoom position extracted, segmentation correction is carried out to the zoom tracking curve.The present invention realizes the automatic straightening to the zoom tracking curve of zoom lens, obtain the zoom tracking curve for meeting zoom lens self-characteristic to be corrected, production, the assembly difficulty of zoom lens are reduced simultaneously, production, assembly cost have been saved, the focusing speed of video monitoring equipment is also advantageously improved and has focused success rate.
Description
Technical field
The technical field of video monitoring more particularly to a kind of zoom tracking curve antidote and dress that the present invention is suitable for
It sets.
Background technique
Existing video monitoring equipment is provided with zoom lens.Have one between the zoom position and focal position of zoom lens
One-to-one correspondence, i.e. zoom (zoom) motor of zoom lens are in zoom position X, focusing (focus) motor in focal position Y
When, image accessed by camera lens is clearest.It is according to the curve that the corresponding relationship between zoom position and focal position obtains
Zoom tracking curve.
However, the limitation of the technological level due to zoom lens production, cannot accurately insure that original provided by producer
Zoom tracking curve is suitable for its zoom lens produced.The individual difference of zoom lens not will cause zoom tracking curve not
With the problem of.Further, video monitoring equipment is when being arranged zoom lens, after zoom lens and video monitoring equipment
There are errors for focal length, also be easy to cause in actual video monitoring application process, the unmatched problem of zoom tracking curve, so that
The video data that video monitoring obtains is fuzzy.
Summary of the invention
In consideration of it, the embodiment of the present invention provides a kind of zoom tracking curve antidote, meet each zoom to obtain
The zoom tracking curve of camera lens self-characteristic reduces production, the assembly difficulty of zoom lens.
In a first aspect, providing a kind of zoom tracking curve antidote, which comprises
Obtain the zoom tracking curve of camera lens to be corrected;
According to the zoom tracking curve, multiple zoom positions of camera lens are extracted;
It controls camera lens to be corrected to be focused in the zoom position extracted, obtains the corresponding focusing position of the zoom position
It sets;
According to the adjacent zoom position and the corresponding focal position of the zoom position in the zoom position extracted, to institute
It states zoom tracking curve and carries out segmentation correction.
Further, the adjacent zoom position according in the zoom position extracted and the zoom position are corresponding
Focal position, carrying out segmentation correction to the zoom tracking curve includes:
Obtain adjacent two zoom positions and the corresponding focal position of the zoom position;
According to the zoom position and its corresponding focal position, the zoom position between two adjacent zoom positions is established
Set the linear function between focal position;
According to the linear function, the corresponding focusing position of zoom position between two adjacent zoom positions is calculated
It sets;
Wherein, the linear function using zoom position as independent variable, using focal position as dependent variable.
Further, described according to the zoom tracking curve, the multiple zoom positions for extracting camera lens specifically include:
Obtain preset sampling interval;
According to the zoom tracking curve, multiple zoom positions are extracted according to the sampling interval.
Further, the preset sampling interval of acquisition includes:
According to the zoom position currently extracted, corresponding sampling interval of sampling next time is obtained according to preset algorithm.
Further, the method also includes:
Zoom tracking curve after obtaining segmentation correction, and store the zoom tracking curve after correction.
Second aspect, provides a kind of zoom tracking curve apparatus for correcting, and described device includes:
Module is obtained, for obtaining the zoom tracking curve of camera lens to be corrected;
Decimation blocks, for extracting multiple zoom positions of camera lens according to the zoom tracking curve;
Focusing module is focused in the zoom position extracted for controlling camera lens to be corrected, obtains the zoom position
Set corresponding focal position;
Rectification module, for according in the zoom position extracted adjacent zoom position and the zoom position it is corresponding
Focal position carries out segmentation correction to the zoom tracking curve.
Further, the rectification module includes:
First acquisition unit, for obtaining adjacent two zoom positions and the corresponding focal position of the zoom position;
Unit is established, for establishing two adjacent changes according to the zoom position and its corresponding focal position
The linear function between zoom position and focal position between burnt position;
Computing unit, for calculating the zoom position between two adjacent zoom positions according to the linear function
Set corresponding focal position;
Wherein, the linear function using zoom position as independent variable, using focal position as dependent variable.
Further, the decimation blocks specifically include:
Second acquisition unit, for obtaining preset sampling interval;
Third acquiring unit, for obtaining multiple zoom positions according to the sampling interval according to the zoom tracking curve
It sets.
Further, the second acquisition unit is specifically used for:
According to the zoom position currently extracted, corresponding sampling interval of sampling next time is obtained according to preset algorithm.
Further, described device further include:
Memory module for obtaining the zoom tracking curve after segmentation is corrected, and stores the zoom tracking curve after correction.
Compared with prior art, the embodiment of the present invention passes through the zoom tracking curve for obtaining camera lens to be corrected, according to described
Zoom tracking curve extracts multiple zoom positions of camera lens;Camera lens to be corrected is controlled to be focused in the zoom position extracted,
The camera lens to be corrected is obtained in the corresponding focal position of the zoom position;Further according to adjacent in the zoom position extracted
Zoom position and the corresponding focal position of the zoom position, carry out segmentation correction to the zoom tracking curve, to obtain not
The corresponding focal position of the zoom position of sampling;To which the zoom tracking for obtaining meeting zoom lens self-characteristic to be corrected is bent
Line reduces production, the assembly difficulty of zoom lens, has saved production, assembly cost;Also advantageously improve video monitoring equipment
Focusing speed and focus success rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is the implementation flow chart for the zoom tracking curve antidote that the embodiment of the present invention one provides;
Fig. 2 is the specific implementation flow of step S104 in zoom tracking curve antidote provided by Embodiment 2 of the present invention
Figure
Fig. 3 is the composite structural diagram for the zoom tracking curve apparatus for correcting that the embodiment of the present invention three provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention passes through the zoom tracking curve for obtaining camera lens to be corrected, and according to the zoom tracking curve, takes out
Multiple zoom positions of camera switching;It controls camera lens to be corrected to be focused in the zoom position extracted, obtain described wait correct
Camera lens is in the corresponding focal position of the zoom position;Further according to adjacent zoom position in the zoom position extracted and described
The corresponding focal position of zoom position carries out segmentation correction to the zoom tracking curve;Meet change to be corrected to obtain
The zoom tracking curve of zoom lens self-characteristic reduces production, the assembly difficulty of zoom lens;It saved production, be assembled into
This, also advantageously improves the focusing speed of video monitoring equipment and focuses success rate.The embodiment of the invention also provides corresponding
Device, which will be described in detail below.
Embodiment one
Fig. 1 shows the implementation process of the zoom tracking curve antidote of the offer of the embodiment of the present invention one, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown.
In embodiments of the present invention, the method is applied to intelligent terminal, and the intelligent terminal includes but is not limited to individual
Computer, tablet computer etc..The intelligent terminal and video monitoring equipment are by wired or wireless mode connection communication, with right
The zoom lens of the video monitoring equipment carries out the correction of zoom tracking curve.
As shown in Figure 1, which comprises
In step s101, the zoom tracking curve of camera lens to be corrected is obtained.
In embodiments of the present invention, the camera lens to be corrected is the zoom lens in video monitoring equipment.The zoom with
Track curve is theoretical zoom tracking curve, i.e., production firm provide image clearly when camera lens zoom position and focal position it
Between corresponding relationship.The zoom motor of camera lens is in zoom position and amasthenic lens in focal position corresponding with zoom position
When, image acquired in camera lens is clearest.When the zoom tracking curve is the theoretical zoom tracking curve that production firm provides
When, it is necessary to the back focal length of the zoom lens is set in strict accordance with vendors dictate.
The zoom tracking curve may be the zoom position that user goes out previously according to the actual conditions rough Statistics of camera lens
The curve with focal position is set, this curve substantially meets actual equipment, but due to video monitoring equipment installation and correlation
The error of device itself and the inaccuracy of parameter setting need to carry out the curve of the zoom position and focal position extracted
Correction, to obtain the zoom tracking curve for being suitable for video monitoring equipment and meeting zoom lens self-characteristic.
In step s 102, according to the zoom tracking curve, multiple zoom positions of camera lens are extracted.
In step s 103, it controls camera lens to be corrected to be focused in the zoom position extracted, obtains the zoom position
Set corresponding focal position.
If all zoom positions for treating correction camera lens are focused, the too long of time will be spent, in the upper inconvenience of production
In implementation.The embodiment of the present invention in order to improve the production efficiency, the stroke size of zoom is obtained according to zoom tracking curve, for becoming
Burnt entire stroke extracts multiple zoom positions, and the zoom motor for controlling camera lens to be corrected is moved to extracted zoom position
On, and control focus motor and focused automatically, it is acquired to obtain focal position corresponding with the zoom position extracted
Focal position combines the camera lens self-characteristic to be corrected, so that the camera lens after correction guarantees that image is opposite in focusing
Clearly.
In embodiments of the present invention, the number of the zoom position of extraction is determined according to the characteristic of actual camera lens to be corrected,
Sample mode can be uniform sampling, be also possible to nonuniform sampling.
When sample mode is uniform sampling, sampling interval (the distance between the zoom position of i.e. two neighboring extraction) is
Fixed value.At this point, the step S102 includes: to obtain preset sampling interval;According to the zoom tracking curve, according to described
Sampling interval extracts multiple zoom positions.Illustratively, it holds to wide (wide-angle) to hold from tele (long angle) when zoom position and carry out
When sampling, it is assumed that the end tele to the end wide shares 1000 steps, and preset sampling interval can be 50 steps, then from tele end to wide
End need to extract 21 zoom positions according to the sampling interval.
When sample mode is nonuniform sampling, sampling interval (the distance between the zoom position of i.e. two neighboring extraction)
For one group of value by default rule variation, the default rule can be to be incremented by or successively decrease.At this point, the sampling interval can lead to
Preset algorithm acquisition is crossed, the step S102 includes: to obtain according to preset algorithm next according to the zoom position currently extracted
Secondary corresponding sampling interval of sampling;According to the zoom tracking curve, next zoom position is extracted according to the sampling interval.
Illustratively, the preset algorithm is dependent variable as independent variable increases and reduced linear function, and the independent variable is current
The zoom position of acquisition, the dependent variable are corresponding sampling interval of sampling next time.It is obtained according to acquired sampling interval
Next zoom position;Again using acquired next zoom position as independent variable, obtained by the preset algorithm next
A sampling interval, and so on, until sampling terminates.
In step S104, according in the zoom position extracted adjacent zoom position and the zoom position it is corresponding
Focal position carries out segmentation correction to the zoom tracking curve.
In embodiments of the present invention, for the adjacent corresponding focal position of zoom position and zoom position, it is inferred to phase
The corresponding focal position of zoom position that do not correct between adjacent zoom position, i.e., be inferred to the change that do not sample using data method
The corresponding focal position in burnt position, further improves the efficiency of zoom tracking curve correction.
Preferably, the method also includes:
In step s105, the zoom tracking curve after obtaining segmentation correction, and store the zoom tracking curve after correction.
Zoom tracking after being corrected to the zoom position between the adjacent zoom position of every two, after obtaining multistage correction
Curve, the zoom tracking curve after the multistage correction join end to end, are combined into and meet the camera lens self-characteristic to be corrected
Zoom tracking curve stores the zoom tracking curve, as video monitoring equipment in installation or use process camera lens from
Zoom tracking curve based on dynamic focusing.Since the zoom tracking curve after the correction meets camera lens self-characteristic, foundation
Zoom tracking curve after the correction is focused automatically, is conducive to improve the focusing speed of video monitoring equipment and is focused into
Power.
The embodiment of the present invention passes through the zoom tracking curve for obtaining camera lens to be corrected, and according to the zoom tracking curve, takes out
Multiple zoom positions of camera switching;It controls camera lens to be corrected to be focused in the zoom position extracted, obtain described wait correct
Camera lens is in the corresponding focal position of the zoom position;Further according to adjacent zoom position in the zoom position extracted and described
The corresponding focal position of zoom position carries out segmentation correction to the zoom tracking curve;Meet change to be corrected to obtain
The zoom tracking curve of zoom lens self-characteristic reduces production, the assembly difficulty of zoom lens;It saved production, be assembled into
This, also advantageously improves the focusing speed of video monitoring equipment and focuses success rate.
Embodiment two
Fig. 2 shows the specific implementations of step S104 in zoom tracking curve antidote provided by Embodiment 2 of the present invention
Process.
In embodiments of the present invention, carrying out segmentation correction to the zoom tracking curve is preferably piecewise linearity correction.
As shown in Fig. 2, step S104 includes:
In step s 201, adjacent two zoom positions and the corresponding focal position of the zoom position are obtained.
In step S202, according to the zoom position and its corresponding focal position, two adjacent zoom positions are established
The linear function between zoom position and focal position between setting.
In embodiments of the present invention, with every two adjacent zoom positions for a section, described adjacent two are established
The linear function between zoom position and focal position between zoom position, to obtain multiple linear functions.Wherein, described
Linear function using zoom position as independent variable, using focal position as dependent variable.
In step S203, according to the linear function, the zoom position between two adjacent zoom positions is calculated
Set corresponding focal position.
After getting the linear function of correction, the zoom position in section is substituted into the corresponding linear letter in the section
Number, the corresponding focal position of the zoom position being calculated in the section.Calculate the institute between zoom position adjacent two-by-two
There is the corresponding focal position of zoom position, to obtain a smooth and continuous zoom tracking curve, the zoom tracking is bent
Line is the zoom tracking curve after correcting.
The embodiment of the present invention is inferred to the corresponding focal position of the zoom position that do not sample using data method, effectively mentions
The high speed and accuracy of zoom tracking curve correction.
Embodiment three
Fig. 3 shows the composed structure of the zoom tracking curve apparatus for correcting of the offer of the embodiment of the present invention three, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown.
In embodiments of the present invention, described device is for realizing the correction of zoom tracking curve described in Fig. 1 or Fig. 2 embodiment
Method can be the unit of the software unit for being built in intelligent terminal, hardware cell or software and hardware combining.The intelligent terminal
Including but not limited to personal computer, tablet computer etc..The intelligent terminal and video monitoring equipment pass through wired or wireless
Mode connection communication carries out the correction of zoom tracking curve with the zoom lens to the video monitoring equipment.
As shown in figure 3, described device includes:
Module 31 is obtained, for obtaining the zoom tracking curve of camera lens to be corrected.
Decimation blocks 32, for extracting multiple zoom positions of camera lens according to the zoom tracking curve.
Focusing module 33 is focused in the zoom position extracted for controlling camera lens to be corrected, obtains the zoom
The corresponding focal position in position.
Rectification module 34, for according to the adjacent zoom position and zoom position correspondence in the zoom position extracted
Focal position, segmentation correction is carried out to the zoom tracking curve.
In embodiments of the present invention, the zoom tracking curve is theoretical zoom tracking curve, i.e. production firm provides
Corresponding relationship when image clearly between the zoom position and focal position of camera lens;Or user is previously according to the reality of camera lens
The curve of zoom position and focal position that border situation rough Statistics go out.Based on the zoom tracking curve, the change of extraction
Burnt position is simultaneously focused aligning, to obtain suitable for the video monitoring equipment and meet zoom lens self-characteristic
Zoom tracking curve.
Further, it carries out segmentation correction to zoom tracking curve preferably to correct using piecewise linearity, the rectification module
34 include:
First acquisition unit 341, for obtaining adjacent two zoom positions and the corresponding focusing position of the zoom position
It sets.
Unit 342 is established, for according to the zoom position and its corresponding focal position, establishing described adjacent two
The linear function between zoom position and focal position between zoom position.
Computing unit 343, for calculating the zoom between two adjacent zoom positions according to the linear function
The corresponding focal position in position.
The embodiment of the present invention, for a section, establishes two adjacent zoom positions with every two adjacent zoom positions
The linear function between zoom position and focal position between setting, to obtain multiple linear functions.Wherein, the linear letter
It counts using zoom position as independent variable, using focal position as dependent variable.It, will be in section after getting the linear function of correction
Zoom position substitutes into the corresponding linear function in the section, the corresponding focusing position of the zoom position being calculated in the section
It sets.Calculate the corresponding focal position of all zoom positions between adjacent zoom position two-by-two, thus obtain one it is smooth and
Continuous zoom tracking curve, the zoom tracking curve are the zoom tracking curve after correcting.The embodiment of the present invention uses number
The corresponding focal position of the zoom position that do not sample is inferred to according to method, avoids and all zoom positions are focused, have
Improve to effect the speed and accuracy of zoom tracking curve correction.
Further, in embodiments of the present invention, the number of the zoom position of extraction is according to actual camera lens to be corrected
Characteristic determines that sample mode can be uniform sampling, be also possible to nonuniform sampling.
Therefore, the decimation blocks 32 specifically include:
Second acquisition unit 321, for obtaining preset sampling interval;
Third acquiring unit 322, for obtaining multiple zooms according to the sampling interval according to the zoom tracking curve
Position.
The sampling interval is the distance between the zoom position of two neighboring extraction.It is uniform sampling in sample mode
When, the preset sampling interval is fixed value;When the sample mode is nonuniform sampling, the sampling interval is one group
By the value of default rule variation, the default rule can be to be incremented by or successively decrease.The sampling interval can pass through preset algorithm
It obtains, then the second acquisition unit 321 is specifically also used to: according to the zoom position currently extracted, being obtained according to preset algorithm
Remove the corresponding sampling interval of single sample;The third acquiring unit 322 is specifically also used to: being tracked according to the zoom bent
Line extracts next zoom position according to acquired sampling interval;Until sampling terminates.
Further, described device further include:
Memory module 35, for obtaining the zoom tracking curve after segmentation is corrected, and it is bent to store the zoom tracking after correction
Line.
Zoom tracking after being corrected to the zoom position between the adjacent zoom position of every two, after obtaining multistage correction
Curve, the zoom tracking curve after the multistage correction join end to end, are combined into and meet the camera lens self-characteristic to be corrected
Zoom tracking curve stores the zoom tracking curve, as video monitoring equipment in installation or use process camera lens from
Zoom tracking curve based on dynamic focusing.Since the zoom tracking curve after the correction meets camera lens self-characteristic, foundation
Zoom tracking curve after the correction is focused automatically, is conducive to improve the focusing speed of video monitoring equipment and is focused into
Power.
It should be noted that the device in the embodiment of the present invention can be used to implement whole skills in above method embodiment
The function of art scheme, each functional module can be implemented according to the method in above method embodiment, specific implementation
Process can refer to the associated description in above-described embodiment, and details are not described herein again.
The embodiment of the present invention passes through the zoom tracking curve for obtaining camera lens to be corrected, and according to the zoom tracking curve, takes out
Multiple zoom positions of camera switching;It controls camera lens to be corrected to be focused in the zoom position extracted, obtain described wait correct
Camera lens is in the corresponding focal position of the zoom position;Further according to adjacent zoom position in the zoom position extracted and described
The corresponding focal position of zoom position carries out segmentation correction to the zoom tracking curve, to obtain the zoom position that do not sample
Corresponding focal position;To obtain the zoom tracking curve for meeting zoom lens self-characteristic to be corrected, zoom is reduced
The production of camera lens, assembly difficulty;Saved production, assembly cost, also advantageously improve video monitoring equipment focusing speed and
Focus success rate.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (2)
1. a kind of zoom tracking curve antidote, which is characterized in that the described method includes:
Obtain the zoom tracking curve of camera lens to be corrected;The zoom tracking curve is actual conditions of the user previously according to camera lens
The curve of the zoom position for meeting physical device and focal position that rough Statistics go out;
According to the zoom tracking curve, multiple zoom positions of camera lens are extracted;
It controls camera lens to be corrected to be focused in the zoom position extracted, obtains the corresponding focal position of the zoom position;
According to the adjacent zoom position and the corresponding focal position of the zoom position in the zoom position extracted, to the change
Burnt aircraft pursuit course carries out segmentation correction;
The adjacent zoom position and the corresponding focal position of the zoom position according in the zoom position extracted, to institute
It states zoom tracking curve and be segmented correcting and include:
Obtain adjacent two zoom positions and the corresponding focal position of the zoom position;
According to the zoom position and its corresponding focal position, establish zoom position between two adjacent zoom positions with
Linear function between focal position;
According to the linear function, the corresponding focal position of zoom position between two adjacent zoom positions is calculated;
Wherein, the linear function using zoom position as independent variable, using focal position as dependent variable;
It is described according to the zoom tracking curve, the multiple zoom positions for extracting camera lens specifically include:
Obtain preset sampling interval, the sampling interval is obtained by preset algorithm, the preset algorithm be dependent variable with
Independent variable increases and reduced linear function, the independent variable are the zoom position currently obtained, and the dependent variable is next time
It samples corresponding sampling interval;
According to the zoom tracking curve, multiple zoom positions are extracted according to the sampling interval;
The method also includes:
Zoom tracking curve after obtaining segmentation correction, and store the zoom tracking curve after correction.
2. a kind of zoom tracking curve apparatus for correcting, which is characterized in that described device includes:
Module is obtained, for obtaining the zoom tracking curve of camera lens to be corrected;The zoom tracking curve be user previously according to
The curve of the zoom position for meeting physical device and focal position that the actual conditions rough Statistics of camera lens go out;
Decimation blocks, for extracting multiple zoom positions of camera lens according to the zoom tracking curve;
Focusing module is focused in the zoom position extracted for controlling camera lens to be corrected, obtains the zoom position pair
The focal position answered;
Rectification module, for according in the zoom position extracted adjacent zoom position and the corresponding focusing of the zoom position
Position carries out segmentation correction to the zoom tracking curve;
The rectification module includes:
First acquisition unit, for obtaining adjacent two zoom positions and the corresponding focal position of the zoom position;
Unit is established, for establishing two adjacent zoom positions according to the zoom position and its corresponding focal position
The linear function between zoom position and focal position between setting;
Computing unit, for calculating the zoom position pair between two adjacent zoom positions according to the linear function
The focal position answered;
Wherein, the linear function using zoom position as independent variable, using focal position as dependent variable;
The decimation blocks specifically include:
Second acquisition unit, for obtaining preset sampling interval, the sampling interval is obtained by preset algorithm, described default
Algorithm is dependent variable as independent variable increases and reduced linear function, and the independent variable is the zoom position currently obtained, institute
Stating dependent variable is corresponding sampling interval of sampling next time;
Third acquiring unit, for obtaining multiple zoom positions according to the sampling interval according to the zoom tracking curve;
Described device further include:
Memory module for obtaining the zoom tracking curve after segmentation is corrected, and stores the zoom tracking curve after correction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270146.2A CN106303190B (en) | 2015-05-25 | 2015-05-25 | Zoom tracking curve antidote and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510270146.2A CN106303190B (en) | 2015-05-25 | 2015-05-25 | Zoom tracking curve antidote and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106303190A CN106303190A (en) | 2017-01-04 |
CN106303190B true CN106303190B (en) | 2019-08-30 |
Family
ID=57635223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510270146.2A Active CN106303190B (en) | 2015-05-25 | 2015-05-25 | Zoom tracking curve antidote and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303190B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108051804A (en) * | 2017-12-19 | 2018-05-18 | 山东神戎电子股份有限公司 | A kind of inter-linked controlling method of radar and optoelectronic device |
CN109525779B (en) * | 2018-12-19 | 2020-11-03 | 杭州晨安科技股份有限公司 | Quick correction and verification method for zoom tracking curve |
CN112630924B (en) * | 2020-11-30 | 2022-11-08 | 中山联合光电研究院有限公司 | Zoom curve correction method, device, storage medium and system |
CN114666504B (en) * | 2022-03-23 | 2024-03-26 | 普联技术有限公司 | Calibration method and device of zoom tracking curve and electronic equipment |
CN114900606B (en) * | 2022-03-31 | 2024-01-05 | 浙江华创视讯科技有限公司 | Calibration method and device for zoom tracking curve, electronic device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024276A (en) * | 2012-12-17 | 2013-04-03 | 沈阳聚德视频技术有限公司 | Positioning and focusing method of pan-tilt camera |
CN103546692A (en) * | 2013-11-04 | 2014-01-29 | 苏州科达科技股份有限公司 | Method and system achieving integrated camera automatic focusing |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6296698B2 (en) * | 2013-05-14 | 2018-03-20 | オリンパス株式会社 | Camera system and focus adjustment method |
CN103475820B (en) * | 2013-09-23 | 2016-05-18 | 苏州科达科技股份有限公司 | PI method for correcting position and system in a kind of video camera |
CN104301611B (en) * | 2014-10-14 | 2017-09-19 | 浙江宇视科技有限公司 | A kind of bearing calibration of zoom tracking curve and device |
-
2015
- 2015-05-25 CN CN201510270146.2A patent/CN106303190B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024276A (en) * | 2012-12-17 | 2013-04-03 | 沈阳聚德视频技术有限公司 | Positioning and focusing method of pan-tilt camera |
CN103546692A (en) * | 2013-11-04 | 2014-01-29 | 苏州科达科技股份有限公司 | Method and system achieving integrated camera automatic focusing |
Also Published As
Publication number | Publication date |
---|---|
CN106303190A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303190B (en) | Zoom tracking curve antidote and device | |
CN103246130B (en) | A kind of focusing method and device | |
CN103795934B (en) | A kind of image processing method and electronic equipment | |
JP2019186929A (en) | Method and device for controlling camera shooting, intelligent device, and storage medium | |
JP2019186931A (en) | Method and device for controlling camera shooting, intelligent device, and computer storage medium | |
CN110612721B (en) | Video processing method and terminal equipment | |
CN103595917A (en) | Mobile terminal and focusing method thereof | |
EP3125525A1 (en) | Method and system for enabling camera of mobile terminal to automatically adapt to scene | |
CN105578026A (en) | Photographing method and user terminal | |
CN104333700A (en) | Image blurring method and image blurring device | |
CN104253939A (en) | Focusing position adjusting method and electronic device | |
CN108337471B (en) | Video picture processing method and device | |
CN112449117B (en) | Focusing step length determining method and device, storage medium and electronic device | |
CN106896466A (en) | Automatic focusing method, device and projecting apparatus | |
WO2017128750A1 (en) | Image collection method and image collection device | |
CN105554387A (en) | Zoom tracking curve correction method and device | |
CN104767937A (en) | Photographing method | |
CN110336948B (en) | Method and device for focusing in preset area, storage medium and electronic device | |
CN108777765A (en) | Obtain the method, apparatus and electronic equipment of full clear image | |
CN105528112B (en) | A kind of camera shooting focus adjustment method, system and mobile terminal based on mobile terminal | |
CN108139564A (en) | Focusing control apparatus, photographic device, focusing control method and focusing control program | |
CN103873760A (en) | Focusing point adjusting method and electronic equipment | |
CN109996005A (en) | A kind of convergence correction method and device | |
CN103873759A (en) | Shooting method and electronic equipment | |
CN105320958A (en) | Image identification method and system based on position information |
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 |