CN111083360B - Camera monitoring equipment matching control method based on pixel coordinates - Google Patents

Camera monitoring equipment matching control method based on pixel coordinates Download PDF

Info

Publication number
CN111083360B
CN111083360B CN201911250263.7A CN201911250263A CN111083360B CN 111083360 B CN111083360 B CN 111083360B CN 201911250263 A CN201911250263 A CN 201911250263A CN 111083360 B CN111083360 B CN 111083360B
Authority
CN
China
Prior art keywords
camera
gear
target
value
current
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
CN201911250263.7A
Other languages
Chinese (zh)
Other versions
CN111083360A (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201911250263.7A priority Critical patent/CN111083360B/en
Publication of CN111083360A publication Critical patent/CN111083360A/en
Application granted granted Critical
Publication of CN111083360B publication Critical patent/CN111083360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

本发明公开了一种基于像素坐标的摄像监视设备匹配控制方法,涉及摄像监视领域。针对现有的摄像跟踪系统中摄像监视设备模糊单向控制的不足,本发明对原生PELCO控制协议进行改良,实现变焦镜头变焦值与摄像机视角值的定量分档控制与周期反馈;构建目标占比计算与校正的数学几何模型,进一步得到摄像机视角设定值的计算公式,从而使目标像素尺寸占比达到设定值;构建目标偏移量计算与校正的数学几何模型,进一步得到旋转云台旋转值的计算公式,从而使目标回归到画面中央。经效果实验,本发明能够实现摄像监视设备精确稳定控制,使设备视角大小自匹配于目标大小、视角方向自匹配于目标移动量。

Figure 201911250263

The invention discloses a pixel coordinate-based camera monitoring device matching control method, which relates to the field of camera monitoring. Aiming at the deficiency of the fuzzy one-way control of the camera monitoring equipment in the existing camera tracking system, the present invention improves the native PELCO control protocol, and realizes the quantitative binning control and periodic feedback of the zoom value of the zoom lens and the angle of view of the camera; The mathematical geometric model of calculation and correction further obtains the calculation formula of the set value of the camera angle of view, so that the proportion of target pixel size reaches the set value; the mathematical geometric model of target offset calculation and correction is constructed, and the rotation of the rotating pan/tilt is further obtained. The formula for calculating the value, so that the target returns to the center of the screen. Through effect experiments, the present invention can realize precise and stable control of the camera monitoring equipment, so that the size of the viewing angle of the equipment can be matched with the size of the target, and the direction of the viewing angle can be matched with the moving amount of the target.

Figure 201911250263

Description

Camera monitoring equipment matching control method based on pixel coordinates
Technical Field
The invention relates to a matching control method of a camera monitoring device based on pixel coordinates, in particular to a method capable of enabling a target marked by the pixel coordinates to accurately return to the center of a picture and reach a set ratio.
Background
At present, a camera shooting tracking system usually follows the flow of image acquisition, target identification and equipment control, the target identification result is information such as target category and pixel coordinates, and the equipment control performs matching control on a zoom lens, a rotating holder and the like based on the information. When matching control is carried out, a control algorithm is needed to calculate a zoom value of the zoom lens and a rotation value of the rotating holder to be set according to the current zoom value of the zoom lens, the rotation value of the rotating holder and the pixel coordinate, wherein the former enables the proportion of the size of a target pixel to reach a set proportion, and the latter enables the target to return to the center of a picture. The method represented by a patent "an intrusion alert photoelectric monitoring system and method" (application number: 201910133621.X) usually indicates the process of acquisition-identification-control ", but lacks deep analysis of control steps, and especially lacks improved optimization of construction of a control geometric model and accurate control of a camera monitoring device.
In the aspect of camera monitoring equipment control, the most common protocol for controlling a zoom lens and a rotating pan-tilt is mainly PELCO (Pelco-Gogh) protocol, which comprises two types of PELCO-D and PELCO-P, but only provides a progress bar type fuzzy speed control instruction, has no feedback, and cannot meet the requirements of accurate and stable control. The technical threshold of the rotating tripod head is relatively low, and accurate stepping amount control can be realized by adopting a stepping motor for driving, so that the PELCO protocol only needs to be improved, and related contents are disclosed in a serial port communication protocol based on ball machine control (application number: 201610555808.5). The zoom lens is particularly referred to as a motorized zoom lens in engineering application, has higher technical threshold, and particularly is a long-focus motorized zoom lens which is often imported only, mainly takes the Japanese brand, and basically only provides a native PELCO protocol, so that the requirement of precise matching control cannot be met in the linkage with other systems.
Disclosure of Invention
In order to overcome the defect of fuzzy one-way control of the image pickup monitoring equipment in the existing image pickup tracking system, the invention provides the image pickup monitoring equipment matching control method based on the pixel coordinates.
The invention relates to a camera monitoring equipment matching control method based on pixel coordinates, which comprises the following steps:
s01: a camera acquires a collected image; calibrating a target and acquiring a pixel coordinate of the target;
s02: sequentially executing steps S03 and S04, or executing S04 and then executing S03; completing the matching control of the camera shooting monitoring equipment based on the pixel coordinates;
the S03 is as follows: according to the current value P of the target ratio1Current value of horizontal angle of view theta of camera1Setting the target ratio to a set value P2Converting into a set value theta of horizontal visual angle of the camera2
Figure GDA0002404295820000021
According to the obtained horizontal visual angle set value theta of the camera2Controlling the zoom lens of the camera to enable the proportion of the target in the picture to reach a set proportion;
the S04 is as follows: obtaining a target angle offset according to the central coordinate of the target and the central coordinate of the collected image; and adjusting the camera according to the target angle offset to return the target to the center of the picture.
As a preferred aspect of the present invention, the method for controlling a zoom lens of a camera specifically comprises:
the camera comprises a camera shooting tracking host, an external hardware module and a zoom lens;
uniformly dividing the focal length of the zoom lens into N gears, and recording delta t as the time required by adjacent gear change; then
Figure GDA0002404295820000022
T is the moving time of the focal length of the motorized zoom lens from the maximum value to the minimum value or from the minimum value to the maximum value, and a lens gear-visual angle comparison table is established;
according to the lens gear-visual angle comparison table, the camera shooting tracking host machine sets the horizontal visual angle of the camera to be a set value theta2Converting into a gear setting gear n 2; the camera shooting tracking host sends gear setting information to the external hardware module, and the external hardware module compares the current gear to generate a focal length moving instruction to control the zoom lens and periodically feeds back the current gear to the camera shooting tracking host.
As a preferred scheme of the invention, the external hardware module receives a command from the camera tracking host, and updates the set gear n2 after verification;
every delta t time, the external hardware module judges the following steps: judging the current focal length control direction Dir, wherein a positive number indicates increasing, a negative number indicates decreasing, and 0 indicates stopping; calculating a gear potential difference delta n which is n2-n1, wherein the positive delta n represents that the focal length needs to be increased, the negative delta n represents that the focal length needs to be decreased, and 0 represents that the focal length value is just right;
and changing the current focal length control direction according to the values corresponding to the delta n and the Dir, and simultaneously returning the current gear value to the camera monitoring host.
The invention improves the native PELCO control protocol, realizes the quantitative stepping control and the periodic feedback of the zoom value of the zoom lens and the visual angle value of the camera; constructing a mathematical geometric model for calculating and correcting the target ratio, and further obtaining a calculation formula of a set value of a visual angle of the camera, so that the target pixel size ratio reaches the set value; and (3) constructing a mathematical geometric model for calculating and correcting the target offset, and further obtaining a calculation formula of the rotation value of the rotating holder, so that the target returns to the center of the picture. Through effect experiments, the invention can realize accurate and stable control of the camera monitoring equipment, so that the size of the visual angle of the equipment is self-matched with the size of a target, and the direction of the visual angle is self-matched with the movement amount of the target.
The method not only can realize the accurate control and feedback of the visual angle and orientation of the camera monitoring equipment, but also can realize the accurate matching calculation with the pixel coordinate, so that the target can return to the center of the picture and reach the set proportion.
Drawings
FIG. 1 is a schematic diagram of the connection of external hardware modules according to the present invention;
FIG. 2 is a logic diagram of the external hardware module according to the present invention;
FIG. 3 is a diagram of a camera imaging geometry model;
fig. 4 is a diagram of the effect of the present invention.
Detailed Description
The invention will be further illustrated and described with reference to specific embodiments. The technical features of the embodiments of the present invention can be combined correspondingly without mutual conflict.
Zoom lens control protocol improvement
In the prior art, the precise focal length control and feedback of the zoom lens cannot be realized through the native control protocol PELCO of the zoom lens, so that the protocol is improved and gear control is added in the embodiment.
The gear control method divides the focal length of the zoom lens into N gears approximately uniformly, the minimum value is recorded as 1 gear, and after the zoom lens is moved to the increasing direction for time delta t, the minimum value is recordedAnd 2, and the like until the maximum value is N gear. And delta T is the time required by adjacent gear shifting, and the time from the maximum value to the minimum value of the focal length of the motorized zoom lens (and conversely, the time is still consistent) is recorded as T, then
Figure GDA0002404295820000031
And establishing a lens gear-visual angle comparison table.
The external hardware module is schematically connected as shown in fig. 1, and is located between the camera tracking host and the zoom lens. The camera shooting tracking host sends a gear set value to the external hardware module through a user-defined protocol, the external hardware module generates a focal length moving instruction to control the zoom lens by comparing with the current gear, and the current gear is periodically fed back to the camera shooting tracking host.
Based on the PELCO-D protocol, a gear transmission/feedback command format is designed, as shown in Table 1, wherein byte 1 is a synchronization byte, byte 2 is a device number, byte 4 is information category information, byte 6 is gear information, and byte 7 is a check value.
TABLE 1 Camera tracking host gear position transmission/feedback command format
Command Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7
Gear setting 0xFF Device numbering 0x00 0x4f 0x00 Gear position Check Sum
Gear pass-back 0xFF Device numbering 0x00 0x5d 0x00 Gear position Check Sum
The internal logic of the external hardware module is shown in fig. 2, and the main part is serial port interrupt and timer interrupt. And the serial port interrupt receives a command from the camera tracking host, and the set gear n2 is updated after verification. Triggering once every delta t time by timed interruption, judging the current focal length control direction Dir after triggering, wherein a positive number indicates increasing, a negative number indicates decreasing, and 0 indicates stopping; if the value is not 0, the action is represented to have been executed for a delta t period, and corresponding addition and subtraction operations need to be carried out on the current state n 1; calculating a gear potential difference delta n which is n2-n1, wherein the positive delta n represents that the focal length needs to be increased, the negative delta n represents that the focal length needs to be decreased, and 0 represents that the focal length value is just right; the comprehensive judgment of the Δ n and the Dir has 9 cases, and the classified cases have 5 cases:
a) delta n is greater than 0, Dir is less than or equal to 0, the current focal length control direction is inconsistent with the gear change requirement, the gear requirement is increased, and an 'increase' instruction is sent;
b) delta n is less than 0, Dir is more than or equal to 0, the current focal length control direction is inconsistent with the gear change requirement, the gear requirement is reduced, and a reduction command is sent;
c) Δ n is 0, Dir! When the current gear is consistent with the set gear, and the focal length control direction is not stopped, a 'stop' instruction is sent;
d) delta n x Dir is more than 0, the current focal length control direction is consistent with the gear change requirement, the current change is kept, and no command is sent;
e) when Δ n is Dir 0, the focus control is finished and no command is sent.
And changing the current focal length control direction according to the corresponding value, and simultaneously returning the current gear value to the camera monitoring host, wherein the returning format is shown in a 'gear return' column in table 1.
Second, calculating and correcting target ratio
The camera imaging geometry model is shown in fig. 3, where the camera horizontal view angle is θ, the surveillance distance is L, the target diameter is D, and the surveillance range diameter is D. For convenience, the current value of a parameter is indexed by 1, e.g., θ1And D1While the parameter set point index is 2, e.g. θ2And D2
The resolution of the acquired image is recorded as [ I ]h,Iv](h is a horizontal axis, v is a vertical axis). The target pixel coordinate value is [ [ L ]h,Lv],[Rh,Rv]]Wherein the former is the coordinate value of the pixel at the upper left corner of the target calibration frame, and the latter is the value of the lower right corner.
The geometric relationship is described as shown in equation (2.1):
Figure GDA0002404295820000051
let the ratio of the target in the image be P, and similarly, let the current value of the target ratio be P1The set value is set to P2,P1And P2As shown in equation (2.2):
Figure GDA0002404295820000052
by eliminating the monitoring distance L and the monitoring range diameter D in the formula (2.1) and the formula (2.2), the formula (2-3) can be obtained:
Figure GDA0002404295820000053
wherein the target ratio current value P1As shown in (2.4):
Figure GDA0002404295820000054
thus, according to the current value P of the target ratio1The current value theta of the horizontal visual angle of the camera is the target ratio set value P2Converting into a set value theta of horizontal visual angle of the camera2And then, the visual angle control is realized according to the improved control protocol of the motorized zoom lens, so that the target ratio is proper. Target ratio set point P2The effect is better when the concentration is set to be 8-13%.
Third, target offset calculation and correction
The resolution of the acquired image is recorded as [ I ]h,Iv](h is a horizontal axis, v is a vertical axis). The target pixel coordinate value is [ [ L ]h,Lv],[Rh,Rv]]Wherein the former is the coordinate value of the pixel at the upper left corner of the target calibration frame, and the latter is the value of the lower right corner. The imaging visual angle of the camera is [ theta ]hv]。
Target center coordinate [ C ]h,Cv]As shown in equation (3.1):
Figure GDA0002404295820000055
the image center coordinates are
Figure GDA0002404295820000056
The target pixel shift amount is the difference between the target center and the image center coordinate
Figure GDA0002404295820000057
Then, through the geometric relation, the target angle offset [ O ] can be deducedh,Ov]As shown in equation (3.2):
Figure GDA0002404295820000061
θvcan be expressed as formula (3.3):
Figure GDA0002404295820000062
let theta equal to thetahFormula (3.4) can be simplified from formula (3.1) to formula (3.3):
Figure GDA0002404295820000063
rotation angle of the rotary head, i.e. target angle offset [ O ]h,Ov]The parameter involved includes the image resolution [ I ] as shown in equation (3.4)h,Iv]Target pixel coordinate value [ [ L ]h,Lv],[Rh,Rv]]And a camera horizontal imaging view angle theta. The current rotating cradle head often supports angle accurate control, so the current rotating cradle head can be directly connected with a camera tracking host or forwarded through an external hardware module.
The technical scheme of the invention is used for tracking and controlling the actual unmanned aerial vehicle, and the effect is shown in figure 4.
The method comprises the steps of returning the target to the center of the picture and enabling the proportion of the target in the picture to reach the set proportion, wherein the execution sequence between the two steps is not required. In the embodiment shown in fig. 4, the step of returning the object to the center of the screen is performed first. In fig. 4, lines a and b are visible and infrared tracking for a four-axis drone, and lines c and d are visible and infrared tracking for a six-axis drone. The 1 st column completes the identification of the unmanned aerial vehicle, calibrates the unmanned aerial vehicle and acquires the pixel coordinates of the unmanned aerial vehicle; column 2, completing the matching control of the rotating pan-tilt, and returning the target to the center of the picture; column 3 completes zoom camera control to make the ratio of the target in the frame reach the set ratio.
The effect graph shows that the invention can realize the quantitative stepping control and the periodic feedback of the zoom value of the zoom lens and the visual angle value of the camera by improving the native PELCO control protocol, can realize the accurate and stable control of the camera monitoring equipment, and can ensure that the visual angle of the equipment is self-matched with the target size and the visual angle direction is self-matched with the target movement amount.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (5)

1.一种基于像素坐标的摄像监视设备匹配控制方法,其特征在于包括如下步骤:1. a camera monitoring device matching control method based on pixel coordinates, is characterized in that comprising the steps: S01:摄像机获取采集图像;标定目标并获取其像素坐标;S01: The camera obtains the captured image; calibrates the target and obtains its pixel coordinates; S02:依次执行步骤S03、S04,或者先执行S04后执行S03;完成基于像素坐标的摄像监视设备匹配控制;S02: execute steps S03 and S04 in sequence, or execute S04 first and then execute S03; complete the pixel coordinate-based camera monitoring device matching control; 所述的S03为:根据目标占比当前值P1,摄像机水平视角当前值θ1,将目标占比设定值P2换算成摄像机水平视角设定值θ2The described S03 is: according to the current value P 1 of the target ratio and the current value θ 1 of the horizontal viewing angle of the camera, converting the set value P 2 of the target ratio into the set value θ 2 of the horizontal viewing angle of the camera;
Figure FDA0002818995340000011
Figure FDA0002818995340000011
根据获得的摄像机水平视角设定值θ2,对摄像机变焦镜头进行控制,使目标在画面中占比值达到设定比例;Control the zoom lens of the camera according to the obtained set value θ 2 of the horizontal angle of view of the camera, so that the proportion of the target in the picture reaches the set ratio; 所述的对摄像机变焦镜头进行控制的方法具体为:The method for controlling the zoom lens of the camera is specifically: 摄像机包括摄像跟踪主机、外置硬件模块和变焦镜头;The camera includes a camera tracking host, an external hardware module and a zoom lens; 将变焦镜头的焦距均匀地划分为N档,记Δt为相邻档位变换所需时间;则
Figure FDA0002818995340000012
T为将电动变焦镜头焦距从最大值到最小值或从最小值到最大值的移动时间,建立镜头档位-视角对照表;
The focal length of the zoom lens is evenly divided into N gears, and Δt is the time required for the adjacent gears to change; then
Figure FDA0002818995340000012
T is the moving time of the focal length of the electric zoom lens from the maximum value to the minimum value or from the minimum value to the maximum value, and establishes a lens gear-viewing angle comparison table;
根据镜头档位-视角对照表,摄像跟踪主机将摄像机水平视角设定值θ2换算为档位设定档位n2;摄像跟踪主机向外置硬件模块发送档位设置信息,外置硬件模块对比当前档位生成焦距移动指令控制变焦镜头,并将当前档位周期性反馈回传给摄像跟踪主机;According to the lens gear-viewing angle comparison table, the camera tracking host converts the camera horizontal viewing angle setting value θ2 into the gear setting gear n2 ; the camera tracking host sends gear setting information to the external hardware module, and the external hardware module compares The current gear generates a focal length movement command to control the zoom lens, and periodically feeds back the current gear to the camera tracking host; 所述的S04为:根据目标的中心坐标和采集图像中心坐标,得到目标角度偏移量;根据目标角度偏移量对摄像机进行调整,使目标回到画面中央。The step S04 is: obtaining the target angle offset according to the center coordinates of the target and the center coordinates of the collected image; adjusting the camera according to the target angle offset to make the target return to the center of the screen.
2.根据权利要求1所述的基于像素坐标的摄像监视设备匹配控制方法,其特征在于摄像跟踪主机与外置硬件模块进行通信的命令格式为:2. the camera monitoring device matching control method based on pixel coordinates according to claim 1, is characterized in that the command format that camera tracking host communicates with external hardware module is: 命令Order 字节1byte 1 字节2byte 2 字节3byte 3 字节4byte 4 字节5byte 5 字节6byte 6 字节7byte 7 档位设置Gear setting 0xFF0xFF 设备编号device ID 0x000x00 0x4f0x4f 0x000x00 档位gear Check SumCheck Sum 档位回传Gear return 0xFF0xFF 设备编号device ID 0x000x00 0x5d0x5d 0x000x00 档位gear Check SumCheck Sum
其中,字节1为同步字节,字节2为设备编号,字节4为信息类别信息,字节6为档位信息,字节7为校验值Check Sum。Among them, byte 1 is the synchronization byte, byte 2 is the device number, byte 4 is the information type information, byte 6 is the gear information, and byte 7 is the check value Check Sum.
3.根据权利要求1所述的基于像素坐标的摄像监视设备匹配控制方法,其特征在于所述的外置硬件模块接收来自摄像跟踪主机的命令,校验后更新设定档位n2;3. The camera monitoring device matching control method based on pixel coordinates according to claim 1, is characterized in that the described external hardware module receives the order from the camera tracking host, and the set position n2 is updated after the verification; 每Δt时间,外置硬件模块进行一次如下判断:判断当前焦距控制方向Dir,正数表示增大,负数表示减小,0表示停止;计算档位差Δn=n2-n1,Δn为正表示焦距需要增大,为负表示焦距需要减小,0表示焦距值正好恰当;n1为当前档位;Every Δt time, the external hardware module makes the following judgment: Judging the current focal length control direction Dir, positive number means increase, negative number means decrease, 0 means stop; calculate the gear difference Δn=n2-n1, Δn is positive means the focal length Need to increase, negative means the focal length needs to be reduced, 0 means the focal length value is just right; n1 is the current gear; 根据Δn和Dir对应的值更改当前焦距控制方向,同时向摄像监视主机返回当前档位值。Change the current focus control direction according to the values corresponding to Δn and Dir, and return the current gear value to the camera monitoring host at the same time. 4.根据权利要求3所述的基于像素坐标的摄像监视设备匹配控制方法,其特征在于:所述的根据Δn和Dir对应的值更改当前焦距控制方向具体为:4. The pixel coordinate-based camera monitoring device matching control method according to claim 3, wherein the changing the current focus control direction according to the corresponding values of Δn and Dir is specifically: a)Δn>0,Dir≤0,当前焦距控制方向与档位变换要求不一致,且档位要求变大,应发送“增大”指令;a) Δn>0, Dir≤0, the current focal length control direction is inconsistent with the gear shift requirement, and the gear requirement becomes larger, the "increase" command should be sent; b)Δn<0,Dir≥0,当前焦距控制方向与档位变换要求不一致,且档位要求变小,应发送“减小”指令;b) Δn<0, Dir≥0, the current focal length control direction is inconsistent with the gear shift requirement, and the gear position requirement becomes smaller, a "decrease" command should be sent; c)Δn=0,Dir!=0,当前档位与设定档位一致,同时焦距控制方向不为停止,应发送“停止”指令;c) Δn=0, Dir! =0, the current gear is consistent with the set gear, and the focus control direction is not stop, and the "stop" command should be sent; d)Δn*Dir>0,当前焦距控制方向与档位变换要求一致,应保持当前变换,不发送任何指令;d) Δn*Dir>0, the current focal length control direction is consistent with the gear change requirements, the current change should be maintained, and no command should be sent; e)Δn=Dir=0,焦距控制结束,不发送任何指令。e) Δn=Dir=0, the focus control ends, and no command is sent. 5.根据权利要求1所述的基于像素坐标的摄像监视设备匹配控制方法,其特征在于:所述目标角度偏移量的获取方法为:5. The pixel coordinate-based camera monitoring device matching control method according to claim 1, wherein the method for obtaining the target angle offset is: 采集图像分辨率记为[Ih,Iv],其中h为横轴,v为竖轴;目标像素坐标值为[[Lh,Lv],[Rh,Rv]],其中[Lh,Lv]为目标标定框左上角像素坐标值,[Rh,Rv]为右下角值;相机成像视角为[θhv],The resolution of the collected image is recorded as [I h , I v ], where h is the horizontal axis and v is the vertical axis; the target pixel coordinate values are [[L h , L v ], [R h , R v ]], where [ L h , L v ] is the pixel coordinate value of the upper left corner of the target calibration frame, [R h , R v ] is the lower right corner value; the camera imaging angle is [θ h , θ v ], 目标中心坐标[Ch,Cv]如公式(3.1)所示:The target center coordinates [C h , C v ] are shown in formula (3.1):
Figure FDA0002818995340000021
Figure FDA0002818995340000021
图像中心坐标为
Figure FDA0002818995340000022
目标像素偏移量为目标中心与图像中心坐标之差
Figure FDA0002818995340000023
通过几何关系,推出目标角度偏移量[Oh,Ov],如公式(3.2)所示:
The coordinates of the center of the image are
Figure FDA0002818995340000022
The target pixel offset is the difference between the target center and the image center coordinates
Figure FDA0002818995340000023
Through the geometric relationship, the target angle offset [O h ,O v ] is derived, as shown in formula (3.2):
Figure FDA0002818995340000031
Figure FDA0002818995340000031
θv被表示为公式(3.3):θ v is expressed as Equation (3.3):
Figure FDA0002818995340000032
Figure FDA0002818995340000032
相机水平成像视角θh记为θ,对公式(3.1)至公式(3.3)化简可得公式(3.4):The camera horizontal imaging angle θ h is recorded as θ, and formula (3.4) can be obtained by simplifying formula (3.1) to formula (3.3):
Figure FDA0002818995340000033
Figure FDA0002818995340000033
CN201911250263.7A 2019-12-09 2019-12-09 Camera monitoring equipment matching control method based on pixel coordinates Active CN111083360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911250263.7A CN111083360B (en) 2019-12-09 2019-12-09 Camera monitoring equipment matching control method based on pixel coordinates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911250263.7A CN111083360B (en) 2019-12-09 2019-12-09 Camera monitoring equipment matching control method based on pixel coordinates

Publications (2)

Publication Number Publication Date
CN111083360A CN111083360A (en) 2020-04-28
CN111083360B true CN111083360B (en) 2021-06-04

Family

ID=70313381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911250263.7A Active CN111083360B (en) 2019-12-09 2019-12-09 Camera monitoring equipment matching control method based on pixel coordinates

Country Status (1)

Country Link
CN (1) CN111083360B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242969B (en) * 2022-06-22 2023-10-13 天翼数字生活科技有限公司 Method and system for controlling rotation of network camera
CN116543141A (en) * 2022-12-16 2023-08-04 无锡恺韵来机器人有限公司 A UAV identification and positioning method based on acoustic signal and image fusion

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098499A (en) * 2011-03-24 2011-06-15 杭州华三通信技术有限公司 Pan/ tilt/ zoom (PTZ) camera control method, device and system thereof
CN102591366A (en) * 2012-02-17 2012-07-18 广州盈可视电子科技有限公司 Method and device for controlling cloud deck
CN103581614A (en) * 2012-08-01 2014-02-12 通号通信信息集团有限公司 Method and system for tracking targets in video based on PTZ
CN103905792A (en) * 2014-03-26 2014-07-02 武汉烽火众智数字技术有限责任公司 3D positioning method and device based on PTZ surveillance camera
CN105744234A (en) * 2016-04-06 2016-07-06 中国民用航空总局第二研究所 Linkage method for tracking moving object based on pixel differential ratio and system thereof
CN106209858A (en) * 2016-07-15 2016-12-07 厦门博聪信息技术有限公司 A kind of serial communication protocol controlled for ball machine
CN106791586A (en) * 2015-11-19 2017-05-31 杭州海康威视数字技术股份有限公司 A kind of method and monitoring device, device, system being monitored to mobile target

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9781350B2 (en) * 2015-09-28 2017-10-03 Qualcomm Incorporated Systems and methods for performing automatic zoom

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098499A (en) * 2011-03-24 2011-06-15 杭州华三通信技术有限公司 Pan/ tilt/ zoom (PTZ) camera control method, device and system thereof
CN102591366A (en) * 2012-02-17 2012-07-18 广州盈可视电子科技有限公司 Method and device for controlling cloud deck
CN103581614A (en) * 2012-08-01 2014-02-12 通号通信信息集团有限公司 Method and system for tracking targets in video based on PTZ
CN103905792A (en) * 2014-03-26 2014-07-02 武汉烽火众智数字技术有限责任公司 3D positioning method and device based on PTZ surveillance camera
CN106791586A (en) * 2015-11-19 2017-05-31 杭州海康威视数字技术股份有限公司 A kind of method and monitoring device, device, system being monitored to mobile target
CN105744234A (en) * 2016-04-06 2016-07-06 中国民用航空总局第二研究所 Linkage method for tracking moving object based on pixel differential ratio and system thereof
CN106209858A (en) * 2016-07-15 2016-12-07 厦门博聪信息技术有限公司 A kind of serial communication protocol controlled for ball machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于视频监控的数字控制系统设计》;陈卫国等;《低压电器》;20080830;第9-12页 *

Also Published As

Publication number Publication date
CN111083360A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
EP3389268B1 (en) Depth information acquisition method and apparatus, and image collection device
CN105676880A (en) Control method and system of holder camera device
CN111083360B (en) Camera monitoring equipment matching control method based on pixel coordinates
US10009595B2 (en) Image calibration system and calibration method of a stereo camera
CN104243833B (en) Camera posture adjusting method and device
US12200361B2 (en) Imaging support device that performs registration control for setting a detected subject image position, imaging support system, imaging system, imaging support method, and program
US11678055B2 (en) Imaging support device, imaging support system, imaging system, imaging support method, and program
CN106600644A (en) Parameter correction method and device of panoramic camera
WO2021037288A2 (en) Method for imaging calibration for dual-lens camera, apparatus, and dual-lens camera
CN107492080B (en) Calibration-free convenient monocular head image radial distortion correction method
CN104767930A (en) Device used for image correction and method
WO2021022989A1 (en) Calibration parameter obtaining method and apparatus, processor, and electronic device
US20230341079A1 (en) Control method based on image capturing apparatus, control method and apparatus for gimbal
WO2022057800A1 (en) Gimbal camera, gimbal camera tracking control method and apparatus, and device
CN102663718A (en) Method and system for deblurring of gloablly inconsistent image
KR101111503B1 (en) Apparatus for controlling Pan/Tilt/Zoom camera in omnidirectional and method for the same
CN105282420A (en) Shooting realization method and device
CN110248148B (en) Method and device for determining positioning parameters
JP6546553B2 (en) Image stabilization method and system
US9787891B2 (en) Focus control apparatus and focus control method
CN104811688B (en) Image acquisition device and image deformation detection method thereof
CN104424601B (en) Centering assembly method and device for special-shaped body assembly parts
CN111179180B (en) Image correction method and device
CN107368104A (en) Any independent positioning method based on cell phone application and domestic intelligent monopod video camera
CN110848907A (en) Control method of air conditioner, air conditioner and computer readable storage medium

Legal Events

Date Code Title Description
PB01 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