기본 정보
- 저자
- DOI
- 10.2991/icmia-16.2016.75
- 저널
- –
- 발행년도
- 2016
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.2991/icmia-16.2016.75
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2553427054
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
In recent years, Unmanned Aerial Vehicle(UAV) is widely used for power lines patrol.While it's more efficient than manually patrolling, the UAV may easily collide with power lines.So measures must be taken to detect the distance between UAV and power lines.This paper presents a real time power line detect system based on binocular vision techniques, which contains a hardware platform based on FPGA and DSP to calculate real time disparity map and extract power lines.We adopt a robust stereo matching algorithm based on cross-based arbitrary shape support region and Hough transfer to extract lines from the depth image.Our experiment results show that our system can correctly detect the distance between the UAV and power lines in real time.
본문 15,777자
본문 펼치기
### A real time power line detection system based on stereo vision Xingang MOU 1, a, Wei LUO 2,b, Xiaoliang ZHENG 1,c * and Xiao ZHOU 1,d
1 School of Mechanical and Electronic Engineering, Wuhan University of Technology, Wuhan,
China
2Ewatt Technology Co,.Ltd, Wuhan, China
amouxingang@163.com, b25381917@qq.com, cjayash@qq.com, d17895099@qq.com
Keywords: power line, FPGA, real time, stereo vision, 3d reconstruction
Abstract: In recent years, <mark>Unmanned Aerial Vehicle(UAV) is widely used for p</mark> ower lines <mark>patrol.</mark>
<mark>While it’s more efficient than manually patrolling, the UAV may easily collide with power lines. So</mark>
<mark>measures must be taken to detect the distance between UAV and power lines. T</mark> his paper presents a
real time power line detect system based on binocular vision techniques, which contains a hardware
platform based on FPGA and DSP to calculate real time disparity map and extract power lines. We
adopt a robust stereo matching algorithm based on cross-based arbitrary shape support region and
Hough transfer to extract lines from the depth image. Our experiment results show that our system
can correctly detect the distance between the UAV and power lines in real time.
Introduction
<mark>Power lines patrol is a very important part for the security and stability of a power system. At</mark>
<mark>present, this work is mainly completed manually, which is low efficiency and wasteful of labor. In</mark>
<mark>recent years, Unmanned Aerial Vehicle(UAV) is widely used in more and more scenarios with the</mark>
<mark>development of technology, for instance, aerial photograph, reconnaissance, safety inspection and</mark>
<mark>express, etc. However, serious hazards exist when aerial vehicles operated at low altitude in</mark>
<mark>cluttered environments without constrained or controlled conditions of different obstacles, lighting</mark>
<mark>effects, weather and so on. Specially, power lines are one of the most formidable hazards [1].</mark>
<mark>Therefore, obstacle avoiding is the critical technology of UAV.</mark>
<mark>Visual image technology has more broad detection range, higher accuracy than sonar</mark>
<mark>technology and cost less than radar technology. With the decline cost and the improved computing</mark>
<mark>ability of mobile chip, visual image technology becomes the first choice to achieve obstacle</mark>
<mark>avoiding. The use of binocular vision technology to avoid obstacles in the UAV is a hot research</mark>
<mark>topic in recent years. The character of real-time of binocular stereo vision algorithm becomes the</mark>
<mark>fundamental reference index due to its complication. In recent years, more and more binocular</mark>
<mark>vision system based on FPGA achieved real-time disparity maps with good results [2].</mark>
<mark>This paper presents a real time power line patrol system based on FPGA, which contains a</mark>
<mark>real-time disparity map and image characteristic of power line extraction algorithm. This system</mark>
<mark>can calculate the distance between the closest line and the UAV in real time, according to the</mark>
<mark>relevant parameter and the real-time disparity map.</mark>
Related works
Binocular Vision
<mark>Binocular vision techniques are widely used in computer vision for 3D reconstruction. The</mark>
<mark>stereo system can infer the depth information by means of triangulation. The first aim is to find the</mark>
<mark>corresponding points in two images captured by two cameras. The stereo system is showed as</mark>
<mark>follows:</mark>
<mark>Fig. 1 geometric relationships of stereo system</mark>
<mark>In Fig. 1, CL and CR represent the optical centers of the left and right cameras, respectively. T is the</mark>
<mark>distance between the two cameras (which is called baseline) and f is the focal length of the camera.</mark>
<mark>The disparity of the point P is given by:</mark>
_d_ = _X_ _l_ - _X_ _r_ (1)
<mark>Reconstruction involves determining the three-dimensional scene using the disparity of points</mark>
<mark>that correspond in both images, based on known camera geometry. In Fig. 1, the depth of the point</mark>
<mark>P from the two cameras is given by</mark>
_d_ = _f_ - <sup>_<u>T</u>_</sup> (2)
_d_
Stereo Matching Algorithm and hardware Implementation
<mark>A lot of algorithms have been proposed in recent years. Currently there are two kinds of stereo</mark>
<mark>matching algorithms: one is local methods, which compute depth at a local support region. The</mark>
<mark>other is global methods, which compute depth based on a global cost optimization. While global</mark>
<mark>methods can achieve a more accuracy depth map than local ones, it also brings huge pressures on</mark>
<mark>hardware resources due to complex computational method. For this reason, most hardware solutions</mark>
<mark>select local methods as the stereo matching algorithm.</mark>
<mark>GPU and FPGA are two main hardware platforms used to accelerate stereo matching. While it</mark>
<mark>is much easier to transplant an existed algorithm into GPU, a FPGA based system can achieve a</mark>
<mark>more flexible configuration and usually has lower power consumption.</mark>
<mark>Zhang et al. [4] used a dsp-bulider based FPGA system to implement stereo matching,</mark>
<mark>achieving 30 f/ps at resolution of 1396*1110 with 128 disparity levels. Wang et al. [3] transplant</mark>
<mark>AD-Census algorithm into FPGA with semi-global optimization after cost aggregation, which is</mark>
<mark>able to process high definition images of 1600*1200 pixels at 42 frames per second. Abdulkadir et</mark>
<mark>al. [5] proposed a new algorithm named AWDE, which is very suitable to be implement on</mark>
<mark>hardware, they implemented their algorithm on Xilinx Vitex-5 and can achieve 60 f/ps at resolution</mark>
<mark>of 1024*768 with 128 disparity levels. Zhang et al. [6] combine the mini-census transform and</mark>
<mark>cross-based cost aggregation in their structure, which achieves 60 frames/s at 1024×768 pixel stereo</mark>
<mark>images.</mark>
System Overview
The aim of our work is to extract power lines in real time <mark>. A binocular vision</mark> system must be
provided in our system. Considering that the system use FPGA to calculate depth image, the
<mark>binocular cameras must have an interface that is easy to control. We select camera-link c</mark> ameras in
our system. The cameras connect to the FPGA by LVDS interface with a usart configuration
interface.
Before we put the input video stream into the stereo module, we must correct the input images
to compensate the distortion of the cameras, which we call camera calibration. Offline calibration is
done with the help of MatLab calibration toolbox.
Then the corrected reference image streams and target image streams are connected to the
stereo modules to get a real time depth image, which we will describe in detail in the next section.
After we get the real time depth map, measures must be taken to extract power lines from the
depth map. Considering that the line extract algorithms will cost considerable hardware resources, a
better solution is using a DSP to complete line extract algorithms. A dual port ram is used for the
DSP and FPGA to communicate with each other. Also, the dpram stores the line extract result and
send it to the video output controller to generate output video stream. The overall structure of the
system is as follows:
<mark>Fig. 2 overall structure of the detect system</mark>
Algorithm flow
Stereo matching algorithm
<mark>An accurate depth map should be obtained before detecting the power lines from the captured</mark>
<mark>images. In this case,</mark> s <mark>tereo matching algorithm is the most important part of this paper. In this</mark>
<mark>section, we discuss the algorithm selection for stereo matching. Firstly, we give the overall</mark>
<mark>algorithms structure as follows:</mark>
<mark>Fig. 3 overall structure of the algorithm</mark>
According to the taxonomy proposed in [7] most stereo algorithms perform these steps:
1) <mark>Pre-processing</mark>
<mark>For stereo matching, either support region build-up task or cost aggregation task can easily</mark>
<mark>be disturbed by noises from the image sensors. In this paper, a medium filter with filter window</mark>
<mark>size 3*3 will be used as preprocessing method.</mark>
2) <mark>Matching cost computation</mark>
<mark>Matching cost computation is the method to decide the correspondence of the target pixels in</mark>
<mark>the reference image and the target image. Absolute Difference(AD), Birchfield and Tomasi’s</mark>
<mark>sampling-insensitive measure(BT) gradient-based measures and Census based measures are</mark>
<mark>frequently used in stereo matching. While census is proved to be insensitive to radiometric</mark>
<mark>distortion, it brings extra computation efforts and also introduces matching ambiguities in image</mark>
<mark>regions with repetitive or similar local structures [8]. In fact, the AD measures behave better in</mark>
<mark>our system, so we select AD as the matching cost computation. The definition of the AD cost is</mark>
<mark>as follows:</mark>
# 1 ∑ | LLefti ( p ) − LRighti ( p, d ) |
3 _i_ = _R_, _G_, _B_
# = 1 ∑ | LLefti ( p ) − LRighti ( p, d ) | (3)
3 _i_ = _R_, _G_, _B_
# CAD = ∑ | LLefti ( p ) − LRighti ( p, d
3 _i_ = _R_, _G_, _B_
, _G_,
3) <mark>Cost aggregation</mark>
<mark>Stereo matching work is done by finding the correspondence relationship of the pixels</mark>
<mark>between the target image and the reference image. However, single pixel comparison is easily</mark>
<mark>affected by noises or ambiguities. So a cost aggregation step is done on a series of pixels which</mark>
<mark>we call support regions. Fixed rectangle support window ignores depth discontinuities and is not</mark>
<mark>suited for accurate occasions. For our power line detect mission, power line images contain a lot</mark>
<mark>of discontinuous depth information and the line depth information is easy to be swallowed up in</mark>
<mark>background pixels if fixed window region is adopted.</mark>
<mark>Zhang et al. [9] proposed a cross-based region build-up method which can achieve much</mark>
<mark>better depth for depth discontinuities.</mark>
<mark>The cross-based method firstly calculates four arm point for the anchor pixel p accord to the</mark>
<mark>color similarity, which is defined as follows:</mark>
## σ ( p 1, p 2 ) = { 1,max(0, otherwiseIc ( p 1 ) − Ic ( p 2)) ≤ τ (4)
<mark>The corresponding arm length is defined by:</mark>
# = r ∈ [1,max L ]( r ∏ δ ( p, pi )) (5)
_i_ ∈ [1, _r_ ]
# r * = r ∈ [1,max L ]( r ∏ δ ( p, pi ))
_i_ ∈ [1, _r_ ]
- = _r_ ∈ [1,max _L_ ]
<mark>Then a cross based region is built up by scanning from the top to bottom to calculate every</mark>
<mark>horizontal arms of q of the vertical arm which p belongs to.</mark>
<mark>The cost aggregation task is done on the overlapping region of the reference image and</mark>
<mark>target image. To normalize the cost aggregation result, the total pixels in each support region</mark>
<mark>must be recorded previously.</mark>
4) <mark>Depth Select</mark>
<mark>For most local stereo matching method, we take a Winner Takes All (WTA)method to get</mark>
<mark>the preliminary estimated value. WTA method takes the minimum value of the aggregate result</mark>
<mark>as the estimated value, which is:</mark>
_d_ 0 _p_ = arg(min _d_ Ed (p)),d ∈ [0, _d_ max ] (6)
5) Disparity refinement
<mark>The preliminary estimated value can be further refined using a local high-confidence</mark>
<mark>voting scheme proposed in [10]. the final disparity of the pixel p is decided as:</mark>
_d_ - _p_ = arg(max _d_ _ϕ_ _p_ (d)),d ∈ [0, _d_ max ] (7)
Where _ϕ_ _p_ is the histogram of the initial disparity estimate <sup>_d_</sup> _s_ 0 <sup>.</sup>
Line Detecting Algorithm
After we get an accurate depth map, the next step is to extract lines from the depth map. Here
we use Hough Transform to do this job. Hough transform is an effective algorithm to detect straight
lines from the image, which is the main feature of the power lines.
FPGA Implementation
The FPGA system include 4 sub modules:
1) Video capture module
This module captures video from camera link cameras. Firstly, FPGA buffers the LVDS RGB
data using a lvds buffer; then the video data is pushed into a cross clock fifo to sync to local clock
domain. Then the video streams are calibrated by calibration circuits to compensate for camera
distortion.
2) Stereo Matching module
This module performs the stereo matching using a full parallel structure which is showed as
Figure 5. Firstly, a 3*3 medium filter will be performed.
3) DPRAM controller module
This module contains two sub circuits. One is write module to write depth results into dpram.
The other is read module to read line segment result processed by DSP from the dpram.
4) Video Controller module
This module generates output video timing.
The overall structure of the FPGA system is showed as figure 4.
<mark>Figure 4. The overall structure of the FPGA system</mark>
Experimental Results
Firstly, we test the algorithms with the Middlebury benchmark [10]. The disparity results are
presented in Figure 5.
Fig. 5. Final disparity maps for the Tsukuba, Cones and Teddy stereo datasets (from left to right),
using cross-based stereo matching algorithm. Top row: the input left images. Bottom row: the
resulting disparity maps.
Then we test the real world power line images as figure 6.
Fig. 6. Final disparity maps for the real world power line image, the left image: power line image;
the right image: the resulting disparity maps.
Conclusion
In this paper, we propose a real time hardware platform to detect power lines for the UAV
power line patrol system. The experiment results show that the stereo matching algorithms are
robust and can get accurate depth information from the vision system. Power lines can be extracted
from the depth images correctly.
References
[1] Song B, Li X. Power line detection from optical images[J]. Neurocomputing, 2014,
129(129):350–361.
[2] Wang, Wenqiang, et al. "Real-time high-quality stereo vision system in FPGA." International
Conference on Field-Programmable Technology IEEE, 2013:358-361.
[3] Simhadri V, Ozturk Y. RASCor: An associative hardware algorithm for real time stereo[J].
Computers & Electrical Engineering, 2009, 35(3):459-477.
[4] Zhang X, Chen Z W. A FPGA Stereo Matching Algorithm Modeled By DSP Builder[J]. Journal
of Computers, 2014, 9(10).
[5] Akin A, Baz I, Schmid A, et al. Dynamically adaptive real-time disparity estimation hardware
using iterative refinement[J]. Integration the Vlsi Journal, 2013, 47(3):365-376.
[6] L. Zhang, K. Zhang, T. S. Chang, G. Lafruit, G. K. Kuzmanov, and D. Verkest, “Real-time
high-definition stereo matching on FPGA,” in Proc. 19th ACM/SIGDA Int. Symp. Field Program.
Gate Arrays, 2011, pp. 55–64.
[7] D. Scharstein and R. Szeliski, A taxonomy and evaluation of dense two-frame stereo
correspondence algorithms Int. Jour. Computer Vision, 47(1/2/3):7–42, 2002
[8] Mei, Xing, et al. "On building an accurate stereo matching system on graphics hardware." IEEE
International Conference on Computer Vision Workshops, ICCV 2011 Workshops, Barcelona, Spain,
November 2011:467-474.
[9] Zhang K, Lu J, Lafruit G. Cross-based local stereo matching using orthogonal integral images[J].
IEEE Transactions on Circuits & Systems for Video Technology, 2009, 19(7):1073-1079.
[10] D. Scharstein and R. Szeliski. Middlebury stereo evaluation -version 2, 2010.
http://vision.middlebury.edu/stereo/eval/.
섹션 본문
섹션 본문이 없습니다.
참고문헌 9건
- Power line detection from optical images Neurocomputing · Elsevier BV · 2013 10.1016/j.neucom.2013.09.023
- On building an accurate stereo matching system on graphics hardware 2011 10.1109/iccvw.2011.6130280
- Dynamically adaptive real-time disparity estimation hardware using iterative refinement Integration · Elsevier BV · 2013 10.1016/j.vlsi.2013.11.002
- A FPGA Stereo Matching Algorithm Modeled By DSP Builder Journal of Computers · Academy Publisher · 2014 10.4304/jcp.9.10.2359-2364
- RASCor: An associative hardware algorithm for real time stereo Computers & Electrical Engineering · Elsevier BV · 2009 10.1016/j.compeleceng.2008.12.001
- Real-time high-definition stereo matching on FPGA 2011 10.1145/1950413.1950428
- Cross-Based Local Stereo Matching Using Orthogonal Integral Images IEEE Transactions on Circuits and Systems for Video Technology · Institute of Electrical and Electronics Engineers · 2009 10.1109/tcsvt.2009.2020478
- Real-time high-quality stereo vision system in FPGA 2013 10.1109/fpt.2013.6718387
- A taxonomy and evaluation of dense two-frame stereo correspondence algorithms 2002 10.1109/smbv.2001.988771