CN105704381B - The zoom tracking and device of video camera - Google Patents
The zoom tracking and device of video camera Download PDFInfo
- Publication number
- CN105704381B CN105704381B CN201610149995.7A CN201610149995A CN105704381B CN 105704381 B CN105704381 B CN 105704381B CN 201610149995 A CN201610149995 A CN 201610149995A CN 105704381 B CN105704381 B CN 105704381B
- Authority
- CN
- China
- Prior art keywords
- point
- focusing
- curve
- motor
- zoom
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The present invention is suitable for security monitoring technology, provides the zoom tracking and device of video camera, comprising: after correct operation starting, the focusing information of p0 point is obtained in preset coordinate system;In Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and third curve is obtained based on first curve and second curve estimation;In zoom motor to during longest focal length end motion, the focusing information of e0 point, e1 point, e2 point is obtained by estimation;By bell curve be p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, and is acquired using least square method in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;Driving focusing motor is moved according to the aircraft pursuit course after the correction.Present invention reduces algorithm difficulty and uncertainties, and ensure that the tracking accuracy rate of protection and monitor field zoom tracking.
Description
Technical field
The invention belongs to security monitoring technology more particularly to the zoom trackings and device of video camera.
Background technique
With the popularization and application of safety defense monitoring system, to monitor camera zoom tracking (Zoom-Tracking) in system
The requirement of performance is also higher and higher, especially needs fast zoom in road monitoring to realize rapid candid photograph, therefore want using upper
The characteristics of asking zoom tracking performance to have quick and precisely.
In the prior art, in protection and monitor field, the zoom tracking of video camera is in Fourier Z Transform
(FZT) it is run on the basis of algorithm, however, FZT algorithm uses " ratio-product during calculating calibration step at present
Point-differential " (Proportion-Integral-Derivative, PID) model constantly to force real curve, but how really
Determining PID model parameter is a problem, is difficult to find optimal solution in actual application, causes existing FZT algorithm quasi- in tracking
Still have deficiency in true rate, can the zoom tracking performance to safety defense monitoring system bring a negative impact.
Summary of the invention
In view of this, the embodiment of the invention provides the zoom trackings and device of video camera, to solve the prior art
The low problem of the tracking accuracy rate that the use of middle FZT algorithm causes protection and monitor field zoom to track.
In a first aspect, providing a kind of zoom tracking of video camera, comprising:
After correct operation starting, the focusing information (Z of p0 point is obtained in preset coordinate systemp0, Fp0, FVp0), p0 point is used
In the initial focusing state for indicating video camera, the horizontal axis of the preset coordinate system indicates the movement position of zoom motor, longitudinal axis table
Show focusing motor movement position, then in the preset coordinate system any point i focusing information (Zi, Fi, FVi) for indicating
The movement position of zoom motor is Z at this pointi, the movement position for motor of focusing is Fi, focusing statistical value is FVi;
In Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and based on first curve and described the
Two curve estimations obtain third curve;
In zoom motor to during longest focal length end motion, by estimation obtain respectively with p0 point, p1 point, p2 point pair
The focusing information of the e0 point, e1 point, e2 point answered, wherein p1 point and p2 point are followed successively by zoom motor to longest focal length end motion
Two focusing states of video camera described in journey;
By bell curve be p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, and is asked using least square method
It obtains in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;
Driving focusing motor is moved according to the aircraft pursuit course after the correction.
Second aspect provides a kind of zoom tracking device of video camera, comprising:
Acquiring unit, for obtaining the focusing information (Z of p0 point in preset coordinate system after correct operation startingp0,
Fp0, FVp0), p0 point is used to indicate the initial focusing state of video camera, and the horizontal axis of the preset coordinate system indicates zoom motor
Movement position, the longitudinal axis indicate focusing motor movement position, then in the preset coordinate system any point i focusing information (Zi,
Fi, FVi) for indicating the movement position of zoom motor at this point for Zi, the movement position for motor of focusing is Fi, focusing statistics
Value is FVi;
First evaluation unit, in Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and based on described
First curve and second curve estimation obtain third curve;
Second evaluation unit, for, to during longest focal length end motion, being distinguished by estimation in zoom motor
The focusing information of e0 point corresponding with p0 point, p1 point, p2 point, e1 point, e2 point, wherein p1 point and p2 point are followed successively by zoom motor
Two focusing states of the video camera during to longest focal length end motion;
Third evaluation unit, for being that p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled by bell curve,
It is acquired using least square method in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;
Driving unit, for driving focusing motor to move according to the aircraft pursuit course after the correction.
In embodiments of the present invention, when carrying out the algorithm process of zoom tracking, multiple spot curve fitting algorithm is introduced
To focusing motor aircraft pursuit course be corrected, compared to PID model, the scheme of the embodiment of the present invention reduce algorithm difficulty and
Uncertainty, and ensure that the tracking accuracy rate of protection and monitor field zoom tracking.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the schematic diagram of preset coordinate system provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of the zoom tracking of video camera provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of the zoom tracking S203 of video camera provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides video camera zoom tracking implementation flow chart;
Fig. 5 is the structural block diagram of the zoom tracking device of video camera provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details understands the embodiment of the present invention to cut thoroughly.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In embodiments of the present invention, after correct operation starts, the focusing information of p0 point is obtained in preset coordinate system
(Zp0, Fp0, FVp0), p0 point is used to indicate the initial focusing state of video camera, and the horizontal axis of the preset coordinate system indicates zoom electricity
The movement position of machine, the longitudinal axis indicate focusing motor movement position, then in the preset coordinate system any point i focusing information
(Zi, Fi, FVi) for indicating the movement position of zoom motor at this point for Zi, the movement position for motor of focusing is Fi, focusing system
Evaluation is FVi;In Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and based on first curve and described the
Two curve estimations obtain third curve;In zoom motor to during longest focal length end motion, it is based on the third curve, is led to
It crosses estimation and obtains the focusing information of e0 point corresponding with p0 point, p1 point, p2 point, e1 point, e2 point respectively, wherein p1 point and p2 point
It is followed successively by two focusing states of the zoom motor to the video camera during longest focal length end motion;It is p0 by bell curve
Point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, and are acquired using least square method in Zp1The peak of upper FV, is estimated
Aircraft pursuit course after to correction;Driving focusing motor is moved according to the aircraft pursuit course after the correction.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Preset coordinate system is as shown in Figure 1, the abscissa line in figure indicates that the movement position of zoom motor, the coordinate longitudinal axis indicate
The movement position of focusing motor, abscissa 1 indicate shortest focal length (WIDE) end of zoom motor movement, and abscissa 1249 indicates change
The longest focal length (TELE) of burnt motor movement is held, and assumes that zoom motor is towards TELE end motion.Preset coordinate shown in Fig. 1
In system, tetra- points of p0, p1, p2, p3 are identified from left to right, the focusing information (Z of any point i in the preset coordinate systemi, Fi,
FVi) for indicating the movement position of zoom motor at this point for Zi, the movement position for motor of focusing is Fi, statistical value of focusing
For FVi.By taking p0 point as an example, p0 point is used to indicate the initial focusing state of video camera in safety defense monitoring system, the focusing letter of the point
Breath is expressed as (Zp0, Fp0, FVp0), the information indicate physical significance be described as follows: on curve at p0 point zoom motor movement
Position is Zp0, the movement position for motor of focusing is Fp0, the focusing statistical value at p0 point is FVp0, then being readily apparent that, it is based on phase
Same physical significance description, the focusing information of p1 point are expressed as (Zp1, Fp1, FVp1), the focusing information of p2 point is expressed as (Zp2,
Fp2, FVp2), the focusing information of p3 point is expressed as (Zp3, Fp3, FVp3).Based on preset coordinate system shown in FIG. 1, Fig. 2 shows this
The implementation process of the zoom tracking for the video camera that inventive embodiments provide, details are as follows:
In S201, after correct operation starting, the focusing information (Z of p0 point is obtained in preset coordinate systemp0, Fp0,
FVp0), p0 point is used to indicate the initial focusing state of video camera.
In embodiments of the present invention, it sets under initial focusing state, scene captured by monitoring camera is that focusing is clear
's.
In S202, in Zp0Upper acquisition distance Fp0Nearest the first curve (Lower Curve) and the second curve (Upper
Curve) (camera lens manufacturer, which provides, can provide N group curve, and present example is according to Zp0It finds in N suite the position of place's focus motor
Immediate two groups of curves in line, small object distance are denoted as Upper Curve, and big object distance is denoted as Lower Curve), and be based on
First curve and second curve estimation obtain third curve (Estimated Curve).
Since camera lens manufacturer can provide N group curve, in embodiments of the present invention, in the N suite that camera lens manufacturer provides
In line, according to Zp0It finds closest to F the position of place's focusing motorp0Two groups of curves.And geometry zoom can be used in third curve
Tracking (Geometric Zoom Tracking, GZT) method is estimated to obtain.
In order to be better described, preset coordinate shown in Fig. 1 is fastened, and four curves from top to bottom are the second song respectively
Aircraft pursuit course and the first curve after line, third curve, correction.
In S203, in zoom motor to during TELE end motion, by estimation obtain respectively with p0 point, p1 point,
The focusing information of the corresponding e0 point of p2 point, e1 point, e2 point, wherein p1 point and p2 point are followed successively by zoom motor to longest focal length end
Two focusing states of video camera described in motion process.
As zoom motor is to TELE end motion, the evaluated error of third curve can be gradually increased, if without corresponding
Correction mechanism, image can be gradually deviated from focus, therefore, in order to reduce evaluated error, need to focusing motor the direction of motion and
Estimated track is modified.Here, set since initial focusing state p0 point, it is subsequent with motor movement, focusing state
Successively indicated by p1 point and p2 point.
In embodiments of the present invention, the estimation process of S203 is specifically as shown in Figure 3:
In S301, the focusing statistical value FV of p0 point, p1 point, p2 point is obtained respectivelyp0、FVp1、FVp2。
Wherein, FV is the value of focus degree under current scene, usually by image signal process (Image Signal
Processing, ISP) chip offer.
Amount of image information based on adjacent two frame has 80% similar theory, when zoom rate is less than a certain range, recognizes
Photographed scene for monitoring camera corresponding to p0 point, p1 point, p2 point be it is similar, therefore, followed by estimation operator
Estimation obtains the focusing information (Z of these three points of e0, e1, e2p1, Fe0, FVe0)、(Zp1, Fe1, FVe1)、(Zp1, Fe2, FVe2).Specifically
Ground:
In S302, the focusing information of e1 point is estimated, comprising: enable focusing information phase of the focusing information of e1 point with p1 point
Together.
In S303, if the maximum zoom step-length of zoom motor is Zmax, Zp0To Zp1Between step-length be denoted as Z01, Zp1It arrives
Zp2Between step-length be denoted as Z12, then FV is calculatede0=FVp1*(1-0.2*Z01/Zmax), FVe2=FVp2*(1+0.2*Z12/Zmax)。
In S304, by Fe0The third curve is estimated as in Zp1On focusing motor movement position, Fe2 is estimated
It is first curve in Zp1On focusing motor movement position, thus get e0, e1, e2 these three point focusing information
(Zp1, Fe0, FVe0)、(Zp1, Fe1, FVe1)、(Zp1, Fe2, FVe2)。
In S204, by bell curve be p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, using minimum
Square law is acquired in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected.
Wherein, the formula of bell curve isWherein c1, k be constant, x0For pair for articulation point of focusing
Burnt motor position, FV are focusing statistical value of the focus motor at x) by S204, it can successfully be estimated around PID model
The calibration step of focusing motor.
In S205, driving focusing motor is moved according to the aircraft pursuit course after the correction.
In embodiments of the present invention, when carrying out the algorithm process of zoom tracking, multiple spot curve fitting algorithm is introduced
To focusing motor aircraft pursuit course be corrected, compared to PID model, the scheme of the embodiment of the present invention reduce algorithm difficulty and
Uncertainty, and ensure that the tracking accuracy rate of protection and monitor field zoom tracking.
Due in traditional FZT algorithm, being to fix correction mechanism of triggering according to isometric concept, that is, work as zoom
A correction mechanism is triggered when motor movement distance reaches the condition of setting, it is clear that this mechanism will lead to correction not in time or
Person is to correct excessively frequent problem, causes correction failure or video not smooth.Therefore, further, implement in the present invention
In example, a curvature correction is just triggered when image starts and occurs slight fuzzy, has abandoned fixed step size in the prior art
Correction mechanism, reduce error in time.Specifically, as shown in figure 4, before S201, the method also includes:
S206 detects the fuzziness for the image that the video camera current shooting arrives by fuzziness Statistical Operator.
S207 starts the correct operation when the fuzziness is greater than preset threshold.
Detect whether current image obscures by fuzziness Statistical Operator, wherein preset threshold can basis
The characteristic of different product determines, and it is possible to further the ratio between low-and high-frequency value for using focusing evaluation function as fuzziness
The foundation of evaluation can intuitively know high fdrequency component contained by present image is how many by the ratio, so as to judge
The fog-level of image.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Corresponding to the zoom tracking of video camera described in foregoing embodiments, Fig. 5 shows offer of the embodiment of the present invention
Video camera zoom tracking device structural block diagram, the zoom tracking device of the video camera, which can be, is built in monitoring camera
The unit of software unit, hardware cell either soft or hard combination in machine or safety defense monitoring system.For ease of description, it only shows
Part related to the present embodiment.
Referring to Fig. 5, which includes:
Acquiring unit 51 obtains the focusing information (Z of p0 point after correct operation starting in preset coordinate systemp0, Fp0,
FVp0), p0 point is used to indicate the initial focusing state of video camera, and the horizontal axis of the preset coordinate system indicates the movement of zoom motor
Position, the longitudinal axis indicate focusing motor movement position, then in the preset coordinate system any point i focusing information (Zi, Fi,
FVi) for indicating the movement position of zoom motor at this point for Zi, the movement position for motor of focusing is Fi, focusing statistical value be
FVi;
First evaluation unit 52, in Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and based on described the
One curve and second curve estimation obtain third curve;
Second evaluation unit 53, in zoom motor to during longest focal length end motion, by estimation obtain respectively with
The focusing information of the corresponding e0 point of p0 point, p1 point, p2 point, e1 point, e2 point, wherein p1 point and p2 point be followed successively by zoom motor to
Two focusing states of the video camera during longest focal length end motion;
Third evaluation unit 54, by bell curve be p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, and is adopted
It is acquired with least square method in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;
Driving unit 55, driving focusing motor are moved according to the aircraft pursuit course after the correction.
Optionally, second evaluation unit 53 includes:
First subelement obtains the focusing statistical value FV of p0 point, p1 point, p2 point respectivelyp0、FVp1、FVp2;
Second subelement estimates the focusing information of e1 point, comprising: enable focusing information phase of the focusing information of e1 point with p1 point
Together;
Third subelement, if maximum zoom step-length is Zmax, Zp0To Zp1Between step-length be denoted as Z01, Zp1To Zp2Between
Step-length be denoted as Z12, then FV is calculatede0=FVp1*(1-0.2*Z01/Zmax), FVe2=FVp2*(1+0.2*Z12/Zmax);
4th subelement, by Fe0The third curve is estimated as in Zp1On focusing motor movement position, Fe2 is estimated
Calculate is first curve in Zp1On focusing motor movement position, thus get e0, e1, e2 these three point focusings letter
Cease (Zp1, Fe0, FVe0)、(Zp1, Fe1, FVe1)、(Zp1, Fe2, FVe2)。
Optionally, the first estimation subelement 52 is specifically used for:
According to geometric interpolation, the third curve is obtained based on first curve and second curve estimation.
Optionally, described device further include:
Detection unit detects the fuzziness for the image that the video camera current shooting arrives by fuzziness Statistical Operator;
Start unit starts the correct operation when the fuzziness is greater than preset threshold.
Optionally, use the ratio between low-and high-frequency value of focusing evaluation function as the foundation of ambiguity evaluation.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
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.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication 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.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words
Form embody, which is stored in a storage medium, including some instructions use so that one
Computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute this hair
The all or part of the steps of bright each embodiment the method for embodiment.And storage medium above-mentioned include: USB flash disk, mobile hard disk,
Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
The various media that can store program code such as dish or CD.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and model of each embodiment technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution
It encloses.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (8)
1. a kind of zoom tracking of video camera characterized by comprising
After correct operation starting, the focusing information (Z of p0 point is obtained in preset coordinate systemp0, Fp0, FVp0), p0 point is used for table
Show the initial focusing state of video camera, the horizontal axis of the preset coordinate system indicates the movement position of zoom motor, longitudinal axis expression pair
The movement position of burnt motor, then in the preset coordinate system any point i focusing information (Zi, Fi, FVi) for indicating at this
The movement position of zoom motor is Z at pointi, the movement position for motor of focusing is Fi, focusing statistical value is FVi;
In Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and it is based on first curve and second curve
Estimation obtains third curve;
In zoom motor to during longest focal length end motion, obtained by estimation corresponding with p0 point, p1 point, p2 point respectively
The focusing information of e0 point, e1 point, e2 point, wherein p1 point and p2 point are followed successively by zoom motor to during longest focal length end motion
Two focusing states of the video camera;
By bell curve be p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled, and is acquired using least square method
Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;
Driving focusing motor is moved according to the aircraft pursuit course after the correction;
Wherein, described that the focusing packet of e0 point corresponding with p0 point, p1 point, p2 point, e1 point, e2 point respectively is obtained by estimation
It includes:
The focusing statistical value FV of p0 point, p1 point, p2 point is obtained respectivelyp0、FVp1、FVp2;
Estimate the focusing information of e1 point, comprising: enable the focusing information of e1 point identical as the focusing information of p1 point;
If maximum zoom step-length is Zmax, Zp0To Zp1Between step-length be denoted as Z01, Zp1To Zp2Between step-length be denoted as Z12, then
Calculate FVe0=FVp1*(1-0.2*Z01/Zmax), FVe2=FVp2*(1+0.2*Z12/Zmax);
By Fe0The third curve is estimated as in Zp1On focusing motor movement position, Fe2 is estimated as first curve
In Zp1On focusing motor movement position, thus get e0, e1, e2 these three point focusing information (Zp1, Fe0, FVe0)、
(Zp1, Fe1, FVe1)、(Zp1, Fe2, FVe2)。
2. the method as described in claim 1, which is characterized in that described to be based on first curve and second curve estimation
Obtaining third curve includes:
According to geometric interpolation, the third curve is obtained based on first curve and second curve estimation.
3. such as the described in any item methods of claim 1 to 2, which is characterized in that the method also includes:
The fuzziness for the image that the video camera current shooting arrives is detected by fuzziness Statistical Operator;
When the fuzziness is greater than preset threshold, start the correct operation.
4. method as claimed in claim 3, which is characterized in that use the ratio between low-and high-frequency value of focusing evaluation function as fuzzy
Spend the foundation of evaluation.
5. a kind of zoom tracking device of video camera characterized by comprising
Acquiring unit, for obtaining the focusing information (Z of p0 point in preset coordinate system after correct operation startingp0, Fp0,
FVp0), p0 point is used to indicate the initial focusing state of video camera, and the horizontal axis of the preset coordinate system indicates the movement of zoom motor
Position, the longitudinal axis indicate focusing motor movement position, then in the preset coordinate system any point i focusing information (Zi, Fi,
FVi) for indicating the movement position of zoom motor at this point for Zi, the movement position for motor of focusing is Fi, focusing statistical value be
FVi;
First evaluation unit, in Zp0Upper acquisition distance Fp0Nearest the first curve and the second curve, and it is based on described first
Curve and second curve estimation obtain third curve;
Second evaluation unit, in zoom motor to during longest focal length end motion, by estimation obtain respectively with p0
The focusing information of the corresponding e0 point of point, p1 point, p2 point, e1 point, e2 point, wherein p1 point and p2 point are followed successively by zoom motor to most
Two focusing states of video camera described in long focal length extremity motion process;
Third evaluation unit is used for being that p0 point, p1 point, p2 point, e0 point, e1 point, e2 point are modeled by bell curve
Least square method is acquired in Zp1The peak of upper FV estimates the aircraft pursuit course after being corrected;
Driving unit, for driving focusing motor to move according to the aircraft pursuit course after the correction;
Wherein, second evaluation unit includes:
First subelement, for obtaining the focusing statistical value FV of p0 point, p1 point, p2 point respectivelyp0、FVp1、FVp2;
Second subelement, for estimating the focusing information of e1 point, comprising: enable focusing information phase of the focusing information of e1 point with p1 point
Together;
Third subelement, for setting maximum zoom step-length as Zmax, Zp0To Zp1Between step-length be denoted as Z01, Zp1To Zp2Between
Step-length is denoted as Z12, then FV is calculatede0=FVp1*(1-0.2*Z01/Zmax), FVe2=FVp2*(1+0.2*Z12/Zmax);
4th subelement is used for Fe0The third curve is estimated as in Zp1On focusing motor movement position, Fe2 is estimated
It is first curve in Zp1On focusing motor movement position, thus get e0, e1, e2 these three point focusing information
(Zp1, Fe0, FVe0)、(Zp1, Fe1, FVe1)、(Zp1, Fe2, FVe2)。
6. device as claimed in claim 5, which is characterized in that the first estimation subelement is specifically used for:
According to geometric interpolation, the third curve is obtained based on first curve and second curve estimation.
7. such as the described in any item devices of claim 5 to 6, which is characterized in that described device further include:
Detection unit, for detecting the fuzziness for the image that the video camera current shooting arrives by fuzziness Statistical Operator;
Start unit, for starting the correct operation when the fuzziness is greater than preset threshold.
8. device as claimed in claim 7, which is characterized in that use the ratio between low-and high-frequency value of focusing evaluation function as fuzzy
Spend the foundation of evaluation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610149995.7A CN105704381B (en) | 2016-03-16 | 2016-03-16 | The zoom tracking and device of video camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610149995.7A CN105704381B (en) | 2016-03-16 | 2016-03-16 | The zoom tracking and device of video camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105704381A CN105704381A (en) | 2016-06-22 |
CN105704381B true CN105704381B (en) | 2019-02-05 |
Family
ID=56220667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610149995.7A Active CN105704381B (en) | 2016-03-16 | 2016-03-16 | The zoom tracking and device of video camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105704381B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112135055B (en) * | 2020-09-27 | 2022-03-15 | 苏州科达科技股份有限公司 | Zoom tracking method, device, equipment and storage medium |
CN114245008B (en) * | 2021-12-07 | 2024-02-20 | 天地伟业技术有限公司 | Focusing method, focusing device, electronic equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938827A (en) * | 2012-11-29 | 2013-02-20 | 深圳英飞拓科技股份有限公司 | Stratified monitoring command system and cross-camera virtual tracking method |
CN104301611A (en) * | 2014-10-14 | 2015-01-21 | 浙江宇视科技有限公司 | Method and device for correcting zoom tracking curve |
CN104836954A (en) * | 2015-04-23 | 2015-08-12 | 金三立视频科技(深圳)有限公司 | Zooming tracking method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI393984B (en) * | 2009-09-09 | 2013-04-21 | Altek Corp | Fast focus method for digital cameras |
-
2016
- 2016-03-16 CN CN201610149995.7A patent/CN105704381B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938827A (en) * | 2012-11-29 | 2013-02-20 | 深圳英飞拓科技股份有限公司 | Stratified monitoring command system and cross-camera virtual tracking method |
CN104301611A (en) * | 2014-10-14 | 2015-01-21 | 浙江宇视科技有限公司 | Method and device for correcting zoom tracking curve |
CN104836954A (en) * | 2015-04-23 | 2015-08-12 | 金三立视频科技(深圳)有限公司 | Zooming tracking method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105704381A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101271333B (en) | Localization method for a moving robot | |
US10061182B2 (en) | Systems and methods for autofocus trigger | |
CN103546692A (en) | Method and system achieving integrated camera automatic focusing | |
CN105654512A (en) | Target tracking method and device | |
CN110278382B (en) | Focusing method, device, electronic equipment and storage medium | |
CN103595920A (en) | Image collection equipment and auxiliary focusing method and device in zooming process | |
CN104333748A (en) | Method, device and terminal for obtaining image main object | |
CN105007426A (en) | Focusing method and focusing system based on face recognition | |
CN103728813A (en) | Method for synchronizing focusing operation and zooming operation | |
CN105472250A (en) | Automatic focusing method and device | |
CN112653835B (en) | Method and device for judging focusing state and storage medium | |
CN107851301B (en) | System and method for selecting image transformations | |
CN105704381B (en) | The zoom tracking and device of video camera | |
US20140132822A1 (en) | Multi-resolution depth-from-defocus-based autofocus | |
CN110458888A (en) | Distance measuring method, device, storage medium and electronic equipment based on image | |
WO2015057410A1 (en) | Z-axis determination in a 2d gesture system | |
CN108803659B (en) | Multi-window heuristic three-dimensional space path planning method based on magic cube model | |
WO2023005789A1 (en) | Temperature treatment method and apparatus | |
CN109996005B (en) | Focus correction method and device | |
CN110505398A (en) | A kind of image processing method, device, electronic equipment and storage medium | |
CN110336948A (en) | A kind of method, apparatus, storage medium and electronic device that presumptive area focuses | |
CN104601883B (en) | A kind of method and device of image taking | |
CN107592464B (en) | Zoom follows the switching method and device of curve during a kind of zoom | |
CN111652907B (en) | Multi-target tracking method and device based on data association and electronic equipment | |
CN115953813B (en) | Expression driving method, device, equipment and storage medium |
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 |