Citation: |
|
[1] | 洪鼎华, 王环丽, 李武平, 等.在役P92钢蒸汽管道焊接接头中缺陷的研究[J].机械工程学报, 2017, 53(18): 113–120. doi: 10.3901/JME.2017.18.113 Hong D H, Wang H L, Li W P, et al. Study on the defects in welded joint of hot reheat steam pipe of ultra supercritical units after long-term service[J]. Journal of Mechanical Engineering, 2017, 53(18): 113–120. doi: 10.3901/JME.2017.18.113 |
[2] | 杨先凤, 吴媛媛, 赵玲.基于Canny改进算子的油管裂纹检测算法[J].计算机工程与设计, 2018, 39(3): 798–803. doi: 10.16208/j.issn1000-7024.2018.03.035 Yang X F, Wu Y Y, Zhao L. Pipeline crack detection algorithm based on Canny detector[J]. Computer Engineering and Design, 2018, 39(3): 798–803. doi: 10.16208/j.issn1000-7024.2018.03.035 |
[3] | 孙丽, 孙茜茜, 任亮, 等.应用光纤布喇格光栅传感器监测地下管道腐蚀的新方法研究[J].光子学报, 2012, 41(1): 6–10. doi: 10.3788/gzxb20124101.0006 Sun L, Sun Q Q, Ren L, et al. A new method for underground pipeline corrosion monitoring applied FBG[J]. Acta Photonica Sinica, 2012, 41(1): 6–10. doi: 10.3788/gzxb20124101.0006 |
[4] | 曹建树, 曹振, 赵龙飞, 等.激光超声管道表面裂纹检测技术[J].光电工程, 2016, 43(3): 1–6. doi: 10.3969/j.issn.1003-501X.2016.03.001 Cao J S, Cao Z, Zhao L F, et al. Detecting techniques of surface crack of pipeline based on laser ultrasonic[J]. Opto-Electronic Engineering, 2016, 43(3): 1–6. doi: 10.3969/j.issn.1003-501X.2016.03.001 |
[5] | 张盼, 陈志东, 李晓旭, 等.基于小波变换的X射线数字图像焊缝缺陷边缘检测[J].管道技术与设备, 2016(3): 41–43. doi: 10.3969/j.issn.1004-9614.2016.03.013 Zhang P, Chen Z D, Li X X, et al. X-ray digital image of weld defect based on wavelet transform edge detection[J]. Pipeline Technique and Equipment, 2016(3): 41–43. doi: 10.3969/j.issn.1004-9614.2016.03.013 |
[6] | 王志刚, 罗清旺, 师奕兵, 等.铁磁性管道内涡流线圈耦合分析与管道参数检测[J].仪器仪表学报, 2014, 35(12): 2843–2851. doi: 10.3969/j.issn.0254-3087.2014.12.024 Wang Z G, Luo Q W, Shi Y B, et al. Analysis of eddy current coil coupling in ferromagnetic pipe and pipe's parameter detection[J]. Chinese Journal of Scientific Instrument, 2014, 35(12): 2843–2851. doi: 10.3969/j.issn.0254-3087.2014.12.024 |
[7] | 杨金旭, 李策, 夏胜, 等.基于磁致伸缩导波的管道缺陷检测系统[J].仪表技术与传感器, 2017(6): 95–97, 167. doi: 10.3969/j.issn.1002-1841.2017.06.023 Yang J X, Li C, Xia S, et al. Magnetostrictive guided wave flaw detection system for pipeline[J]. Instrument Technique and Sensor, 2017(6): 95–97, 167. doi: 10.3969/j.issn.1002-1841.2017.06.023 |
[8] | Su T C, Yang M D. Application of morphological segmentation to leaking defect detection in sewer pipelines[J]. Sensors, 2014, 14(5): 8686–8704. doi: 10.3390/s140508686 |
[9] | Vriesman D, Britto A S, Zimmer A, et al. Automatic visual inspection of thermoelectric metal pipes[J]. Signal, Image and Video Processing, 2019, 13(5): 975–983. doi: 10.1007/s11760-019-01435-2 |
[10] | Yang Z Y, Lu S H, Wu T, et al. Detection of morphology defects in pipeline based on 3D active stereo omnidirectional vision sensor[J]. IET Image Processing, 2018, 12(4): 588–595. doi: 10.1049/iet-ipr.2017.0616 |
[11] | 王颖, 张瑞.管道内表面圆结构光视觉三维测量系统[J].红外与激光工程, 2014, 43(3): 891–896. doi: 10.3969/j.issn.1007-2276.2014.03.040 Wang Y, Zhang R. In-pipe surface circular structured light 3D vision inspection system[J]. Infrared and Laser Engineering, 2014, 43(3): 891–896. doi: 10.3969/j.issn.1007-2276.2014.03.040 |
[12] | 吴斌, 邵震宇, 张云昊.微细管道内壁缺陷测量系统构建和技术[J].光电子·激光, 2014, 25(2): 293–298. Wu B, Shao Z Y, Zhang Y H. A new technology of building up defect measuring system for inner micro-pipe[J]. Journal of Optoelectronics·Laser, 2014, 25(2): 293–298. |
[13] | Haertel M E M, da Costa Pinto T L F, Júnior A A G. Trinocular stereo system with object space oriented correlation for inner pipe inspection[J]. Measurement, 2015, 73: 162–170. doi: 10.1016/j.measurement.2015.05.015 |
[14] | Land E H, McCann J J. Lightness and retinex theory[J]. Journal of the Optical Society of America, 1971, 61(1): 1–11. doi: 10.1364/JOSA.61.000001 |
[15] | Bradley D, Roth G. Adaptive thresholding using the integral image[J]. Journal of Graphics Tools, 2007, 12(2): 13–21. doi: 10.1080/2151237X.2007.10129236 |
[16] | 魏伟一, 任小康.基于图像信息熵的四叉树检索算法[J].佳木斯大学学报(自然科学版), 2005, 23(4): 511–514, 521. doi: 10.3969/j.issn.1008-1402.2005.04.002 Wei W Y, Ren X K. Quadtree image retrieval based on image entropy[J]. Journal of Jiamusi University (Natural Science Edition), 2005, 23(4): 511–514, 521. doi: 10.3969/j.issn.1008-1402.2005.04.002 |
[17] | 任洪娥, 刘冕, 董本志.基于改进形态学算子的木粉边缘检测算法[J].计算机工程与应用, 2015, 51(5): 183–186. doi: 10.3778/j.issn.1002-8331.1304-0316 Ren H E, Liu M, Dong B Z. Edge detection algorithm of wood-flour based on modified morphological operator[J]. Computer Engineering and Applications, 2015, 51(5): 183–186. doi: 10.3778/j.issn.1002-8331.1304-0316 |
[18] | 郝利华, 王明泉.改进的Canny算法在直焊缝图像缺陷边缘检测中的应用[J].火力与指挥控制, 2017, 42(7): 52–55. doi: 10.3969/j.issn.1002-0640.2017.07.012 Hao L H, Wang M Q. Application of improved canny algorithm in defect edge detection of straight weld image[J]. Fire Control & Command Control, 2017, 42(7): 52–55. doi: 10.3969/j.issn.1002-0640.2017.07.012 |
[19] | 林卉, 赵长胜, 舒宁.基于Canny算子的边缘检测及评价[J].黑龙江工程学院学报, 2003, 17(2): 3–6, 16. doi: 10.3969/j.issn.1671-4679.2003.02.001 Lin H, Zhao C S, Shu N. Edge detection based on Canny operator and evaluation[J]. Journal of Heilongjiang Institute of Technology, 2003, 17(2): 3–6, 16. doi: 10.3969/j.issn.1671-4679.2003.02.001 |
[20] | 陈宏希.基于品质因数的边缘检测算子性能优劣客观评价研究[J].自动化与仪器仪表, 2015(8): 8–10. doi: 10.14016/j.cnki.1001-9227.2015.08.008 Chen H X. Study on the objective evaluation of the performance of edge detection operator based on the quality factor[J]. Automation & Instrumentation, 2015(8): 8–10. doi: 10.14016/j.cnki.1001-9227.2015.08.008 |
Overview: Digital image processing technology is widely used in the regular detection and maintenance of damaged, aged, faulted pipeline, on account of the virtue of high efficiency, accurate identification, non-contact detection, etc. Aiming at the problem of uneven image acquisition and inaccurate edge extraction in closed pipeline detection process, a pipeline robot defect detection system based on adaptive image enhancement is designed with the pan-tilt-zoom camera as the image acquisition module, Raspberry PI as the image processing system and Arduino as the driving control module to carry on the omni-directional visual inspection to the pipeline inner wall.
A single-scale Retinex adaptive image enhancement algorithm based on guided filtering is proposed. According to the single-scale Retinex theory, the low frequency irradiation component and the high frequency reflection component can be effectively separated from the Value component of HSV space (converted form RGB images) by using the guided filter. The local filter is used to reduce the noise of the reflection component which is mostly distributed in the high frequency part, and the irradiation component is corrected by the adaptive Gamma algorithm. Finally, the integrated restoration of the corrected RGB image of pipeline defect is realized, and the adaptive image enhancement is achieved.
In order to solve the problem of edge blur and threshold setting in traditional Canny detection, bilateral filtering is used to smooth the image and maintain the image edge information effectively. The gradient amplitude is calculated in multiple directions for non-maximum suppression, the adaptive optimal threshold is obtained by iterative threshold method, and the threshold segmentation of the image is carried out. Finally, the edge connection is carried out according to the similarity of edge pixels to realize the accurate extraction of pipeline defect edges.
The experimental results show that the detection system can adapt to correct the image brightness, the uneven illumination of the acquired images is improved obviously. Compared with the suboptimal algorithm, the information entropy of the defect image increases by 2.4%, the average gradient increases by 2.3%, the peak signal to noise ratio increases by 4.4%, and the improved Canny detection algorithm can extract the edge of pipeline defects effectively with the detection accuracy up to 97%. In this paper, the defect detection system of pipeline robot based on adaptive image enhancement can be used to detect and identify pipeline defects in closed pipeline under uneven illumination environment with high detection accuracy, compact structure and strong applicability.
Pipeline robot structure diagram. (a) Pipeline robot model diagram; (b) Pipeline robot factual diagram
Structural diagram of the camera platform
Overall flow chart of pipeline robot defect detection algorithm based on adaptive image enhancement
Image enhancement algorithm flow
Processing flow chart of the proposed algorithm. (a) Original image; (b) Luminance component; (c) Smooth image; (d) Illumination component; (e) Reflection component; (f) Local filtering of Illumination component; (g) Gamma correction of Illumination component; (h) Corrected luminance component; (i) Luminance component after secondary Gamma correction; (j) Adaptive enhancement result
Comparison of different image enhancement processing methods. (a) Original image; (b) Enhanced image of MSR; (c) Enhanced image of histogram equalization; (d) Enhanced image of SVLM; (e) Enhanced image of local variance; (f) Enhanced image of homomorphic filtering; (g) Enhanced image of the proposed algorithm
Comparison of different defect edge detection methods for pipeline cracks.
Comparison of different defect edge detection methods for pipeline holes.