CN103841333A - Preset bit method and control system - Google Patents

Preset bit method and control system Download PDF

Info

Publication number
CN103841333A
CN103841333A CN201410118637.0A CN201410118637A CN103841333A CN 103841333 A CN103841333 A CN 103841333A CN 201410118637 A CN201410118637 A CN 201410118637A CN 103841333 A CN103841333 A CN 103841333A
Authority
CN
China
Prior art keywords
presetting bit
wire size
value
focus
module
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.)
Granted
Application number
CN201410118637.0A
Other languages
Chinese (zh)
Other versions
CN103841333B (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.)
Chengdu Ruitong Video Technology Co., Ltd
Original Assignee
CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY Co Ltd filed Critical CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN201410118637.0A priority Critical patent/CN103841333B/en
Publication of CN103841333A publication Critical patent/CN103841333A/en
Application granted granted Critical
Publication of CN103841333B publication Critical patent/CN103841333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a preset bit method and a control system. The preset bit method comprises the steps of preset bit setting and preset bit calling. According to the step of preset bit setting, current wire numbers are determined mainly according to the current direction information and magnification times of a dome camera, and the direction information and the wire numbers are stored. According to the step of preset bit calling, the wire numbers are searched for according to the current direct information of the dome camera, the current focal length is determined according to the magnification times sent to a camera by the dome camera, and therefore preset bit calling can be carried out fast and accurately.

Description

A kind of presetting bit method and control system
Technical field
The present invention relates to video camera and field of video monitoring, specifically refer to a kind of presetting bit method and control system.
Background technology
The operation conditions of the key area being monitored and ball machine need to be linked together in protection and monitor field, need in back-end controller, arrange and store multiple specifically monitored regional locations, in the time that needs are monitored these regions, controller will call above-mentioned certain presetting bit setting by transmission order.And this presetting bit setting and method of calling, conventionally need in the time that presetting bit arranges, store ball machine directional information, Zoom(multiplication factor simultaneously) and Focus(gathering), and when calling only under these specific Zoom, could carry out fast and accurately presetting bit calls, in the time that arranging, presetting bit stores like this data volume large, but information is less, in the time that presetting bit is called, need accurately location of specific Z oom.
Summary of the invention
The object of the present invention is to provide a kind of presetting bit method and control system, solve the problem that can accurately carry out accurate presetting bit under the different Zoom of ball machine any direction.
Object of the present invention realizes by following technical method:
A kind of presetting bit method, comprises the following steps: presetting bit setting steps and presetting bit invocation step,
Presetting bit setting steps comprises following steps:
(A1), after system initialization, intended target is aimed in camera review center,
(A2) send out multiplication factor Zoom value under golf emitter directional information and given range to all-in-one, directional information comprises ball machine level angle and ball machine vertical angle,
(A3) all-in-one is under this Zoom value, utilizes focusing automatically to make image object clear and obtain current Focus value,
(A4) utilize current Zoom value and Focus value, according to the wire size that calculates current preset point in online number storehouse by linear interpolation method, wire size comprises Zoom value and Focus value corresponding under current directional information,
(A5) store current directional information and wire size,
(A6), according to the number in preset site, repeat (A1) step to (A5) step, the wire size formation presetting bit information table of storing directional information corresponding to all presetting bits set-point and calculating;
Presetting bit invocation step comprises following steps:
(B1), after system initialization, intended target is aimed in camera review center,
(B2) send out golf emitter directional information and arbitrary multiplication factor Zoom value to all-in-one,
(B3) when inquiry presetting bit arranges, whether directional information and the wire size of storage, there is current correspondence direction information,
(B4) if (B3) can inquire corresponding directional information, directly find out current wire size,
(B5) if (B3) can not inquire corresponding directional information, search and calculate wire size by the method for interpolation calculation,
(B6), after the wire size by (B4) or (B5) obtaining, the multiplication factor Zoom value according to wire size and (B1) is calculated corresponding Focus value, thereby obtains fast picture rich in detail,
(B7) according to specifying presetting bit to call number, repeat (B1) step to (B6) step.
Presetting bit arranges: according to the multiplication factor Zoom in ball machine directional information and given range, set current wire size.
Presetting bit is called: the ball machine directional information receiving according to all-in-one and current arbitrary multiplication factor, search the wire size of current correspondence according to correlation technique.
Specifically: aim at when intended target when camera review center, obtain directional information according to ball machine control appliance to ball machine, and Zoom value under given range, directional information comprises ball machine level angle and vertical angle.All-in-one movement, under this Zoom value, utilizes automatically focusing to make image object clear and obtain current Focus value, then utilizes current Zoom value and Focus value to calculate the wire size of current preset point according to database.Wire size is now Zoom value and the Focus value under present level angle and vertical angle, because the Focus value of the difference correspondence of Zoom value is also different, and therefore corresponding multiple corresponding Zoom value and the Focus values of shining upon one by one of this wire size information.
Described presetting bit setting need to be stored all presetting bits set-point corresponding ball machine level angle, vertical angle and the wire size calculating.
Described presetting bit is called and is included in given ball machine level, vertical angle and Zoom value, while setting according to described presetting bit, the ball machine angle information of storage and the relation of wire size are obtained current wire size, and calculate corresponding Focus value according to Zoom value and the wire size that finds, make all-in-one can clearly aim at presetting bit point of invocation.Therefore the present invention does not need to store Focus value, and Zoom value while calling can be also any Zoom value.
As can be seen from above, the present invention utilizes Zoom value and Focus value curved line relation to draw wire size, utilize the mode of storage wire size to change the mode of conventional store Zoom value and Focus value, so only need to call wire size and arbitrary Zoom value can realize the clear of image and call, therefore multiplication factor when multiplication factor when described presetting bit is called and presetting bit arrange is without any relation, the constraint of multiplication factor while not arranged by presetting bit can be any multiplication factor.
When described presetting bit is called, in storage list, differ and find surely all ball machine angle informations, therefore, need to adopt the method for interpolation calculation to search and calculate wire size, interpolation method, for adopting this ball machine direction level angle and vertical angle in immediate wire size, calculates more accurate wire size now by the method for linear interpolation.
Zoom value scope in described (A2) is .
Presetting bit information table comprises wire size data and ball machine level angle data and ball machine vertical angle data.
(B5) in by the method for interpolation calculation search and calculate wire size adopt formula be:
Figure 696102DEST_PATH_IMAGE002
Wherein,
Figure 675560DEST_PATH_IMAGE004
x,yrepresent wire size,
Figure 2014101186370100002DEST_PATH_IMAGE005
with
Figure 330663DEST_PATH_IMAGE006
respectively horizontal and vertical interpolation coefficient,
Figure 37457DEST_PATH_IMAGE005
it is basis arrive
Figure 914146DEST_PATH_IMAGE008
with
Figure 2014101186370100002DEST_PATH_IMAGE009
between distance decide,
Figure 611975DEST_PATH_IMAGE006
it is basis
Figure 190592DEST_PATH_IMAGE010
arrive
Figure 2014101186370100002DEST_PATH_IMAGE011
with
Figure 451809DEST_PATH_IMAGE012
between distance decide, specific as follows:
Described computing formula all realizes by fixed-point processing in processor the inside,
Figure 301003DEST_PATH_IMAGE005
with
Figure 117649DEST_PATH_IMAGE006
all to be normalized to 128 or 256,
Figure 854661DEST_PATH_IMAGE007
,
Figure 191095DEST_PATH_IMAGE008
,
Figure 683257DEST_PATH_IMAGE009
all represent level angle
Figure 2014101186370100002DEST_PATH_IMAGE015
,
Figure 298783DEST_PATH_IMAGE010
,
Figure 386956DEST_PATH_IMAGE011
,
Figure 92744DEST_PATH_IMAGE012
all represent vertical angle
Figure 739495DEST_PATH_IMAGE016
.
The corresponding wire size of a directional information of ball machine level angle data and a ball machine vertical angle data composition, corresponding multiple multiplication factor Zoom value of wire size and the Focus value under corresponding multiplication factor Zoom value.
Obtaining current Focus value is to go to calculate current Focus value according to directional information and multiplication factor Zoom value, and its computational methods are to make target image clear under the Zoom of given range value, record Focus value now.
The control system generating according to described presetting bit method,
Comprise the ball machine control appliance that can send to ball machine order,
Comprise the command analysis module of energy resolve command head,
Comprise the Focus computing module that can calculate Focus value,
Comprise that the presetting bit that can calculate wire size arranges wire size computing module,
Comprise the preset information memory module that can store level angle, vertical angle, wire size,
Comprise that the presetting bit that can call wire size calls wire size module,
Comprise and can call Focus computing module according to the presetting bit of wire size and multiplication factor Zoom value calculating Focus value,
Comprise the locating module that can position according to Focus value and Zoom value,
Also comprise the motor control module of moving according to Focus value and Zoom value,
The command format that ball machine control appliance sends is defined as follows:
Comprise 2 byte command heads, the multiplication factor Zoom value of 2 bytes, the ball machine level angle of 2 bytes and 1 byte vertical angle, it is that presetting bit setting or presetting bit are called that command header is determined.
Command analysis module analyzes presetting bit setting according to the command header of presetting bit order or presetting bit is called.
When command analysis module is that presetting bit is while arranging according to command header analysis, mentioned order is transferred in Focus computing module, Focus computing module goes to calculate current Focus value according to the level angle in order and vertical angle and multiplication factor Zoom value, draw after Focus value, by Focus computing module by data [Zoom, Focus] send to presetting bit that wire size computing module is set, presetting bit arranges wire size computing module according to current data [Zoom, Focus] in number storehouse, calculate current wire size by linear interpolation method online, finally, present level angle, vertical angle and wire size are stored in preset information memory module,
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired the wire size corresponding with present level angle and vertical angle according to the level angle in order with vertical angle, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired about less than the wire size corresponding with present level angle and vertical angle with vertical angle according to the level angle in order, search and calculate current wire size by the method for interpolation calculation, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
Multiplication factor Zoom value when presetting bit arranges, must meet in given range, and multiplication factor Zoom value when presetting bit is called can be any multiplication factor.
Because the present invention has adopted presetting bit method described above, presetting bit precision and efficiency are improved greatly.Therefore,, compared with background technology method, tool of the present invention has the following advantages:
1, can preset larger amount of information, can call the presetting bit under any multiple under this angle of ball machine;
2, Zoom value when Zoom value when presetting bit is called and presetting bit arrange is irrelevant, can be any Zoom value;
3, be convenient to from motion tracking, when Zoom value can realize from motion tracking to timing;
4, according to special scenes, carry out angle presetting bit setting and tracking, when angle changes, by controller, the change information of ball machine is sent to all-in-one, provide angle and Zoom value prediction value, can greatly improve speed and flatness that presetting bit is followed the tracks of.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of presetting bit method of providing of the embodiment of the present invention;
Fig. 2 is the particular flow sheet of a kind of presetting bit method of providing of the embodiment of the present invention;
Fig. 3 is that in a kind of presetting bit method of providing of the embodiment of the present invention, interpolation is searched the schematic diagram of wire size;
Fig. 4 is the structural representation of a kind of presetting bit system of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Embodiment 1:
As Fig. 1,
Fig. 1 has provided the structured flowchart of the embodiment of presetting bit method of the present invention, specifically comprise that presetting bit setting and presetting bit call, it is mainly to determine current wire size according to the current directional information of ball machine and multiplication factor that presetting bit arranges, and directional information and wire size are stored, and presetting bit to call be to search wire size according to the current directional information of ball machine, and according to ball machine send to video camera multiplication factor determine work as front focal length, call thereby carry out presetting bit quickly and accurately.
As Fig. 2,
A kind of presetting bit method, comprises the following steps: presetting bit setting steps and presetting bit invocation step,
As the flow process of a-quadrant in Fig. 2, presetting bit setting steps comprises following steps:
(A1), after system initialization, intended target is aimed in camera review center,
(A2) send out multiplication factor Zoom value under golf emitter directional information and given range to all-in-one, directional information comprises ball machine level angle and ball machine vertical angle,
(A3) all-in-one is under this Zoom value, utilizes focusing automatically to make image object clear and obtain current Focus value,
(A4) utilize current Zoom value and Focus value, according to the wire size that calculates current preset point in online number storehouse by linear interpolation method, wire size comprises Zoom value and Focus value corresponding under current directional information,
(A5) store current directional information and wire size,
(A6), according to the number in preset site, repeat (A1) step to (A5) step, the wire size formation presetting bit information table of storing directional information corresponding to all presetting bits set-point and calculating; Hypothesis has N preset site like this, and so, will store a length is N, and has ball machine level angle and ball machine vertical angle, these three element data presetting bit information tables of wire size.
As the flow process in B region in Fig. 2, presetting bit invocation step comprises following steps:
(B1), after system initialization, intended target is aimed in camera review center,
(B2) send out golf emitter directional information and arbitrary multiplication factor Zoom value to all-in-one,
(B3) when inquiry presetting bit arranges, whether directional information and the wire size of storage, there is current correspondence direction information,
(B4) if (B3) can inquire corresponding directional information, directly find out current wire size,
(B5) if (B3) can not inquire corresponding directional information, search and calculate wire size by the method for interpolation calculation,
(B6), after the wire size by (B4) or (B5) obtaining, the multiplication factor Zoom value according to wire size and (B1) is calculated corresponding Focus value, thereby obtains fast picture rich in detail,
(B7) according to specifying presetting bit to call number, repeat (B1) step to (B6) step.
Presetting bit arranges: according to the multiplication factor Zoom in ball machine directional information and given range, set current wire size.
Presetting bit is called: the ball machine directional information receiving according to all-in-one and current arbitrary multiplication factor, search the wire size of current correspondence according to correlation technique.
Specifically: aim at when intended target when camera review center, obtain directional information according to ball machine control appliance to ball machine, and Zoom value under given range, directional information comprises ball machine level angle and vertical angle.All-in-one movement, under this Zoom value, utilizes automatically focusing to make image object clear and obtain current Focus value, then utilizes current Zoom value and Focus value to calculate the wire size of current preset point according to database.Wire size is now Zoom value and the Focus value under present level angle and vertical angle, because the Focus value of the difference correspondence of Zoom value is also different, and therefore corresponding multiple corresponding Zoom value and the Focus values of shining upon one by one of this wire size information.
Described presetting bit setting need to be stored all presetting bits set-point corresponding ball machine level angle, vertical angle and the wire size calculating.
Described presetting bit is called and is included in given ball machine level, vertical angle and Zoom value, while setting according to described presetting bit, the ball machine angle information of storage and the relation of wire size are obtained current wire size, and calculate corresponding Focus value according to Zoom value and the wire size that finds, make all-in-one can clearly aim at presetting bit point of invocation.Therefore the present invention does not need to store Focus value, and Zoom value while calling can be also any Zoom value.
As can be seen from above, the present invention utilizes Zoom value and Focus value curved line relation to draw wire size, utilize the mode of storage wire size to change the mode of conventional store Zoom value and Focus value, so only need to call wire size and arbitrary Zoom value can realize the clear of image and call, therefore multiplication factor when multiplication factor when described presetting bit is called and presetting bit arrange is without any relation, the constraint of multiplication factor while not arranged by presetting bit can be any multiplication factor.
When described presetting bit is called, in storage list, differ and find surely all ball machine angle informations, therefore, need to adopt the method for interpolation calculation to search and calculate wire size, interpolation method, for adopting this ball machine direction level angle and vertical angle in immediate wire size, calculates more accurate wire size now by the method for linear interpolation.
Zoom value scope in described (A2) is
Figure 530733DEST_PATH_IMAGE001
.
Presetting bit information table comprises wire size data and ball machine level angle data and ball machine vertical angle data.
As Fig. 3, (B5) in by the method for interpolation calculation search and calculate wire size adopt formula be:
Figure 609548DEST_PATH_IMAGE002
Wherein,
Figure 920575DEST_PATH_IMAGE004
x,yrepresent wire size,
Figure 754538DEST_PATH_IMAGE005
with respectively horizontal and vertical interpolation coefficient, it is basis
Figure 314068DEST_PATH_IMAGE007
arrive with
Figure 569917DEST_PATH_IMAGE009
between distance decide,
Figure 302118DEST_PATH_IMAGE006
it is basis
Figure 774688DEST_PATH_IMAGE010
arrive with
Figure 688734DEST_PATH_IMAGE012
between distance decide, specific as follows:
Figure 975359DEST_PATH_IMAGE013
Figure 348440DEST_PATH_IMAGE014
Described computing formula all realizes by fixed-point processing in processor the inside,
Figure 632791DEST_PATH_IMAGE005
with all to be normalized to 128 or 256,
Figure 948683DEST_PATH_IMAGE007
,
Figure 192583DEST_PATH_IMAGE008
,
Figure 717277DEST_PATH_IMAGE009
all represent level angle
Figure 617100DEST_PATH_IMAGE015
,
Figure 245528DEST_PATH_IMAGE010
,
Figure 360245DEST_PATH_IMAGE011
, all represent vertical angle .
The corresponding wire size of a directional information of ball machine level angle data and a ball machine vertical angle data composition, corresponding multiple multiplication factor Zoom value of wire size and the Focus value under corresponding multiplication factor Zoom value.
Obtaining current Focus value is to go to calculate current Focus value according to directional information and multiplication factor Zoom value, and its computational methods are to make target image clear under the Zoom of given range value, record Focus value now.
Embodiment 2
As Fig. 4, the control system generating according to described presetting bit method,
Comprise the ball machine control appliance that can send to ball machine order,
Comprise the command analysis module of energy resolve command head,
Comprise the Focus computing module that can calculate Focus value,
Comprise that the presetting bit that can calculate wire size arranges wire size computing module,
Comprise the preset information memory module that can store level angle, vertical angle, wire size,
Comprise that the presetting bit that can call wire size calls wire size module,
Comprise and can call Focus computing module according to the presetting bit of wire size and multiplication factor Zoom value calculating Focus value,
Comprise the locating module that can position according to Focus value and Zoom value,
Also comprise the motor control module of moving according to Focus value and Zoom value,
The command format that ball machine control appliance sends is defined as follows:
Comprise 2 byte command heads, the multiplication factor Zoom value of 2 bytes, the ball machine level angle of 2 bytes and 1 byte vertical angle, it is that presetting bit setting or presetting bit are called that command header is determined.For example: presetting bit order:
Figure 2014101186370100002DEST_PATH_IMAGE017
.
Command analysis module analyzes presetting bit setting according to the command header of presetting bit order or presetting bit is called.
When command analysis module is that presetting bit is while arranging according to command header analysis, mentioned order is transferred in Focus computing module, Focus computing module goes to calculate current Focus value according to the level angle in order and vertical angle and multiplication factor Zoom value, draw after Focus value, by Focus computing module by data [Zoom, Focus] send to presetting bit that wire size computing module is set, presetting bit arranges wire size computing module according to current data [Zoom, Focus] in number storehouse, calculate current wire size by linear interpolation method online, finally, present level angle, vertical angle and wire size are stored in preset information memory module,
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired the wire size corresponding with present level angle and vertical angle according to the level angle in order with vertical angle, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired about less than the wire size corresponding with present level angle and vertical angle with vertical angle according to the level angle in order, search and calculate current wire size by the method for interpolation calculation, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
Multiplication factor Zoom value when presetting bit arranges, must meet in given range, and multiplication factor Zoom value when presetting bit is called can be any multiplication factor.
Because the present invention has adopted presetting bit method described above, presetting bit precision and efficiency are improved greatly.Therefore,, compared with background technology method, tool of the present invention has the following advantages:
1, can preset larger amount of information, can call the presetting bit under any multiple under this angle of ball machine;
2, Zoom value when Zoom value when presetting bit is called and presetting bit arrange is irrelevant, can be any Zoom value when presetting bit is called;
3, be convenient to from motion tracking, when Zoom value can realize from motion tracking to timing;
4, according to special scenes, carry out angle presetting bit setting and tracking, when angle changes, by controller, the change information of ball machine is sent to all-in-one, provide angle and Zoom value prediction value, can greatly improve speed and flatness that presetting bit is followed the tracks of.
The above, be only preferred embodiment of the present invention, not the present invention done to any pro forma restriction, and any simple modification, the equivalent variations in every foundation technical spirit of the present invention, above embodiment done, within all falling into protection scope of the present invention.

Claims (10)

1. a presetting bit method, is characterized in that, comprises the following steps: presetting bit setting steps and presetting bit invocation step,
Presetting bit setting steps comprises following steps:
(A1), after system initialization, intended target is aimed in camera review center,
(A2) send out multiplication factor Zoom value under golf emitter directional information and given range to all-in-one, directional information comprises ball machine level angle and ball machine vertical angle,
(A3) all-in-one is under this Zoom value, utilizes focusing automatically to make image object clear and obtain current Focus value,
(A4) utilize current Zoom value and Focus value, according to the wire size that calculates current preset point in online number storehouse by linear interpolation method, wire size comprises Zoom value and Focus value corresponding under current directional information,
(A5) store current directional information and wire size,
(A6), according to the number in preset site, repeat (A1) step to (A5) step, the wire size formation presetting bit information table of storing directional information corresponding to all presetting bits set-point and calculating;
Presetting bit invocation step comprises following steps:
(B1), after system initialization, intended target is aimed in camera review center,
(B2) send out golf emitter directional information and arbitrary multiplication factor Zoom value to all-in-one,
(B3) when inquiry presetting bit arranges, whether directional information and the wire size of storage, there is current correspondence direction information,
(B4) if (B3) can inquire corresponding directional information, directly find out current wire size,
(B5) if (B3) can not inquire corresponding directional information, search and calculate wire size by the method for interpolation calculation,
(B6), after the wire size by (B4) or (B5) obtaining, the multiplication factor Zoom value according to wire size and (B1) is calculated corresponding Focus value, thereby obtains fast picture rich in detail,
(B7) according to specifying presetting bit to call number, repeat (B1) step to (B6) step.
2. a kind of presetting bit method according to claim 1, is characterized in that, the Zoom value scope in described (A2) is
Figure 2014101186370100001DEST_PATH_IMAGE002
.
3. a kind of presetting bit method according to claim 1, is characterized in that, presetting bit information table comprises wire size data and ball machine level angle data and ball machine vertical angle data.
4. a kind of presetting bit method according to claim 1, is characterized in that, (B5) in by the method for interpolation calculation search and calculate wire size adopt formula be:
Figure 2014101186370100001DEST_PATH_IMAGE004
Wherein,
Figure 2014101186370100001DEST_PATH_IMAGE006
with
Figure 2014101186370100001DEST_PATH_IMAGE008
respectively horizontal and vertical interpolation coefficient,
Figure 207675DEST_PATH_IMAGE006
it is basis arrive
Figure 2014101186370100001DEST_PATH_IMAGE012
with
Figure 2014101186370100001DEST_PATH_IMAGE014
between distance decide,
Figure 534489DEST_PATH_IMAGE008
it is basis
Figure 2014101186370100001DEST_PATH_IMAGE016
arrive
Figure 2014101186370100001DEST_PATH_IMAGE018
with between distance decide, specific as follows:
Figure 2014101186370100001DEST_PATH_IMAGE022
Figure 2014101186370100001DEST_PATH_IMAGE024
Described computing formula all realizes by fixed-point processing in processor the inside,
Figure 393860DEST_PATH_IMAGE006
with
Figure 65013DEST_PATH_IMAGE008
all to be normalized to 128 or 256,
Figure 550090DEST_PATH_IMAGE010
,
Figure 623088DEST_PATH_IMAGE012
,
Figure 404093DEST_PATH_IMAGE014
all represent level angle
Figure 2014101186370100001DEST_PATH_IMAGE026
,
Figure 874127DEST_PATH_IMAGE016
,
Figure 648048DEST_PATH_IMAGE018
, all represent vertical angle
Figure 2014101186370100001DEST_PATH_IMAGE028
.
5. a kind of presetting bit method according to claim 1, it is characterized in that, the corresponding wire size of a directional information of ball machine level angle data and a ball machine vertical angle data composition, corresponding multiple multiplication factor Zoom value of wire size and the Focus value under corresponding multiplication factor Zoom value.
6. a kind of presetting bit method according to claim 1, it is characterized in that, obtaining current Focus value is to go to calculate current Focus value according to directional information and multiplication factor Zoom value, its computational methods are to make target image clear under the Zoom of given range value, record Focus value now.
7. the control system generating according to presetting bit method described in any one in claim 1-6, is characterized in that:
Comprise the ball machine control appliance that can send to ball machine order,
Comprise the command analysis module of energy resolve command head,
Comprise the Focus computing module that can calculate Focus value,
Comprise that the presetting bit that can calculate wire size arranges wire size computing module,
Comprise the preset information memory module that can store level angle, vertical angle, wire size,
Comprise that the presetting bit that can call wire size calls wire size module,
Comprise and can call Focus computing module according to the presetting bit of wire size and multiplication factor Zoom value calculating Focus value,
Comprise the locating module that can position according to Focus value and Zoom value,
Also comprise the motor control module of moving according to Focus value and Zoom value.
8. control system according to claim 7, is characterized in that:
The command format that ball machine control appliance sends is defined as follows:
Comprise 2 byte command heads, the multiplication factor Zoom value of 2 bytes, the ball machine level angle of 2 bytes and 1 byte vertical angle, it is that presetting bit setting or presetting bit are called that command header is determined.
9. control system according to claim 8, is characterized in that: command analysis module analyzes presetting bit setting according to the command header of presetting bit order or presetting bit is called.
10. control system according to claim 9, is characterized in that:
When command analysis module is that presetting bit is while arranging according to command header analysis, mentioned order is transferred in Focus computing module, Focus computing module goes to calculate current Focus value according to the level angle in order and vertical angle and multiplication factor Zoom value, draw after Focus value, by Focus computing module by data [Zoom, Focus] send to presetting bit that wire size computing module is set, presetting bit arranges wire size computing module according to current data [Zoom, Focus] in number storehouse, calculate current wire size by linear interpolation method online, finally, present level angle, vertical angle and wire size are stored in preset information memory module,
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired the wire size corresponding with present level angle and vertical angle according to the level angle in order with vertical angle, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
When command analysis module is that presetting bit is while calling according to command header analysis, mentioned order is transferred to presetting bit and calls wire size module, presetting bit is called wire size module and is inquired about less than the wire size corresponding with present level angle and vertical angle with vertical angle according to the level angle in order, search and calculate current wire size by the method for interpolation calculation, call Focus computing module by presetting bit and just can calculate current Focus value according to wire size and Zoom value, utilize Zoom value and Focus value by Camera Positioning module controls motor control module
Multiplication factor Zoom value when presetting bit arranges, must meet in given range, and multiplication factor Zoom value when presetting bit is called can be any multiplication factor.
CN201410118637.0A 2014-03-27 2014-03-27 A kind of presetting bit method and control system Active CN103841333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410118637.0A CN103841333B (en) 2014-03-27 2014-03-27 A kind of presetting bit method and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410118637.0A CN103841333B (en) 2014-03-27 2014-03-27 A kind of presetting bit method and control system

Publications (2)

Publication Number Publication Date
CN103841333A true CN103841333A (en) 2014-06-04
CN103841333B CN103841333B (en) 2017-04-05

Family

ID=50804430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410118637.0A Active CN103841333B (en) 2014-03-27 2014-03-27 A kind of presetting bit method and control system

Country Status (1)

Country Link
CN (1) CN103841333B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104919A (en) * 2014-07-24 2014-10-15 山东神戎电子股份有限公司 Lens coaxial correction method of monitor
CN105763795A (en) * 2016-03-01 2016-07-13 苏州科达科技股份有限公司 Focusing method and apparatus, cameras and camera system
CN106303410A (en) * 2016-08-01 2017-01-04 北京工商大学 A kind of rifle ball machine interlock method based on panoramic video and ball machine presetting bit
CN107885011A (en) * 2016-09-29 2018-04-06 厦门脉视数字技术有限公司 A kind of fast automatic focus adjustment method
US10498949B2 (en) 2017-06-26 2019-12-03 Axis Ab Method of focusing a camera
WO2019228073A1 (en) * 2018-05-31 2019-12-05 杭州海康威视数字技术股份有限公司 Variable magnification method and camera
CN110602376A (en) * 2018-06-12 2019-12-20 杭州海康威视数字技术股份有限公司 Snapshot method and device and camera
CN112243106A (en) * 2019-07-17 2021-01-19 杭州海康威视数字技术股份有限公司 Target monitoring method, device and equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191866A1 (en) * 2001-06-13 2002-12-19 Kazuhiro Tanabe Image signal processing system
US6501537B1 (en) * 1997-08-19 2002-12-31 The Australian National University Range finding
US20100033579A1 (en) * 2008-05-26 2010-02-11 Sanyo Electric Co., Ltd. Image Shooting Device And Image Playback Device
CN101794448A (en) * 2010-04-07 2010-08-04 上海交通大学 Full automatic calibration method of master-slave camera chain
CN102984453A (en) * 2012-11-01 2013-03-20 深圳大学 Method and system of real-time generating hemisphere panoramic video images through single camera
CN103327238A (en) * 2013-05-29 2013-09-25 山西绿色光电产业科学技术研究院(有限公司) Space registering method based on panoramic all-in-one speed dome camera
CN103501409A (en) * 2013-10-01 2014-01-08 中国人民解放军国防科学技术大学 Ultrahigh resolution panorama speed dome AIO (All-In-One) system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6501537B1 (en) * 1997-08-19 2002-12-31 The Australian National University Range finding
US20020191866A1 (en) * 2001-06-13 2002-12-19 Kazuhiro Tanabe Image signal processing system
US20100033579A1 (en) * 2008-05-26 2010-02-11 Sanyo Electric Co., Ltd. Image Shooting Device And Image Playback Device
CN101794448A (en) * 2010-04-07 2010-08-04 上海交通大学 Full automatic calibration method of master-slave camera chain
CN102984453A (en) * 2012-11-01 2013-03-20 深圳大学 Method and system of real-time generating hemisphere panoramic video images through single camera
CN103327238A (en) * 2013-05-29 2013-09-25 山西绿色光电产业科学技术研究院(有限公司) Space registering method based on panoramic all-in-one speed dome camera
CN103501409A (en) * 2013-10-01 2014-01-08 中国人民解放军国防科学技术大学 Ultrahigh resolution panorama speed dome AIO (All-In-One) system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104919A (en) * 2014-07-24 2014-10-15 山东神戎电子股份有限公司 Lens coaxial correction method of monitor
CN104104919B (en) * 2014-07-24 2017-09-29 山东神戎电子股份有限公司 A kind of coaxial antidote of the camera lens of monitor
CN105763795B (en) * 2016-03-01 2017-11-28 苏州科达科技股份有限公司 A kind of focus method and device, video camera and camera system
CN105763795A (en) * 2016-03-01 2016-07-13 苏州科达科技股份有限公司 Focusing method and apparatus, cameras and camera system
CN106303410B (en) * 2016-08-01 2019-01-08 北京工商大学 A kind of rifle ball machine interlock method based on panoramic video and ball machine presetting bit
CN106303410A (en) * 2016-08-01 2017-01-04 北京工商大学 A kind of rifle ball machine interlock method based on panoramic video and ball machine presetting bit
CN107885011A (en) * 2016-09-29 2018-04-06 厦门脉视数字技术有限公司 A kind of fast automatic focus adjustment method
CN107885011B (en) * 2016-09-29 2021-01-12 厦门星纵智能科技有限公司 Rapid automatic focusing method
US10498949B2 (en) 2017-06-26 2019-12-03 Axis Ab Method of focusing a camera
WO2019228073A1 (en) * 2018-05-31 2019-12-05 杭州海康威视数字技术股份有限公司 Variable magnification method and camera
US11102393B2 (en) 2018-05-31 2021-08-24 Hangzhou Hikvision Digital Technology Co., Ltd. Variable magnification method and camera
CN110602376A (en) * 2018-06-12 2019-12-20 杭州海康威视数字技术股份有限公司 Snapshot method and device and camera
CN110602376B (en) * 2018-06-12 2021-03-26 杭州海康威视数字技术股份有限公司 Snapshot method and device and camera
CN112243106A (en) * 2019-07-17 2021-01-19 杭州海康威视数字技术股份有限公司 Target monitoring method, device and equipment and storage medium

Also Published As

Publication number Publication date
CN103841333B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN103841333A (en) Preset bit method and control system
CN103728813B (en) A kind of method of synchronizing focus during zoom
CN105763795B (en) A kind of focus method and device, video camera and camera system
US9973697B2 (en) Image capture and ordering
JP6632232B2 (en) Method for cleaning or treating a room with a free-standing mobile device and a free-standing mobile device
CN102055901B (en) Pan tile zoom (PTZ) camera and PTZ control method thereof
CN110278383A (en) Focus method, device and electronic equipment, storage medium
CN109141395B (en) Sweeper positioning method and device based on visual loopback calibration gyroscope
CN105554367A (en) Movement photographing method and mobile terminal
TWI524753B (en) Image adjusting system with multiple lenses and method thereof
CN102196171A (en) Imaging control device, subject detection method, and program
JP2013513095A (en) Method and system for obtaining an improved stereo image of an object
CN104102068A (en) Automatic focusing method and automatic focusing device
KR102449759B1 (en) Adaptive search window positioning for video encoding
US20140307054A1 (en) Auto focus method and auto focus apparatus
TW201247157A (en) Object searching system and method, sweeper with the system
TWI489326B (en) Operating area determination method and system
CN102497507A (en) Image-analysis-based pan/tilt/zoom (PTZ) camera preset position control method
US20160292873A1 (en) Image capturing apparatus and method for obtaining depth information of field thereof
TWI526879B (en) Interactive system, remote controller and operating method thereof
CN108702456A (en) A kind of focusing method, equipment and readable storage medium storing program for executing
US9030414B2 (en) Method of dynamically adjusting image frame rate and device using same
US10970932B2 (en) Provision of virtual reality content
EP3109695B1 (en) Method and electronic device for automatically focusing on moving object
CN103873760A (en) Focusing point adjusting method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: High tech Zone Chengdu city Sichuan province 610000 Gaopeng Road No. 5

Applicant after: CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY CO., LTD.

Address before: High tech Zone Chengdu city Sichuan province 610000 Gaopeng Road No. 5

Applicant before: CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY CO., LTD.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY LTD. TO: CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 610000 Chengdu high tech Zone, Chengdu, Sichuan (West District), No. 199, No. 2, West District Avenue, No. 1, No. 1

Patentee after: Chengdu Ruitong Video Technology Co., Ltd

Address before: High tech Zone Chengdu city Sichuan province 610000 Gaopeng Road No. 5

Patentee before: CHENGDU POWERVIEW SCIENCE AND TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Preset bit method and control system

Effective date of registration: 20200604

Granted publication date: 20170405

Pledgee: Zhejiang Mintai commercial bank Limited by Share Ltd. Chengdu Gaoxin Branch

Pledgor: Chengdu Ruitong Video Technology Co., Ltd

Registration number: Y2020510000062

PE01 Entry into force of the registration of the contract for pledge of patent right