CN103607540B - Method for improving presetting bit accuracy of pan-tilt camera - Google Patents

Method for improving presetting bit accuracy of pan-tilt camera Download PDF

Info

Publication number
CN103607540B
CN103607540B CN201310630017.0A CN201310630017A CN103607540B CN 103607540 B CN103607540 B CN 103607540B CN 201310630017 A CN201310630017 A CN 201310630017A CN 103607540 B CN103607540 B CN 103607540B
Authority
CN
China
Prior art keywords
head
presetting bit
image
pan
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310630017.0A
Other languages
Chinese (zh)
Other versions
CN103607540A (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.)
NANJING NANZI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
NANJING NANZI INFORMATION 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 NANJING NANZI INFORMATION TECHNOLOGY Co Ltd filed Critical NANJING NANZI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310630017.0A priority Critical patent/CN103607540B/en
Publication of CN103607540A publication Critical patent/CN103607540A/en
Application granted granted Critical
Publication of CN103607540B publication Critical patent/CN103607540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides a method for improving the presetting bit accuracy of a pan-tilt camera. The method comprises the following steps that (1) compensation is conducted on a mechanical error when a pan-tilt is operated; (2) when a presetting bit is set, a current image needs to be obtained and stored as a template image; (3) a coarse positioning step and a fine positioning step are conducted, wherein (1) the presetting bit is called and the pan-tilt is moved to the position near a presetting bit point; (2) the current image is obtained, deviation of the current image and the template image is converted into pain-tilt displacement, error compensation is reckoned, the current position is corrected. The method for improving the presetting bit accuracy of the pan-tilt camera has the advantages that compensation is conducted on the pan-tilt mechanical error and the presetting bit accuracy is improved; through the match of the current image and the template image, the pan-tilt displacement compensation amount is calculated and the presetting bit accuracy is further improved; the method is also suitable under the condition that pan-tilt control lacks displacement feedback of a sensor, the pan-tilt structure scheme is simplified, and cost is reduced.

Description

A kind of monopod video camera presetting bit method for improving accuracy
Technical field
The present invention relates to a kind of monopod video camera presetting bit method for improving accuracy, belongs to technical field of video monitoring.
Background technology
The enhancing realized with social security protection and the development of Video Supervision Technique, monopod video camera (this paper abbreviation video cameras, Similarly hereinafter) it is widely used in fields such as power system, track traffic, safe city and financial sectors.Preset bit function Refer to that video camera can record the ginseng related to camera lens focal length etc. of the level angle of head, vertical angle under current state Number, can rapidly call these parameters and head and camera be adjusted to the position when needing.In video monitoring system, take the photograph Camera needs the target to setting regularly to be patrolled and examined and automatically analyze, the effect of the raising of presetting bit precision to camera surveillance It is really most important.
In the market the presetting bit precision of main flow video camera products can meet some primary demands of client, but with visitor The continuous improvement of family demand and the continuous progress of Video Supervision Technique, particularly in high definition resolution ratio, big optical zoom monitoring bar Existing presetting bit precision level can not meet its requirement under part.Therefore, new control monopod video camera presetting bit essence is studied The method of degree is imperative.
The content of the invention
Proposed by the present invention is a kind of monopod video camera presetting bit method for improving accuracy, and its purpose is aimed to solve the problem that at present can not The problem of accurate reproduction presetting bit.
The technical solution of the present invention:A kind of monopod video camera presetting bit method for improving accuracy, comprises the steps:
1) need to compensate machine error when head operates;
2) need to obtain present image when arranging presetting bit, save as template picture;
3) the step of presetting bit method for improving accuracy includes coarse positioning and fine positioning:Including
(1) presetting bit is transferred, head operates to the preset location proximate;
(2) present image is obtained, it with the deviation of template image is converted into into head displacement and error compensation is counted, it is right Current location is modified.
The beneficial effects of the present invention is:1st, head machine error is compensated, improves presetting bit precision.2nd, pass through Photo current is matched with template picture, calculates head displacement compensation amount, further increases presetting bit precision.3rd, in head Control is equally applicable in the case of feeding back without sensor displacement, simplifies cradle head structure scheme, reduces cost.
Description of the drawings
Fig. 1 is the flow chart of preset positions of camera method for improving accuracy.
Fig. 2 (a) is that images match deviation calculates photo current in schematic diagram.
Fig. 2 (b) is that images match deviation calculates template picture in schematic diagram.
Fig. 3 is image deviations-displacement conversion schematic diagram.
Specific embodiment
A kind of monopod video camera presetting bit method for improving accuracy, comprises the steps:
1)Head needs to compensate machine error when operating;
2)Need to obtain present image when arranging presetting bit, save as template picture;
3)The step of presetting bit method for improving accuracy includes coarse positioning and fine positioning:Including
(1) presetting bit is transferred, head operates to the preset location proximate;
(2) present image is obtained, it with the deviation of template image is converted into into head displacement and error compensation is counted, it is right Current location is modified.
When described head operates, including
1) during head Positive work, machine error is that the transmission caused by the factors such as parts design, manufacture and assembling is missed Difference;
2) during head antiport, machine error except above-mentioned driving error, also including turn error.
Described acquisition present image, including
1) during the threshold epsilon that present image sets with deviation ﹤ of template image, current location can not be modified;
2) when the threshold epsilon of above-mentioned deviation ﹥ setting, then need to be modified head position;
3)Contrasted to calculate cloud with template image respectively using the present image of two width or two width above diverse locations The displacement of platform.
When presetting bit is arranged, need the picture for capturing the position as template, contrasted during presetting bit to call.
The technical solution of the present invention is further described below in conjunction with the accompanying drawings:
As shown in figure 1, this method is divided into two steps:
(1) calculate displacement of the head from current location to target location and send corresponding umber of pulse, when head need with When current kinetic direction is moved in the same direction, the value of head correction program is ΔΨ, when head needs reversely to be transported with current kinetic direction When dynamic, the value of head correction program is (ΔΨθ);
(2) precise control is carried out to presetting bit using image matching method, the displacement compensation amount of head is picture deviation institute It is determined that offset and step (1) in " correction value " sum.
Wherein, ΔΨ hΨ vDriving error respectively in head horizontal, Δθ hθ vRespectively cloud Turn error in platform horizontal,ξ h/ξ vThe image deviations threshold value set respectively in head horizontal.
If Fig. 2 (a), Fig. 2 (b) are that images match deviation calculates schematic diagram template picture.Take certain fritter in template picture Region is contrasted as feature unit.The feature unit of note photo current and template picture is respectivelyCWithT, while also representing The corresponding matrix of this feature unit.The coordinate as shown in Fig. 2 (a), Fig. 2 (b) is set up in the upper left corner with picture as the origin of coordinates System.If presetting bit picture (including the photo current and template picture) pixel size of crawl isM×N, the pixel of this feature unit Size ism×n.In photo current, the coordinate of feature unit top left corner pixel for (x,y), whereinx∈[0,M-m],y∈[0,N-n].In feature uniti+1 row, thej+The coordinate relative to feature unit top left corner pixel of 1 row pixel for (i,j)。
Feature unitCAverage grayFor:
(1)
Feature unitTAverage grayFor:
(2)
OrderAnd, feature unitCAnd feature unitT Normalized crosscorrelation valueR(x,y) be:
(3)
In normalized crosscorrelation matrixR(x,y) in, if point (x,y) placeR(x,y)=Max{R(x,y), then point (x,y) For optimal solution, i.e. photo current point (x,y) match with template picture.Feature unitCWith feature unitTCentre-to-centre spacing as work as The deviation of front picture and template picture, by the deviation bit shift compensation that head is both horizontally and vertically gone up is converted intoη, you can it is accurate Control presetting bit precision.
As shown in figure 3, to try to achieve the head bit shift compensation that picture deviation is conversed, the present invention proposes one kind using two width not With the method that the present image of position is contrasted with template image.Comprise the following steps that:
(1) if present image (is designated asC 1) and template imageTMatching deviation >ξWhen, head to template center direction with The speed of settingωPersistently rotate regular hour Δt(the ΔtValue is estimated based on experience value), capture picture afterwards in place, it is designated asC 2
(2) calculateC 1WithTC 2WithTImages match deviation deltaS 1And ΔS 2, bit shift compensation value is:
(4)
(5)
Formula(4)And formula(5)In:Subscript h and v represent respectively the parameter for both horizontally and vertically going up.
The above, is only presently preferred embodiments of the present invention, and any pro forma restriction is not made to the present invention.It is right For any technical staff of the art, under the premise without departing from the principles of the invention, some improvement can also be made, These improvement also should be regarded as protection scope of the present invention.

Claims (1)

1. a kind of monopod video camera presetting bit method for improving accuracy, it is characterised in that:The method comprises the steps:
1)Head needs to compensate machine error when operating;
2)Need to obtain present image when arranging presetting bit, save as template picture;
3)The step of presetting bit method for improving accuracy includes coarse positioning and fine positioning:Including
(1) presetting bit is transferred, head operates to the preset location proximate;
(2) present image is obtained, it with the deviation of template image is converted into into head displacement and error compensation is counted, to current Position is modified;
When described head operates, including
1)During head Positive work, machine error is the driving error caused by parts design, manufacture and assembling factor;
2)During head antiport, machine error except above-mentioned driving error, also including turn error;
Described acquisition present image, including
1)The threshold value that present image sets with deviation ﹤ of template imageεWhen, current location is not modified;
2)When the threshold value of above-mentioned deviation ﹥ settingεWhen, then need to be modified head position;
3)Contrasted to calculate head with template image respectively using the present image of two width or two width above diverse locations Displacement;
The method for adopting the present image of two width diverse locations to be contrasted with template image, concrete steps include:
(1) if present image and template image match deviation >ξWhen, speed of the head to template center direction to setωHold Continuous rotation regular hour Δt, capture picture afterwards in place, it is designated asC 2
(2) calculate present image and template image,C 2With the images match deviation delta of template imageS 1And ΔS 2, head displacement benefit Repaying value is:
In formula:Subscript h and v represent respectively the parameter for both horizontally and vertically going up.
CN201310630017.0A 2013-12-02 2013-12-02 Method for improving presetting bit accuracy of pan-tilt camera Active CN103607540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310630017.0A CN103607540B (en) 2013-12-02 2013-12-02 Method for improving presetting bit accuracy of pan-tilt camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310630017.0A CN103607540B (en) 2013-12-02 2013-12-02 Method for improving presetting bit accuracy of pan-tilt camera

Publications (2)

Publication Number Publication Date
CN103607540A CN103607540A (en) 2014-02-26
CN103607540B true CN103607540B (en) 2017-04-12

Family

ID=50125739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310630017.0A Active CN103607540B (en) 2013-12-02 2013-12-02 Method for improving presetting bit accuracy of pan-tilt camera

Country Status (1)

Country Link
CN (1) CN103607540B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333061A (en) * 2017-06-30 2017-11-07 天津市亚安科技有限公司 A kind of method that cradle head preset positions precision is improved with compensation

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104290102B (en) * 2014-10-16 2016-06-08 苏州镭络视觉技术有限公司 A kind of quickly location compensation method
CN105812720A (en) * 2014-12-29 2016-07-27 浙江大华系统工程有限公司 Dome camera preset position correction method and correction device
CN104581083B (en) * 2015-01-29 2018-01-19 广东本致科技有限公司 A kind of intelligent video tracking method and system based on orbit camera
CN105100714A (en) * 2015-07-10 2015-11-25 东方网力科技股份有限公司 Method and device for controlling cradle head based on monitoring equipment
CN105352604A (en) * 2015-11-02 2016-02-24 上海电力学院 Infrared temperature measurement system holder position calibration method based on visible light image registration
CN105427282B (en) * 2015-11-05 2018-07-13 浙江宇视科技有限公司 A kind of test method and device of 3D positioning accuracies
CN105391978A (en) * 2015-11-10 2016-03-09 南京南自信息技术有限公司 Target location method of PTZ camera
CN105513072A (en) * 2015-12-05 2016-04-20 中国航空工业集团公司洛阳电光设备研究所 PTZ correction method
CN105700562A (en) * 2016-01-29 2016-06-22 成都华迈通信技术有限公司 Device and method for correcting camera tripod head
CN106289182A (en) * 2016-07-14 2017-01-04 济南中维世纪科技有限公司 A kind of by The Cloud Terrace camera from the method for dynamic(al) correction presetting bit
CN107018380B (en) * 2017-04-25 2019-10-18 成都信息工程大学 A kind of method and device for the presetting bit validity detecting video camera
CN108881811B (en) * 2017-05-11 2020-06-16 华为技术有限公司 Method and device for determining prompt information in video monitoring
CN109995995A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 Control method, controller and the system of photographic device
CN110337625B (en) * 2018-03-29 2022-06-03 深圳市大疆创新科技有限公司 Pan-tilt track planning method and device
CN109996042B (en) * 2019-04-09 2021-07-20 昆山古鳌电子机械有限公司 Intelligent monitoring system
CN111083357B (en) * 2019-12-05 2021-11-09 河北汉光重工有限责任公司 Image missing capturing and supplementing method based on target detection system
CN111246094B (en) * 2020-01-17 2021-10-08 高新兴科技集团股份有限公司 Holder, holder offset compensation correction method, computer storage medium and equipment
CN112067253A (en) * 2020-06-03 2020-12-11 翔升(上海)电子技术有限公司 Camera calibration method based on machine vision
CN114359374A (en) * 2021-11-22 2022-04-15 深圳供电局有限公司 Method and device for automatically matching camera position, computer equipment and storage medium
CN113989124B (en) * 2021-12-27 2022-04-19 浙大城市学院 System for improving positioning accuracy of pan-tilt-zoom camera and control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497507A (en) * 2011-12-12 2012-06-13 山西奥克斯电子系统工程中心 Image-analysis-based pan/tilt/zoom (PTZ) camera preset position control method
CN102937816A (en) * 2012-11-22 2013-02-20 四川华雁信息产业股份有限公司 Method and device for calibrating preset position deviation of camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497507A (en) * 2011-12-12 2012-06-13 山西奥克斯电子系统工程中心 Image-analysis-based pan/tilt/zoom (PTZ) camera preset position control method
CN102937816A (en) * 2012-11-22 2013-02-20 四川华雁信息产业股份有限公司 Method and device for calibrating preset position deviation of camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333061A (en) * 2017-06-30 2017-11-07 天津市亚安科技有限公司 A kind of method that cradle head preset positions precision is improved with compensation

Also Published As

Publication number Publication date
CN103607540A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN103607540B (en) Method for improving presetting bit accuracy of pan-tilt camera
TWI393992B (en) High dynamic range image synthesis method
CN104483983B (en) A kind of double cloud platform control methods of multi-cam real-time linkage
CN103905792B (en) A kind of 3D localization methods and device based on PTZ CCTV cameras
CN107730556A (en) A kind of rifle ball linkage coordinate location method
CN101605211B (en) Method for seamlessly composing virtual three-dimensional building and real-scene video of real environment
CN108637469A (en) One kind patrolling edge system and its image processing method for being cut by laser vision
CN106469444B (en) Rapid image fusion method for eliminating splicing gap
US9946170B2 (en) Method for exposure and development, system for controlling exposure and system for exposure and development
CN104574332A (en) Image fusion method for airborne optoelectronic pod
JP2014212519A5 (en)
CN109052180B (en) Automatic container alignment method and system based on machine vision
CN105150658B (en) A kind of double contraposition turnover panel make-up machine automatic attaching transshipment acitivity and its control methods
CN108534760A (en) A kind of image measurement method based on binocular camera and laser range sensor
CN105430377B (en) A kind of video camera movement optical axis automatic correction method and system
CN105931210B (en) A kind of high resolution image reconstruction method
CN104618648A (en) Panoramic video splicing system and splicing method
KR101111503B1 (en) Apparatus for controlling Pan/Tilt/Zoom camera in omnidirectional and method for the same
CN106501951A (en) A kind of manufacture method of bore hole 3D display device
CN111862169B (en) Target follow-up method and device, cradle head camera and storage medium
CN114905116B (en) Groove weld penetration monitoring method based on feature learning
CN106210548A (en) A kind of method and device of rapid focus
CN105391978A (en) Target location method of PTZ camera
CN1862305A (en) Image sensing module multi-point focusing detecting method and apparatus thereof
CN105323485B (en) One camera Oblique images capture device and acquisition method

Legal Events

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