Spectroscopy and Spectral Analysis, Volume. 45, Issue 5, 1476(2025)

Hyperspectral Image Detection of Gasoline Pipeline Leakage Using Improved Unet Network

WANG Ke-ming1, GONG Wei-jia1, WANG Hai-ming2, CAI Yong-jun2, LIU Jia-xing3, SUN Lei4, SONG Li-mei1, and LI Jin-yi1、*
Author Affiliations
  • 1Tianjin Key Laboratory of Intelligent Control of Electrical Equipment, School of Control Science and Engineering, Tiangong University, Tianjin 300387, China
  • 2Science and Technology Research Institute Branch, National Oil and Gas Pipeline Network Group Co., Ltd., Tianjin 300450, China
  • 3Northern Pipeline LLC, National Oil and Gas Pipeline Network Group Co., Ltd., Langfang 065000, China
  • 4Shandong Branch, National Oil and Gas Pipeline Network Group Co., Ltd., Jinan 250000, China
  • show less

    In view of the limitations of the low efficiency of gasoline pipeline leak detection and the inability to accurately segment the edge of the leak region, a gasoline pipeline leak detection method is proposed based on hyperspectral image and deep learning. Firstly, the characteristic spectral bands of the two types of gasoline under the background of soil and water were extracted. The continuous projection algorithm was used to reduce the dimensionality of gasoline hyperspectral image data. The gasoline reflectivity was taken as input, and the root-mean-square error was the regression parameter used to obtain 18 characteristic bands near the gasoline reflection peak. Image rotation Angle, horizontal or vertical inversion, and random noise injection into the image are used to expand the dataset sample. Secondly, the Unet hyperspectral image semantic segmentation model is improved, and the network encoder part of Unet is replaced with a dense connection module to strengthen the information exchange between different levels, reduce the computational load, and improve the model detection speed. The spectral attention mechanism module is introduced to make the model pay attention to gasoline image space and spectral features and improve the model detection accuracy. The concept of an inactivation layer is introduced to reduce the complexity of the network by temporarily shutting down some neurons in the network. At the same time, an appropriate time point is set in the training process to implement the early stop strategy to prevent overfitting. Finally, the ablation experiment and comparison experiment were carried out. The results of ablation experiments validate the effectiveness of the dense connection module and the spectral attention mechanism module in improving the network's segmentation accuracy and recall rate. Quantitative comparison experiments on self-built data sets show that the segmentation accuracy of the proposed model for dripping gasoline is 90.34%, and the average detection time of each image is 0.23 s. Compared with Unet, PSE-Unet, and HLCA-Unet models, the average accuracy is increased by 14.39%, 8.01%, and 2.73%, respectively. The recall rate was increased by 8.95%, 8.02%, and 6.55%, and the test time was reduced by 10.83% and 16.97%, respectively, compared with Unet and PSE-Unet models. The qualitative superiority of detection was reflected in the intersection profile of gasoline and background being more consistent with the original image, and the model in this paper could obtain more accurate analysis information of gasoline characteristics. It provides a new technical scheme for gasoline pipeline leakage detection. In addition, compared with the detection of current Unet, PSE-Unet, and HLCA-Unet models on the open Pavia University remote sensing data set, the proposed model still shows better segmentation effect and strong universality and generalization ability; it can be used for many types of hyperspectral image semantic segmentation.

    Tools

    Get Citation

    Copy Citation Text

    WANG Ke-ming, GONG Wei-jia, WANG Hai-ming, CAI Yong-jun, LIU Jia-xing, SUN Lei, SONG Li-mei, LI Jin-yi. Hyperspectral Image Detection of Gasoline Pipeline Leakage Using Improved Unet Network[J]. Spectroscopy and Spectral Analysis, 2025, 45(5): 1476

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Received: Jun. 12, 2024

    Accepted: May. 21, 2025

    Published Online: May. 21, 2025

    The Author Email: LI Jin-yi (lijinyi@tiangong.edu.cn)

    DOI:10.3964/j.issn.1000-0593(2025)05-1476-09

    Topics