CN105551032B - The shaft tower image capturing system and its method of a kind of view-based access control model servo - Google Patents
The shaft tower image capturing system and its method of a kind of view-based access control model servo Download PDFInfo
- Publication number
- CN105551032B CN105551032B CN201510907446.7A CN201510907446A CN105551032B CN 105551032 B CN105551032 B CN 105551032B CN 201510907446 A CN201510907446 A CN 201510907446A CN 105551032 B CN105551032 B CN 105551032B
- Authority
- CN
- China
- Prior art keywords
- tower
- image
- real
- rotation
- pan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000000007 visual effect Effects 0.000 claims abstract description 30
- 238000007689 inspection Methods 0.000 claims abstract description 9
- 239000011159 matrix material Substances 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 7
- 239000004020 conductor Substances 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 239000012636 effector Substances 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
- G06T7/001—Industrial image inspection using an image reference approach
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D3/00—Control of position or direction
- G05D3/12—Control of position or direction using feedback
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Manipulator (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
本发明公开了基于视觉伺服的杆塔图像采集系统及其方法,该方法包括步骤(1):依据巡检要求,采用云台上的摄像机获取杆塔的视频信息并从视频中截取一帧实时图像;步骤(2):识别并定位杆塔在截取的实时图像中的位置;步骤(3):判断杆塔是否位于截取的实时图像的中央位置,若是,则进入步骤(5);否则,确定杆塔相对于截取的实时图像的中央位置的偏差;步骤(4):通过杆塔在图像中的位置确定云台的转动方向,然后根据步骤(3)获得的偏差确定云台的转动量;调整云台后,再次获取当前位置处的杆塔实时图像,转入执行步骤(2);步骤(5):从杆塔的某一角开始,以“S”型路径调整云台位置,同时采用云台上的相机进行采集杆塔图像。
The invention discloses a tower image acquisition system based on visual servoing and a method thereof. The method includes step (1): according to inspection requirements, a camera on a platform is used to obtain video information of a tower and a frame of real-time image is intercepted from the video; Step (2): Identify and locate the position of the tower in the intercepted real-time image; Step (3): Determine whether the tower is located in the central position of the intercepted real-time image, if so, proceed to step (5); otherwise, determine the position of the tower relative to The deviation of the central position of the real-time image intercepted; Step (4): determine the direction of rotation of the cloud platform by the position of the pole tower in the image, then determine the amount of rotation of the platform according to the deviation obtained in step (3); after adjusting the platform, Get the real-time image of the tower at the current position again, and turn to step (2); step (5): start from a certain corner of the tower, adjust the position of the pan-tilt with an "S"-shaped path, and use the camera on the pan-tilt to collect Tower image.
Description
技术领域technical field
本发明涉及数字图像处理领域,尤其涉及一种基于视觉伺服的杆塔图像采集系统及其方法。The invention relates to the field of digital image processing, in particular to a visual servo-based tower image acquisition system and a method thereof.
背景技术Background technique
杆塔是架空输电线路的重要组成部分,其作用是支撑架空线路导线和架空地线,并使导线与导线之间,导线和架空地线之间,导线与杆塔之间,以及导线对大地和交叉跨越物之间有足够的安全距离。由于杆塔长期暴露在自然环境中,受到自然或者人为因素的影响,存在螺丝松动、脱落,杆塔歪斜,塔基裸露等问题。如果不对这些存在问题的杆塔进行定期的巡查和检修,将会影响到整个电网的正常运行甚至有可能引发重大安全事故。The tower is an important part of the overhead transmission line. Its function is to support the overhead line conductor and the overhead ground wire, and to make the connection between the conductor and the conductor, between the conductor and the overhead ground wire, between the conductor and the tower, and between the conductor and the ground and the cross There is sufficient safety distance between jumping objects. Due to the long-term exposure of the tower to the natural environment and the influence of natural or human factors, there are problems such as loosening and falling off of the screws, skewing of the tower, and exposed tower base. If these problematic towers are not regularly inspected and overhauled, it will affect the normal operation of the entire power grid and may even cause major safety accidents.
通过无人机搭载可见光、红外设备对杆塔进行巡检及图像信息采集,可以及时的发现杆塔存在的问题而且有效地弥补了人工巡检存在的不足。但是目前基于无人机的杆塔图像信息采集方式是,操控人员观察地面站返回的视频信息调整机载云台以完成杆塔的信息采集,这要求操控人员要实时的观察地面站的反馈信息,劳动强度较大。如何利用杆塔识别技术与视觉伺服技术自动完成杆塔信息采集显得尤为重要。By carrying visible light and infrared equipment on the UAV to inspect the tower and collect image information, the problems existing in the tower can be found in time and the shortcomings of manual inspection can be effectively made up for. However, the current method of collecting image information of towers based on drones is that the operator observes the video information returned by the ground station and adjusts the on-board pan/tilt to complete the information collection of the tower. This requires the operator to observe the feedback information of the ground station in real time. Stronger. How to use tower recognition technology and visual servo technology to automatically complete tower information collection is particularly important.
现有的基于视觉伺服的系统中,山东省电科院提出的基于视觉伺服的输电线路无人机巡检云台控制(专利号:CN 1029292880A)虽然设计利用视觉伺服技术调整云台实现输电线路的跟踪,但是这一专利仅仅是利用视觉伺服技术来实现线路的跟踪功能,对如何针对杆塔获取高质量的图像这一关键技术没有进行描述。Among the existing visual servo-based systems, the vision-servo-based UAV inspection platform control for transmission lines proposed by Shandong Electric Power Research Institute (Patent No.: CN 1029292880A) is designed to use visual servo technology to adjust the platform to realize transmission line inspection. tracking, but this patent only uses visual servo technology to realize the line tracking function, and does not describe the key technology of how to obtain high-quality images for towers.
发明内容Contents of the invention
为了解决现有技术的缺点,本发明提供一种基于视觉伺服的杆塔图像采集系统及其方法。本发明利用杆塔识别技术识别定位出视频中的杆塔位置;然后通过视觉伺服技术调整机载云台的位置,将高清相机定位到杆塔;最后进行拍照以完成对杆塔的信息采集,从而提高杆塔信息采集的准确性和采集图像的质量。In order to solve the shortcomings of the prior art, the present invention provides a visual servo-based tower image acquisition system and method thereof. The present invention utilizes tower identification technology to identify and locate the position of the tower in the video; then adjusts the position of the airborne pan/tilt through visual servo technology, and locates the high-definition camera to the tower; finally takes pictures to complete the information collection of the tower, thereby improving the information of the tower Accuracy of acquisition and quality of acquired images.
为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种基于视觉伺服的杆塔图像采集系统,包括:A visual servo-based tower image acquisition system, comprising:
无人机,所述无人机上载有云台,云台上安装有相机和摄像机;所述摄像机用于获取杆塔的视频信息;Unmanned aerial vehicle, described unmanned aerial vehicle is loaded with cloud platform, and camera and video camera are installed on the cloud platform; Described camera is used for obtaining the video information of tower;
图像截取模块,其用于从获取杆塔的视频信息中截取一帧实时图像;An image interception module, which is used to intercept a frame of real-time image from the video information of the tower;
杆塔识别定位模块,其用于识别并定位杆塔在截取的实时图像中的位置;A tower identification and positioning module, which is used to identify and locate the position of the tower in the intercepted real-time image;
杆塔位置判断模块,其用于判断杆塔是否位于截取的实时图像的中央位置;Tower position judging module, which is used to judge whether the tower is located in the central position of the intercepted real-time image;
云台控制模块,其用于当杆塔不位于截取的实时图像的中央位置时,采用基于图像的视觉伺服的方式来控制云台转动,通过杆塔在图像中的位置确定云台的转动方向;The pan-tilt control module is used to control the rotation of the pan-tilt by means of image-based visual servoing when the pole-tower is not located in the central position of the captured real-time image, and determines the direction of rotation of the pan-tilt by the position of the pole-tower in the image;
图像采集模块,根据获得的偏差确定云台的转动量,当杆塔位于截取的实时图像的中央位置时,从杆塔的某一角开始,以“S”型路径调整云台位置,同时采用云台上的相机进行杆塔图像采集。The image acquisition module determines the rotation amount of the pan/tilt according to the obtained deviation. When the tower is located in the center of the captured real-time image, start from a certain corner of the tower and adjust the position of the pan/tilt with an "S"-shaped path. camera for tower image acquisition.
所述相机与摄像机在云台上处于同轴的位置。The camera and the video camera are coaxial on the platform.
所述相机为单目相机。The camera is a monocular camera.
所述杆塔识别定位模块,包括:The tower identification and positioning module includes:
直线检测模块,其用于利用LSD直线检测算法对获取的实时图像进行直线检测;A straight line detection module, which is used to utilize the LSD straight line detection algorithm to carry out straight line detection to the acquired real-time image;
杆塔定位模块,其用于将实时图像分割成若干个图像分块,统计每个图像分块中的直线数量,进而判断是否存在杆塔以及确定杆塔的位置。The tower positioning module is used to divide the real-time image into several image blocks, count the number of straight lines in each image block, and then judge whether there is a tower and determine the position of the tower.
一种基于视觉伺服的杆塔图像采集系统的杆塔图像采集方法,包括:A tower image acquisition method based on a visual servoing tower image acquisition system, comprising:
步骤(1):依据巡检要求,采用云台上的摄像机获取杆塔的视频信息并从视频中截取一帧实时图像;Step (1): According to the inspection requirements, use the camera on the platform to obtain the video information of the tower and intercept a frame of real-time image from the video;
步骤(2):识别并定位杆塔在截取的实时图像中的位置;Step (2): Identify and locate the position of the tower in the intercepted real-time image;
步骤(3):判断杆塔是否位于截取的实时图像的中央位置,若是,则进入步骤(5);否则,确定杆塔相对于截取的实时图像的中央位置的偏差,并进入下一步;Step (3): determine whether the tower is located at the central position of the intercepted real-time image, if so, then enter step (5); otherwise, determine the deviation of the tower relative to the central position of the intercepted real-time image, and enter the next step;
步骤(4):采用基于图像的视觉伺服的方式来控制云台转动,通过杆塔在图像中的位置确定云台的转动方向,然后根据步骤(3)获得的偏差确定云台的转动量;调整云台后,再次获取当前位置处的杆塔实时图像,转入执行步骤(2);Step (4): Use image-based visual servoing to control the rotation of the pan-tilt, determine the rotation direction of the pan-tilt by the position of the tower in the image, and then determine the amount of rotation of the pan-tilt according to the deviation obtained in step (3); adjust After the cloud platform, obtain the real-time image of the tower at the current position again, and proceed to the execution step (2);
步骤(5):从杆塔的某一角开始,以“S”型路径调整云台位置,同时采用云台上的相机进行采集杆塔图像。Step (5): Starting from a certain corner of the tower, adjust the position of the pan-tilt with an "S"-shaped path, and at the same time use the camera on the pan-tilt to collect images of the tower.
所述步骤(2)的具体过程为:The concrete process of described step (2) is:
首先,利用LSD直线检测算法进行直线检测获取的实时图像;First, the real-time image obtained by line detection using the LSD line detection algorithm;
然后,将实时图像分割成若干个图像分块,统计每个图像分块中的直线数量,进而判断是否存在杆塔以及确定杆塔的位置。Then, the real-time image is divided into several image blocks, the number of straight lines in each image block is counted, and then it is judged whether there is a tower and the position of the tower is determined.
所述步骤(4)中采用基于图像的视觉伺服的方式来控制云台转动的具体过程为:Adopt the mode of image-based visual servoing to control the concrete process that the pan-tilt rotates in the described step (4):
步骤(4.1):定位到包含杆塔部件的右上角的图像分块,提取该图像分块的SURF特征F1;Step (4.1): locate the image block containing the upper right corner of the tower component, and extract the SURF feature F 1 of the image block;
步骤(4.2):根据该图像分块的位置决定云台的转动方向,云台的转动方向为使得杆塔向图像中心偏移的方向;然后将云台转动最小单位,获取当前位置处的杆塔图像,并提取其SURF特征F2;Step (4.2): Determine the rotation direction of the pan/tilt according to the position of the image block. The rotation direction of the pan/tilt is the direction that makes the tower shift to the center of the image; then rotate the pan/tilt by the smallest unit to obtain the tower image at the current position , and extract its SURF feature F 2 ;
步骤(4.3):匹配特征F1与F2,并计算F1与F2的匹配点对在像素级别上的偏移量;Step (4.3): Match features F 1 and F 2 , and calculate the pixel-level offset of the matching point pair between F 1 and F 2 ;
步骤(4.4):根据特征偏移量与云台转动量之间的线性映射关系,得到云台转动量。Step (4.4): According to the linear mapping relationship between the characteristic offset and the pan-tilt rotation, the pan-tilt rotation is obtained.
所述步骤(4.3)中,利用RANSAC随机采样来剔除误匹配的特征对,获取特征的匹配矩阵H,由对应关系可得到两个特征的匹配方程为:F2=HF1。In the step (4.3), RANSAC random sampling is used to eliminate mismatched feature pairs, and the matching matrix H of the features is obtained, and the matching equation of the two features can be obtained from the corresponding relationship: F 2 =HF 1 .
所述步骤(4.4)中,特征偏移量与云台转动量之间的线性映射矩阵为当前图像的雅克比矩阵。In the step (4.4), the linear mapping matrix between the characteristic offset and the pan/tilt rotation is the Jacobian matrix of the current image.
本发明的有益效果为:The beneficial effects of the present invention are:
(1)本发明实现了在无人机巡检过程中对杆塔图像的自动采集,大大的降低了巡检人员的劳动强度,而且本发明采用基于图像的视觉伺服控制方式实现对云台控制,通过计算雅克比矩阵来描述图像像素信息与云台控制量间的对应关系;(1) The present invention realizes the automatic acquisition of the tower image during the inspection process of the drone, which greatly reduces the labor intensity of the inspection personnel, and the present invention adopts an image-based visual servo control mode to realize the control of the cloud platform, By calculating the Jacobian matrix to describe the corresponding relationship between the image pixel information and the control amount of the pan/tilt;
(2)本发明还根据杆塔的特性,设定“S”型路径拍照方式,保证了杆塔信息的完整性;(2) The present invention also sets "S" type path photographing mode according to the characteristics of the tower, which ensures the integrity of the tower information;
(3)本发明的杆塔图像的获取是基于单目相机完成,对设备要求较低,整体系统简单。(3) The acquisition of the tower image in the present invention is completed based on a monocular camera, which requires less equipment and the overall system is simple.
附图说明Description of drawings
图1是本发明的基于视觉伺服的杆塔图像采集方法的流程图;Fig. 1 is the flow chart of the tower image acquisition method based on visual servoing of the present invention;
图2是从获取杆塔的视频信息中截取一帧实时图像;Fig. 2 is to intercept a frame real-time image from the video information of obtaining tower;
图3是调整云台后获取的杆塔实时图像;Fig. 3 is the real-time image of the tower obtained after adjusting the cloud platform;
图4a)是本实施例采集的第一幅杆塔图像;Fig. 4 a) is the first pole tower image collected in the present embodiment;
图4b)是本实施例采集的第二幅杆塔图像;Fig. 4 b) is the second pole tower image collected in the present embodiment;
图4c)是本实施例采集的第三幅杆塔图像;Fig. 4c) is the third pole tower image collected in the present embodiment;
图4d)是本实施例采集的第四幅杆塔图像;Fig. 4 d) is the fourth tower image collected in the present embodiment;
图4e)是本实施例采集的第五幅杆塔图像;Fig. 4 e) is the fifth pole tower image collected in the present embodiment;
图4f)是本实施例采集的第六幅杆塔图像;Fig. 4 f) is the sixth tower image collected in the present embodiment;
图4g)是本实施例采集的第七幅杆塔图像;Fig. 4g) is the seventh pole tower image collected in the present embodiment;
图4h)是本实施例采集的第八幅杆塔图像;Fig. 4h) is the eighth tower image collected in the present embodiment;
图4i)是本实施例采集的第九幅杆塔图像。Fig. 4i) is the ninth tower image collected in this embodiment.
具体实施方式detailed description
下面结合附图与实施例对本发明做进一步说明:Below in conjunction with accompanying drawing and embodiment the present invention will be further described:
本发明的基于视觉伺服的杆塔图像采集系统,包括:The tower image acquisition system based on visual servoing of the present invention includes:
无人机,所述无人机上载有云台,云台上安装有相机和摄像机;所述摄像机用于获取杆塔的视频信息;Unmanned aerial vehicle, described unmanned aerial vehicle is loaded with cloud platform, and camera and video camera are installed on the cloud platform; Described camera is used for obtaining the video information of tower;
图像截取模块,其用于从获取杆塔的视频信息中截取一帧实时图像;An image interception module, which is used to intercept a frame of real-time image from the video information of the tower;
杆塔识别定位模块,其用于识别并定位杆塔在截取的实时图像中的位置;A tower identification and positioning module, which is used to identify and locate the position of the tower in the intercepted real-time image;
杆塔位置判断模块,其用于判断杆塔是否位于截取的实时图像的中央位置;Tower position judging module, which is used to judge whether the tower is located in the central position of the intercepted real-time image;
云台控制模块,其用于当杆塔不位于截取的实时图像的中央位置时,采用基于图像的视觉伺服的方式来控制云台转动,通过杆塔在图像中的位置确定云台的转动方向;The pan-tilt control module is used to control the rotation of the pan-tilt by means of image-based visual servoing when the pole-tower is not located in the central position of the captured real-time image, and determines the direction of rotation of the pan-tilt by the position of the pole-tower in the image;
图像获取模块:根据获得的偏差确定云台的转动量;当杆塔位于截取的实时图像的中央位置时,从杆塔的某一角开始,以“S”型路径调整云台位置,同时采用云台上的相机进行采集杆塔图像。Image acquisition module: determine the rotation amount of the pan/tilt according to the obtained deviation; when the tower is located at the center of the captured real-time image, start from a certain corner of the tower and adjust the position of the pan/tilt with an "S"-shaped path, and at the same time use the top of the pan/tilt The camera collects tower images.
其中,相机与摄像机在云台上处于同轴的位置。Wherein, the camera and the video camera are coaxial on the platform.
相机可采用单目相机。The camera can adopt a monocular camera.
进一步地,杆塔识别定位模块,包括:Further, the tower identification and positioning module includes:
直线检测模块,其用于利用LSD直线检测算法进行直线检测获取的实时图像;A line detection module, which is used to utilize the LSD line detection algorithm to carry out the real-time image obtained by line detection;
杆塔定位模块,其用于将实时图像分割成若干个图像分块,统计每个图像分块中的直线数量,进而判断是否存在杆塔以及确定杆塔的位置。The tower positioning module is used to divide the real-time image into several image blocks, count the number of straight lines in each image block, and then judge whether there is a tower and determine the position of the tower.
在采用基于图像的视觉伺服的方式来控制云台转动时,采用eye-in-hand的方式进行,云台有m个自由度,云台转动的角速度为q=[q1,…,qp],末端的线速度为r=[r1,…,rm],两者具有如下关系:When using the image-based visual servo method to control the rotation of the pan-tilt, the eye-in-hand method is used. The pan-tilt has m degrees of freedom, and the angular velocity of the pan-tilt rotation is q=[q 1 ,…,q p ], the linear velocity at the end is r=[r 1 ,…,r m ], the two have the following relationship:
r=Jr·qr=J r q
其中, in,
将云台的位置变换通过相机透视投影矩阵转换为图像参数的变化,从而获得图像特征空间与云台末端位置空间的变换关系。The position transformation of the pan/tilt is converted into the change of image parameters through the camera perspective projection matrix, so as to obtain the transformation relationship between the image feature space and the position space of the end of the pan/tilt.
假设当前图像的坐标为(x,y),最终变换关系为:Assuming that the coordinates of the current image are (x, y), the final transformation relationship is:
其中,f为相机焦距;in, f is the focal length of the camera;
u=[νx,νy,νz,ωx,ωy,ωz]T,vx,vy,vz分别表示相机沿x、y和z轴转动的线速度,ωx,ωy,ωz分别表示相机沿x、y和z轴转动的角速度。u=[ν x , ν y , ν z , ω x , ω y , ω z ] T , v x , v y , v z represent the linear velocity of the camera rotating along the x, y and z axes respectively, ω x , ω y , ω z represent the angular velocity of the camera along the x, y and z axes, respectively.
JImage为图像的雅克比矩阵,图像特征变化率与云台速度之间的关系由复合雅克比矩阵可用J=JImage·Jr表示。J Image is the Jacobian matrix of the image, and the relationship between the rate of change of the image feature and the speed of the pan/tilt is expressed by the composite Jacobian matrix as J=J Image ·J r .
如图1所示,本发明的基于视觉伺服的杆塔图像采集系统的杆塔图像采集方法,包括:As shown in Figure 1, the tower image acquisition method of the tower image acquisition system based on visual servoing of the present invention comprises:
步骤(1):依据巡检要求,采用云台上的摄像机获取杆塔的视频信息并从视频中截取一帧实时图像,如图2所示;Step (1): According to the inspection requirements, use the camera on the platform to obtain the video information of the tower and intercept a frame of real-time image from the video, as shown in Figure 2;
步骤(2):识别并定位杆塔在截取的实时图像中的位置;Step (2): Identify and locate the position of the tower in the intercepted real-time image;
步骤(3):判断杆塔是否位于截取的实时图像的中央位置,若是,则进入步骤(5);否则,确定杆塔相对于截取的实时图像的中央位置的偏差,并进入下一步;Step (3): determine whether the tower is located at the central position of the intercepted real-time image, if so, then enter step (5); otherwise, determine the deviation of the tower relative to the central position of the intercepted real-time image, and enter the next step;
步骤(4):采用基于图像的视觉伺服的方式来控制云台转动,通过杆塔在图像中的位置确定云台的转动方向,然后根据步骤(3)获得的偏差确定云台的转动量;调整云台后,再次获取当前位置处的杆塔实时图像,转入执行步骤(2);Step (4): Use image-based visual servoing to control the rotation of the pan-tilt, determine the rotation direction of the pan-tilt by the position of the tower in the image, and then determine the amount of rotation of the pan-tilt according to the deviation obtained in step (3); adjust After the cloud platform, obtain the real-time image of the tower at the current position again, and proceed to the execution step (2);
步骤(5):从杆塔的某一角开始,以“S”型路径调整云台位置,同时采用云台上的相机进行采集杆塔图像,获取的图像,如图4a)-4i)所示。Step (5): Starting from a certain corner of the tower, adjust the position of the pan-tilt with an "S"-shaped path, and at the same time use the camera on the pan-tilt to collect images of the pole and tower, and the acquired images are shown in Figures 4a)-4i).
进一步地,步骤(2)中识别并定位杆塔在截取的实时图像中的位置的具体过程为:Further, the specific process of identifying and locating the position of the tower in the intercepted real-time image in step (2) is:
首先,利用LSD直线检测算法进行直线检测获取的实时图像;First, the real-time image obtained by line detection using the LSD line detection algorithm;
然后,将实时图像分割成若干个图像分块,统计每个图像分块中的直线数量,进而判断是否存在杆塔以及确定杆塔的位置。Then, the real-time image is divided into several image blocks, the number of straight lines in each image block is counted, and then it is judged whether there is a tower and the position of the tower is determined.
本发明在进行视觉伺服时,可采用基于位置的视觉伺服控制和基于图像的视觉伺服控制的两种形式完成,基于位置的视觉伺服控制需要实时的计算物体的位置和方位,并根据这些信息预计机械手末端执行器的轨迹。这种方式在存在噪声的情况下,容易发生特征点脱离视场的现象。而基于图像的视觉伺服对量化误差和测量误差不敏感,主要是因为当机械手向图像特征点误差减小的方向运动时,特征点脱离视场的概率很低,所以步骤(4)的伺服控制过程采用基于图像的视觉伺服控制。When performing visual servoing, the present invention can be completed in two forms: position-based visual servo control and image-based visual servo control. The position-based visual servo control needs to calculate the position and orientation of the object in real time, and predict The trajectory of the end effector of the manipulator. In this way, in the presence of noise, it is easy for the feature points to leave the field of view. Image-based visual servoing is not sensitive to quantization errors and measurement errors, mainly because when the manipulator moves in the direction where the image feature point error decreases, the probability of feature points leaving the field of view is very low, so the servo control in step (4) The process is controlled by image-based visual servoing.
获取无人机悬停时云台信息及杆塔在视频中的相对信息,通过步骤(4)的调整,使此时满足拍照条件。Obtain the gimbal information and the relative information of the tower in the video when the drone is hovering, and adjust the step (4) so that the photo conditions are met at this time.
其中,步骤(4)中采用基于图像的视觉伺服的方式来控制云台转动的具体过程为:Wherein, in step (4), the specific process of controlling the rotation of the pan-tilt by means of image-based visual servoing is:
步骤(4.1):定位到包含杆塔部件的某一角的图像分块,提取该图像分块的SURF特征F1;Step (4.1): locate the image block containing a certain corner of the tower component, and extract the SURF feature F 1 of the image block;
步骤(4.2):根据该图像分块的位置决定云台的转动方向,云台的转动方向为使得杆塔向图像中心偏移的方向;然后将云台转动最小单位,获取当前位置处的杆塔图像,并提取其SURF特征F2;Step (4.2): Determine the rotation direction of the pan/tilt according to the position of the image block. The rotation direction of the pan/tilt is the direction that makes the tower shift to the center of the image; then rotate the pan/tilt by the smallest unit to obtain the tower image at the current position , and extract its SURF feature F 2 ;
步骤(4.3):匹配特征F1与F2,并计算F1与F2的匹配点对在像素级别上的偏移量;Step (4.3): Match features F 1 and F 2 , and calculate the pixel-level offset of the matching point pair between F 1 and F 2 ;
步骤(4.4):根据特征偏移量与云台转动量之间的线性映射关系,得到云台转动量。Step (4.4): According to the linear mapping relationship between the characteristic offset and the pan-tilt rotation, the pan-tilt rotation is obtained.
更进一步地,步骤(4.3)中,利用RANSAC随机采样来剔除误匹配的特征对,获取特征的匹配矩阵H,由对应关系可得到两个特征的匹配方程为:F2=HF1。Furthermore, in step (4.3), RANSAC random sampling is used to eliminate mismatched feature pairs to obtain feature matching matrix H, and the matching equation of two features can be obtained from the corresponding relationship: F 2 =HF 1 .
更进一步地,步骤(4.4)中,特征偏移量与云台转动量之间的线性映射矩阵为当前图像的雅克比矩阵。Furthermore, in step (4.4), the linear mapping matrix between the feature offset and the pan/tilt rotation is the Jacobian matrix of the current image.
步骤(4.3)中计算F1与F2的匹配点对在像素级别上的偏移量(Px,Py)为:In step (4.3), the offset (P x , P y ) of the matching point pair between F 1 and F 2 at the pixel level is calculated as:
(Px,Py)=JImage*u。(P x , P y ) = J Image *u.
本实施例中,将实时图像分割成7*9个图像分块,首先,调整云台使得实时获取的图像中杆塔右上角的位置调整到整幅图像的中心位置;In this embodiment, the real-time image is divided into 7*9 image blocks. First, adjust the cloud platform so that the position of the upper right corner of the tower in the image acquired in real time is adjusted to the center position of the entire image;
其次,以水平方向2个图像块和垂直方向1.5个图像块作为转动步长,将像素级的转动步长通过图像雅克比矩阵转化为云台调整的方向和角度;Secondly, using 2 image blocks in the horizontal direction and 1.5 image blocks in the vertical direction as the rotation step, the pixel-level rotation step is converted into the direction and angle of the pan/tilt adjustment through the image Jacobian matrix;
最后,从杆塔的某一角开始,以“S”型进行云台调整并启动相机进行拍摄,每级杆塔共拍摄9幅图像,如图4a)-图4i)所示。Finally, starting from a certain corner of the tower, adjust the pan/tilt in an "S" shape and start the camera to shoot. A total of 9 images are taken for each level of the tower, as shown in Figure 4a)-Figure 4i).
其中,实时图像也可分割成其他数量的图像分块,相对应的在水平方向以及垂直方向上云台转动的步长也可根据实际情况进行调整。Wherein, the real-time image can also be divided into other numbers of image blocks, and correspondingly, the step size of the pan-tilt rotation in the horizontal direction and the vertical direction can also be adjusted according to the actual situation.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510907446.7A CN105551032B (en) | 2015-12-09 | 2015-12-09 | The shaft tower image capturing system and its method of a kind of view-based access control model servo |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510907446.7A CN105551032B (en) | 2015-12-09 | 2015-12-09 | The shaft tower image capturing system and its method of a kind of view-based access control model servo |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105551032A CN105551032A (en) | 2016-05-04 |
CN105551032B true CN105551032B (en) | 2018-01-19 |
Family
ID=55830208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510907446.7A Active CN105551032B (en) | 2015-12-09 | 2015-12-09 | The shaft tower image capturing system and its method of a kind of view-based access control model servo |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105551032B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106778890A (en) * | 2016-12-28 | 2017-05-31 | 南京师范大学 | Head camera attitudes vibration detection method based on SIFT matchings |
CN108496129B (en) * | 2017-04-28 | 2021-10-01 | 深圳市大疆创新科技有限公司 | Aircraft-based facility detection method and control equipment |
CN107703956A (en) * | 2017-09-28 | 2018-02-16 | 山东鲁能智能技术有限公司 | A kind of virtual interaction system and its method of work based on inertia capturing technology |
CN108229587B (en) * | 2018-02-06 | 2021-04-06 | 贵州电网有限责任公司 | Autonomous transmission tower scanning method based on hovering state of aircraft |
CN108956640B (en) * | 2018-04-04 | 2020-12-18 | 国网智能科技股份有限公司 | Vehicle-mounted detection device and detection method suitable for power distribution line inspection |
CN108133486B (en) * | 2018-05-03 | 2018-07-20 | 常州市盈能电气有限公司 | Crusing robot displacement distance computational methods |
CN108881841A (en) * | 2018-07-03 | 2018-11-23 | 国网通用航空有限公司 | Power transmission line intelligent identifying system and method based on helicopter platform |
CN113419564B (en) * | 2021-08-24 | 2021-12-03 | 天津市普迅电力信息技术有限公司 | Power channel inspection method based on fuzzy path |
CN114281100B (en) * | 2021-12-03 | 2023-09-05 | 国网智能科技股份有限公司 | Unmanned aerial vehicle inspection system and method without hovering |
CN114115324A (en) * | 2021-12-24 | 2022-03-01 | 国网江西省电力有限公司鹰潭供电分公司 | Method, device, device and medium for UAV inspection camera to automatically follow target |
CN116079697B (en) * | 2022-12-23 | 2024-05-28 | 北京纳通医用机器人科技有限公司 | Monocular vision servo method, device, equipment and medium based on image |
CN116170659A (en) * | 2022-12-29 | 2023-05-26 | 天府兴隆湖实验室 | Automatic photographing system and automatic photographing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7543780B1 (en) * | 2004-10-04 | 2009-06-09 | The United States Of America As Represented By The Secretary Of The Air Force | Unmanned air vehicle transmission line docking surveillance |
CN102929288A (en) * | 2012-08-23 | 2013-02-13 | 山东电力集团公司电力科学研究院 | Unmanned aerial vehicle inspection head control method based on visual servo |
CN104867134A (en) * | 2015-05-04 | 2015-08-26 | 国家电网公司 | Identification method for transmission line tower inspection by unmanned aerial vehicle |
CN105023014A (en) * | 2015-08-21 | 2015-11-04 | 马鞍山市安工大工业技术研究院有限公司 | Method for extracting tower target in unmanned aerial vehicle routing inspection power transmission line image |
-
2015
- 2015-12-09 CN CN201510907446.7A patent/CN105551032B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7543780B1 (en) * | 2004-10-04 | 2009-06-09 | The United States Of America As Represented By The Secretary Of The Air Force | Unmanned air vehicle transmission line docking surveillance |
CN102929288A (en) * | 2012-08-23 | 2013-02-13 | 山东电力集团公司电力科学研究院 | Unmanned aerial vehicle inspection head control method based on visual servo |
CN104867134A (en) * | 2015-05-04 | 2015-08-26 | 国家电网公司 | Identification method for transmission line tower inspection by unmanned aerial vehicle |
CN105023014A (en) * | 2015-08-21 | 2015-11-04 | 马鞍山市安工大工业技术研究院有限公司 | Method for extracting tower target in unmanned aerial vehicle routing inspection power transmission line image |
Non-Patent Citations (2)
Title |
---|
Aerial video inspection of overhead power lines;C. C. Whitworth et al;《Power Engineering Journal》;20010228;第15卷(第1期);25-32 * |
一种基于图像分析的云台预置位控制方法;张游杰 等;《现代电子技术》;20120515;第35卷(第10期);57-60 * |
Also Published As
Publication number | Publication date |
---|---|
CN105551032A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105551032B (en) | The shaft tower image capturing system and its method of a kind of view-based access control model servo | |
CN111272148B (en) | Adaptive imaging quality optimization method for autonomous inspection of transmission lines by unmanned aerial vehicle | |
US9734397B1 (en) | Systems and methods for autonomous imaging and structural analysis | |
US10089530B2 (en) | Systems and methods for autonomous perpendicular imaging of test squares | |
CN103941746B (en) | Image processing system and method is patrolled and examined without man-machine | |
CN112949478B (en) | Target detection method based on tripod head camera | |
CN112164015A (en) | Monocular vision autonomous inspection image acquisition method and device and power inspection unmanned aerial vehicle | |
CN112799422B (en) | A UAV flight control method and device for power inspection | |
CN107357286A (en) | Vision positioning guider and its method | |
CN108961276B (en) | Method and system for automatic collection of inspection data of distribution lines based on visual servoing | |
CN110688904A (en) | Method and device for base station antenna engineering parameter survey based on 5G UAV | |
CN112714287B (en) | Cloud deck target conversion control method, device, equipment and storage medium | |
CN102622767A (en) | Method for positioning binocular non-calibrated space | |
CN115793689A (en) | Unmanned aerial vehicle automatic overhead transmission line inspection method and system based on front-end target identification | |
CN105352975B (en) | A kind of bridge cable appearance detecting method | |
CN107832655A (en) | A kind of take photo by plane system and output of cotton estimating and measuring method based on unmanned plane imaging near the ground | |
CN109636857B (en) | Alignment method and calibration system | |
CN113313659A (en) | High-precision image splicing method under multi-machine cooperative constraint | |
CN110953993A (en) | Detection device and method for sag and distance limit of power transmission line | |
CN110322462A (en) | Unmanned aerial vehicle vision based on 5G network feels land method and system | |
CN107358610A (en) | Crop high flux Phenotypic examination method and system | |
CN109556521A (en) | A kind of railway track displacement detector and detection method based on unmanned plane | |
CN115511878A (en) | Method, device, medium and equipment for monitoring surface displacement of slope | |
CN107977453A (en) | Unmanned aerial vehicle inspection picture classification method and system | |
CN109145905A (en) | A kind of transmission line of electricity accessory detection method of view-based access control model conspicuousness |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Wang Yue Central Road Ji'nan City, Shandong province 250002 City No. 2000 Co-patentee after: National Network Intelligent Technology Co., Ltd. Patentee after: Electric Power Research Institute of State Grid Shandong Electric Power Company Co-patentee after: State Grid Corporation of China Address before: Wang Yue Central Road Ji'nan City, Shandong province 250002 City No. 2000 Co-patentee before: Shandong Luneng Intelligent Technology Co., Ltd. Patentee before: Electric Power Research Institute of State Grid Shandong Electric Power Company Co-patentee before: State Grid Corporation of China |
|
CP01 | Change in the name or title of a patent holder | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201028 Address after: 250101 Electric Power Intelligent Robot Production Project 101 in Jinan City, Shandong Province, South of Feiyue Avenue and East of No. 26 Road (ICT Industrial Park) Patentee after: National Network Intelligent Technology Co.,Ltd. Address before: Wang Yue Central Road Ji'nan City, Shandong province 250002 City No. 2000 Patentee before: ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER Co. Patentee before: National Network Intelligent Technology Co.,Ltd. Patentee before: STATE GRID CORPORATION OF CHINA |
|
TR01 | Transfer of patent right |