[go: up one dir, main page]

CN111767815A - A method for identifying water leakage in tunnels - Google Patents

A method for identifying water leakage in tunnels Download PDF

Info

Publication number
CN111767815A
CN111767815A CN202010570943.3A CN202010570943A CN111767815A CN 111767815 A CN111767815 A CN 111767815A CN 202010570943 A CN202010570943 A CN 202010570943A CN 111767815 A CN111767815 A CN 111767815A
Authority
CN
China
Prior art keywords
neuron
model
water leakage
leakage
tunnel
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.)
Pending
Application number
CN202010570943.3A
Other languages
Chinese (zh)
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.)
Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd
Original Assignee
Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd
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 Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd filed Critical Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd
Priority to CN202010570943.3A priority Critical patent/CN111767815A/en
Publication of CN111767815A publication Critical patent/CN111767815A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

本发明涉及监控领域,特指一种隧道渗漏水识别方法,包括如下步骤:(1)接入视频流,进行单帧图像预处理;(2)使用训练好的LVQ模型对处理后的图像进行识别;(3)判断是否存在渗漏水情况;(4)一旦发现渗漏水,保存当前帧视频图像并使用Canny算法对渗漏水进行边缘计算,判断渗漏水程度并输出;(5)运营人员视严重程度安排人员检测。采用上述方案后,大大提高了渗漏水检测的效率以及预防,有利于隧道运营方对隧道的养护工作。

Figure 202010570943

The invention relates to the field of monitoring, in particular to a method for identifying water leakage in a tunnel, comprising the following steps: (1) accessing a video stream, and performing single-frame image preprocessing; (2) using a trained LVQ model to process the processed image (3) Judging whether there is water leakage; (4) Once water leakage is found, save the current frame video image and use the Canny algorithm to perform edge calculation on the leakage, determine the degree of leakage and output; (5) ) The operator arranges personnel testing according to the severity. After the above scheme is adopted, the efficiency of water leakage detection and prevention is greatly improved, which is beneficial to the tunnel operator's maintenance work.

Figure 202010570943

Description

一种隧道渗漏水识别方法A method for identifying water leakage in tunnels

技术领域technical field

本发明涉及监控领域,特指一种隧道渗漏水识别方法。The invention relates to the field of monitoring, in particular to a method for identifying leakage water in a tunnel.

背景技术Background technique

公路部门统计数据显示,我国公路隧道约30%有严重渗漏水病害。铁道部门统计数据显示,我国铁路隧道28.4%有严重渗漏水病害。随着我国隧道工程的快速发展,隧道工程病害问题日益凸显。渗漏水是隧道的主要病害之一,也是引起隧道其他病害的根源,隧道的健康问题变得日益突出。Statistics from the highway department show that about 30% of my country's highway tunnels have serious water leakage. Statistics from the railway department show that 28.4% of my country's railway tunnels have serious water leakage. With the rapid development of tunnel engineering in my country, the problem of tunnel engineering diseases has become increasingly prominent. Leakage water is one of the main diseases of tunnels, and it is also the root cause of other diseases in tunnels. The health problems of tunnels have become increasingly prominent.

目前的隧道渗漏水病害检测手段主要是人工巡视的方法,根据肉眼观察结果进行判断,受人为因素影响较大,存在着效率低、准确性差的问题。The current method of detecting water leakage in tunnels is mainly the method of manual inspection. Judging based on the results of visual observation is greatly affected by human factors, and there are problems of low efficiency and poor accuracy.

因此,本发明人对此做进一步研究,研发出一种隧道渗漏水识别方法,本案由此产生。Therefore, the present inventor has conducted further research on this, and developed a method for identifying water leakage in a tunnel, which is how this case came into being.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种隧道渗漏水识别方法,大大提高渗漏水检测的效率以及预防,有利于隧道运营方对隧道的养护工作。The purpose of the present invention is to provide a method for identifying water leakage in a tunnel, which greatly improves the efficiency and prevention of water leakage detection, and is beneficial to the maintenance of the tunnel by the tunnel operator.

为了实现上述目的,本发明的技术方案如下:In order to achieve the above object, technical scheme of the present invention is as follows:

一种隧道渗漏水识别方法,包括如下步骤:A method for identifying water leakage in a tunnel, comprising the following steps:

(1)接入视频流,进行单帧图像预处理;(1) Access the video stream and perform single-frame image preprocessing;

(2)使用训练好的LVQ模型对处理后的图像进行识别;(2) Use the trained LVQ model to identify the processed image;

(3)判断是否存在渗漏水情况;(3) Judging whether there is water leakage;

(4)一旦发现渗漏水,保存当前帧视频图像并使用Canny算法对渗漏水进行边缘计算,判断渗漏水程度并输出;(4) Once water leakage is found, save the current frame video image and use the Canny algorithm to perform edge calculation on the leakage, judge the degree of leakage and output;

(5)运营人员视严重程度安排人员检测。(5) The operator arranges personnel testing according to the severity.

通过使用在隧道中收集一系列渗漏水图像作为识别数据集,并利用该数据集对LVQ神经网络模型进行训练和调式,调式出最优的决策阈值以提高其检测精度,并使用Canny算法对渗漏水程度进行判断,视渗漏水严重程度联动隧道运维人员进行整治。By using a series of leaking water images collected in the tunnel as the identification data set, and using the data set to train and adjust the LVQ neural network model, adjust the optimal decision threshold to improve its detection accuracy, and use the Canny algorithm to detect The degree of water leakage shall be judged, and the tunnel operation and maintenance personnel shall be rectified according to the severity of the leakage.

进一步,步骤(1)中,视频流采用隧道中的监控摄像机群。Further, in step (1), the video stream adopts the surveillance camera group in the tunnel.

可以充分利用隧道内原有摄像机进行改造,节约资源。It can make full use of the original cameras in the tunnel for reconstruction and save resources.

进一步,LVQ模型由三层神经元组成,即输入层、竞争层和线性输出层,LVQ神经网络算法是在有监督状态下对竞争层进行训练的一种学习算法,具体计算步骤如下:Further, the LVQ model consists of three layers of neurons, namely the input layer, the competition layer and the linear output layer. The LVQ neural network algorithm is a learning algorithm for training the competition layer in a supervised state. The specific calculation steps are as follows:

步骤1:初始化输入层与竞争层之间的权值ωij以及学习率η(η>0);Step 1: Initialize the weight ω ij between the input layer and the competitive layer and the learning rate η (η>0);

步骤2:利用LVQ1算法对所有输入模式进行学习;Step 2: Use the LVQ1 algorithm to learn all input patterns;

步骤3:将输入向量x=(x1,x2,…,xR)T送入到输入层,并计算竞争层与输入向量的距离;Step 3: Send the input vector x=(x 1 , x 2 ,...,x R ) T to the input layer, and calculate the distance between the competition layer and the input vector;

Figure BDA0002549408310000021
Figure BDA0002549408310000021

步骤4:选择与输入向量距离最小的两个竞争层神经元i,j;Step 4: Select the two competing layer neurons i, j with the smallest distance from the input vector;

步骤5:如果神经元i和神经元j满足以下两个条件:Step 5: If neuron i and neuron j satisfy the following two conditions:

①神经元i和神经元j对应不同的类别;① Neuron i and neuron j correspond to different categories;

②神经元i和神经元j与当前输入向量的距离di和dj满足

Figure BDA0002549408310000022
②The distances d i and d j between neuron i and neuron j and the current input vector satisfy
Figure BDA0002549408310000022

其中,ρ为输入向量可能落进的接近于两个向量中段平面的窗口宽度;Among them, ρ is the window width that the input vector may fall into which is close to the plane of the mid-section of the two vectors;

则有:Then there are:

①若神经元i对应的类别Ci与输入向量对应的类别Cx一致,即Ci=Cx,则神经元i和神经元j的权值根据下式进行修正;①If the category C i corresponding to neuron i is consistent with the category C x corresponding to the input vector, that is, C i =C x , the weights of neuron i and neuron j are modified according to the following formula;

Figure BDA0002549408310000023
Figure BDA0002549408310000023

②若神经元j对应的类别Cj与输入向量对应的类别Cx一致,即Cj=Cx,则神经元i和神经元j的权值根据下式进行修正;②If the category C j corresponding to neuron j is consistent with the category C x corresponding to the input vector, that is, C j =C x , the weights of neuron i and neuron j are modified according to the following formula;

Figure BDA0002549408310000031
Figure BDA0002549408310000031

步骤6:若神经元i和神经元j不满足步骤5的条件,则只更新距离输入向量最近的神经元权值;Step 6: If neuron i and neuron j do not meet the conditions of step 5, only the neuron weights closest to the input vector are updated;

步骤7:最后使用测试数据集评估模型的性能。Step 7: Finally evaluate the performance of the model using the test dataset.

典型的学习矢量量化算法有LVQ1、LVQ2和LVQ3,其中前两种算法应用较为广泛,尤以LVQ2的应用最为广泛和有效。已经成功应用到统计学、模式识别、机器学习等多个领域。在LVQ1算法中,只有一个神经元可以获胜,即只有一个神经元的权值可以得到更新调整。为了提高分类的准确率,通过改进LVQ1算法得到LVQ2算法,其基于光滑的移动决策边界逼近贝叶斯极限。LVQ2版本接着被修改为LVQ2.1,并最终发展为LVQ3。这些后来的LVQ版本都引入了次获胜神经元,获胜神经元的权值向量和次获胜神经元的权值向量都被更新。The typical learning vector quantization algorithms are LVQ1, LVQ2 and LVQ3, among which the first two algorithms are widely used, especially LVQ2 is the most widely used and effective. It has been successfully applied to many fields such as statistics, pattern recognition, and machine learning. In the LVQ1 algorithm, only one neuron can win, that is, only one neuron's weight can be updated and adjusted. In order to improve the classification accuracy, the LVQ2 algorithm is obtained by improving the LVQ1 algorithm, which approaches the Bayesian limit based on the smooth moving decision boundary. The LVQ2 version was then revised to LVQ2.1 and eventually to LVQ3. These later versions of LVQ all introduced secondary winning neurons, and both the winning neuron's weight vector and the secondary winning neuron's weight vector were updated.

进一步,LVQ模型渗漏水识别训练步骤为:Further, the LVQ model leakage identification training steps are as follows:

步骤1:对数据集中所有图像进行人工标签;Step 1: Manually label all images in the dataset;

步骤2:使用训练数据集对LVQ模型进行训练直至模型收敛;Step 2: Use the training dataset to train the LVQ model until the model converges;

步骤3:使用验证数据集对模型的泛化能力进行评估,并调整超参数,并取迭代1500次后的模型作为初步识别模型;Step 3: Use the validation data set to evaluate the generalization ability of the model, adjust the hyperparameters, and take the model after 1500 iterations as the initial recognition model;

步骤4:重复步骤2和3直至模型在验证数据集上的泛化能力满足任务需求;Step 4: Repeat steps 2 and 3 until the generalization ability of the model on the validation dataset meets the task requirements;

步骤5:固定已训练好的网络结构;Step 5: Fix the trained network structure;

步骤6:使用验证数据集评估模型是否发生过拟合;Step 6: Use the validation dataset to assess whether the model is overfitting;

渗漏水识别模型的性能将决定着识别的结果,本系统将模型训练至精确度95%以上,并平均推断耗时少,能达到实时性的要求。The performance of the leakage water identification model will determine the identification result. This system trains the model to an accuracy of more than 95%, and the average inference time is less, which can meet the real-time requirements.

进一步,步骤(1)中,渗漏水图像进行预处理包括如下步骤:Further, in step (1), the preprocessing of the water leakage image includes the following steps:

步骤1:灰度化二值处理;Step 1: Grayscale binary processing;

步骤2:高斯滤波;对整幅图像进行加权平均,每一个像素点的值,都由其本身和邻域内的其他像素值经过加权平均后得到;平滑处理后降低噪声的影响;Step 2: Gaussian filtering; weighted average of the entire image, the value of each pixel is obtained by itself and other pixel values in the neighborhood after weighted average; after smoothing, the influence of noise is reduced;

步骤3:腐蚀;除物体边界点,使目标缩小,可以消除小于结构元素的噪声点;Step 3: Corrosion; remove the boundary points of the object, make the target smaller, and eliminate noise points smaller than structural elements;

步骤4:膨胀;将于物体接粗的所有背景点合并到物体中,使目标增大,可填补目标中的空洞;Step 4: Expansion; merge all the background points of the object into the object, make the target larger, and fill the holes in the target;

步骤5:边缘检测。Step 5: Edge Detection.

通过先腐蚀再膨胀,一般使对象的轮廓变得光滑,断开狭窄的间断和消除细的突出物。By eroding and then dilating, the outline of the object is generally smoothed, narrow discontinuities are broken and thin protrusions are eliminated.

采用上述方案后,本发明与现有技术相比,具有以下优点:After adopting the above scheme, the present invention has the following advantages compared with the prior art:

1.采用非接触监测技术,系统的可靠性、耐久性高;1. Using non-contact monitoring technology, the system has high reliability and durability;

2.摄像机可以同时监测多个病害部位,且是已有设备,节约设备投入;2. The camera can monitor multiple diseased parts at the same time, and it is an existing equipment, saving equipment investment;

3.具备对渗漏水病害程度判定;3. Have the ability to judge the degree of water leakage disease;

4.信息接入隧道维保管理云平台进行存储和分析。4. Information access tunnel maintenance management cloud platform for storage and analysis.

附图说明Description of drawings

图1是渗漏水识别检测流程图;Figure 1 is a flow chart of water leakage identification and detection;

图2学习向量量化LVQ算法神经网络图Figure 2 Learning vector quantization LVQ algorithm neural network diagram

图3是渗漏水严重程度判断框架图Figure 3 is a framework for judging the severity of water leakage

具体实施方式Detailed ways

下面结合附图和具体实施例对本发明作进一步的说明。The present invention will be further described below with reference to the accompanying drawings and specific embodiments.

一种隧道渗漏水识别方法,基于深度学习的方法研究了隧道渗漏水的识别与程度判断技术,该技术可以有效地对隧道监控画面进行实时的渗漏水检测,利用LVQ算法在识别领域的优势对渗漏水进行识别,其识别精度高于传统神经网络算法,并使用Canny算法对渗漏水进行边缘计算,通过其渗漏水面积来判断其程度,让运营人员能视严重程度安排人员检测。A method for identifying water leakage in tunnels. Based on the method of deep learning, the technology of identifying and judging the degree of water leakage in tunnels is studied. This technology can effectively perform real-time water leakage detection on the tunnel monitoring screen. The LVQ algorithm is used in the identification field. The advantages of the system are to identify the leakage water, and its recognition accuracy is higher than that of the traditional neural network algorithm, and the Canny algorithm is used to perform edge calculation on the leakage water, and the leakage water area is used to judge its degree, so that operators can arrange according to the severity. Personnel detection.

(1)渗漏水识别检测流程(1) Leakage water identification and detection process

本系统对渗漏水的识别检测主要分为两个部分,一是对渗漏水的识别,二是对渗漏水程度的判断。通过训练好的LVQ模型对视频流中隧道情况进行实时的渗漏水识别。在识别到渗漏水画面后,再对其进行Canny算法的边缘处理,通过对其渗漏水面积来判断其严重程度。并结合隧道维保云平台进行数据分析,以及治理方案联动。见图1,具体识别检测流程如下:The system's identification and detection of water leakage is mainly divided into two parts, one is the identification of water leakage, and the other is the judgment of the degree of water leakage. Through the trained LVQ model, real-time water leakage identification is performed on the tunnel situation in the video stream. After identifying the water leakage picture, the edge processing of the Canny algorithm is performed on it, and the severity of the water leakage is judged by the water leakage area. Combined with the tunnel maintenance cloud platform for data analysis and linkage of governance plans. See Figure 1. The specific identification and detection process is as follows:

接入视频流,进行单帧图像预处理;Access the video stream for single-frame image preprocessing;

使用训练好的LVQ模型进行识别;Use the trained LVQ model for recognition;

判断是否存在渗漏水情况;Determine whether there is water leakage;

一旦发现渗漏水,保存当前帧视频图像并使用边缘计算判断渗漏水程度;Once water leakage is found, save the video image of the current frame and use edge computing to determine the degree of water leakage;

使用滤波器降低图像噪声;Use filters to reduce image noise;

采用增强算法将邻域中灰度有显著变化的点突出显示;The enhancement algorithm is used to highlight the points with significant changes in gray level in the neighborhood;

使用梯度幅值阈值判定作为边缘计算判断标准;Use gradient amplitude threshold judgment as edge calculation judgment standard;

使用渗漏水面积作为渗漏水程度并输出。Use the leakage water area as the leakage water level and output.

(2)LVQ神经网络模型(2) LVQ neural network model

学习向量量化(LVQ)神经网络是一种用于训练竞争层的有监督学习方法的神经网络,在识别和优化领域有着广泛的应用。LVQ神经网络由3层神经元组成,即输入层、竞争层和线性输出层。输入层与竞争层之间采用全连接的方式,竞争层与线性输出层之间采用部分连接的方式。竞争层神经元个数总大于线性输出层神经元个数,每个线性输出层神经元可以与多个竞争层神经元连接。见图2,其优点如下:Learning Vector Quantization (LVQ) neural network is a kind of neural network with supervised learning method for training competitive layers, which has a wide range of applications in the field of recognition and optimization. The LVQ neural network consists of 3 layers of neurons, namely the input layer, the competition layer and the linear output layer. The input layer and the competition layer are fully connected, and the competition layer and the linear output layer are partially connected. The number of neurons in the competition layer is always greater than the number of neurons in the linear output layer, and each linear output layer neuron can be connected with multiple competition layer neurons. See Figure 2, the advantages are as follows:

1.网络结构简单。1. The network structure is simple.

2.可以通过监督学习完成对输入向量模式的准确分类。2. Accurate classification of input vector patterns can be accomplished through supervised learning.

3.无需对输入向量进行归一化、正交化处理。3. There is no need to normalize and orthogonalize the input vector.

4.可直接计算输入向量与竞争层之间的距离来实现识别。4. The distance between the input vector and the competition layer can be directly calculated to realize the recognition.

(3)LVQ神经网络模型学习算法(3) LVQ neural network model learning algorithm

LVQ神经网络算法是在有监督状态下对竞争层进行训练的一种学习算法,而非是传统学习算法是自组织特征映射算法。典型的学习矢量量化算法有LVQ1、LVQ2和LVQ3,其中前两种算法应用较为广泛,尤以LVQ2的应用最为广泛和有效。已经成功应用到统计学、模式识别、机器学习等多个领域。The LVQ neural network algorithm is a learning algorithm that trains the competitive layer in a supervised state, rather than the traditional learning algorithm, which is a self-organizing feature mapping algorithm. The typical learning vector quantization algorithms are LVQ1, LVQ2 and LVQ3, among which the first two algorithms are widely used, especially LVQ2 is the most widely used and effective. It has been successfully applied to many fields such as statistics, pattern recognition, and machine learning.

在LVQ1算法中,只有一个神经元可以获胜,即只有一个神经元的权值可以得到更新调整。为了提高分类的准确率,通过改进LVQ1算法得到LVQ2算法,其基于光滑的移动决策边界逼近贝叶斯极限。LVQ2版本接着被修改为LVQ2.1,并最终发展为LVQ3。这些后来的LVQ版本都引入了次获胜神经元,获胜神经元的权值向量和次获胜神经元的权值向量都被更新。具体计算步骤:In the LVQ1 algorithm, only one neuron can win, that is, only one neuron's weight can be updated and adjusted. In order to improve the classification accuracy, the LVQ2 algorithm is obtained by improving the LVQ1 algorithm, which approaches the Bayesian limit based on the smooth moving decision boundary. The LVQ2 version was then revised to LVQ2.1 and eventually to LVQ3. These later versions of LVQ all introduced secondary winning neurons, and both the winning neuron's weight vector and the secondary winning neuron's weight vector were updated. Specific calculation steps:

步骤1:初始化输入层与竞争层之间的权值ωij以及学习率η(η>0)。Step 1: Initialize the weight ω ij between the input layer and the competitive layer and the learning rate η (η>0).

步骤2:利用LVQ1算法对所有输入模式进行学习。Step 2: Use the LVQ1 algorithm to learn all input patterns.

步骤3:将输入向量x=(x1,x2,…,xR)T送入到输入层,并计算竞争层与输入向量的距离。Step 3: Send the input vector x=(x 1 , x 2 ,...,x R ) T to the input layer, and calculate the distance between the competition layer and the input vector.

Figure BDA0002549408310000061
Figure BDA0002549408310000061

步骤4:选择与输入向量距离最小的两个竞争层神经元i,j。Step 4: Select the two competing layer neurons i, j with the smallest distance from the input vector.

步骤5:如果神经元i和神经元j满足以下两个条件:Step 5: If neuron i and neuron j satisfy the following two conditions:

③神经元i和神经元j对应不同的类别;③ Neuron i and neuron j correspond to different categories;

④神经元i和神经元j与当前输入向量的距离di和dj满足

Figure BDA0002549408310000062
④ The distances d i and d j between neuron i and neuron j and the current input vector satisfy
Figure BDA0002549408310000062

其中,ρ为输入向量可能落进的接近于两个向量中段平面的窗口宽度。where ρ is the width of the window that the input vector may fall into which is close to the plane of the mid-section of the two vectors.

则有:Then there are:

③若神经元i对应的类别Ci与输入向量对应的类别Cx一致,即Ci=Cx③ If the category C i corresponding to neuron i is consistent with the category C x corresponding to the input vector, that is, C i =C x ,

则神经元i和神经元j的权值根据下式进行修正。Then the weights of neuron i and neuron j are modified according to the following formula.

Figure BDA0002549408310000071
Figure BDA0002549408310000071

④若神经元j对应的类别Cj与输入向量对应的类别Cx一致,即Cj=Cx④ If the category C j corresponding to neuron j is consistent with the category C x corresponding to the input vector, that is, C j =C x ,

则神经元i和神经元j的权值根据下式进行修正。Then the weights of neuron i and neuron j are modified according to the following formula.

Figure BDA0002549408310000072
Figure BDA0002549408310000072

步骤6:若神经元i和神经元j不满足步骤5的条件,则只更新距离输入向量最近的神经元权值。Step 6: If neuron i and neuron j do not meet the conditions of step 5, only the neuron weights closest to the input vector are updated.

步骤7:最后使用测试数据集评估模型的性能。Step 7: Finally evaluate the performance of the model using the test dataset.

(4)渗漏水识别模型训练(4) Leakage identification model training

渗漏水识别的主要目的是用来检测隧道监控画面内是否存在渗漏水,且只存在有渗漏水和无渗漏水。The main purpose of water leakage identification is to detect whether there is water leakage in the tunnel monitoring screen, and there are only water leakage and no water leakage.

步骤1:对数据集中所有图像进行人工标签。Step 1: Manually label all images in the dataset.

步骤2:使用训练数据集对LVQ模型进行训练直至模型收敛。Step 2: Use the training dataset to train the LVQ model until the model converges.

步骤3:使用验证数据集对模型的泛化能力进行评估,并调整超参数,并取迭代1500次后的模型作为初步识别模型。Step 3: Use the validation dataset to evaluate the generalization ability of the model, adjust the hyperparameters, and take the model after 1500 iterations as the initial recognition model.

步骤4:重复步骤2和3直至模型在验证数据集上的泛化能力满足任务需求。Step 4: Repeat steps 2 and 3 until the generalization ability of the model on the validation dataset meets the task requirements.

步骤5:固定已训练好的网络结构。Step 5: Fix the trained network structure.

步骤6:使用验证数据集评估模型是否发生过拟合。Step 6: Use the validation dataset to assess whether the model is overfitting.

渗漏水识别模型的性能将决定着识别的结果,本系统将模型训练至精确度95%以上,并平均推断耗时少,能达到实时性的要求。The performance of the leakage water identification model will determine the identification result. This system trains the model to an accuracy of more than 95%, and the average inference time is less, which can meet the real-time requirements.

(5)渗漏水严重程度评价算法(5) Evaluation algorithm of water leakage severity

隧道渗漏水区域即为隧道壁,位于视频图像的四周,因此可以提取图片的四周部分作为感兴趣区域,以降低车辆,隧道照明等对渗漏水检测的干扰以及减少检测算法的处理时间。The tunnel water leakage area is the tunnel wall, which is located around the video image. Therefore, the surrounding part of the picture can be extracted as the area of interest to reduce the interference of vehicles and tunnel lighting on water leakage detection and reduce the processing time of the detection algorithm.

本系统先对获取到的渗漏水图像进行预处理,见图3。The system first preprocesses the obtained leakage water images, as shown in Figure 3.

步骤1:灰度化二值处理。由于隧道背景复杂,处理后会存在一些噪声,需要对二值图像进行减噪处理,其中形态学操作,即膨胀和腐蚀操作可以很好地解决该问题。Step 1: Grayscale binary processing. Due to the complex background of the tunnel, there will be some noise after processing, and the binary image needs to be denoised. Morphological operations, namely dilation and erosion operations, can solve this problem well.

步骤2:高斯滤波。对整幅图像进行加权平均,每一个像素点的值,都由其本身和邻域内的其他像素值经过加权平均后得到。平滑处理后降低噪声的影响。Step 2: Gaussian filtering. A weighted average is performed on the entire image, and the value of each pixel is obtained by weighted averaging of itself and other pixel values in its neighborhood. Reduces the effect of noise after smoothing.

步骤3:腐蚀。除物体边界点,使目标缩小,可以消除小于结构元素的噪声点。Step 3: Corrosion. By removing the boundary points of the object and making the target smaller, noise points smaller than structuring elements can be eliminated.

步骤4:膨胀。将于物体接粗的所有背景点合并到物体中,使目标增大,可填补目标中的空洞。Step 4: Inflate. Merge all the background points of the object into the object, make the target larger, and fill the holes in the target.

步骤5:边缘检测。用一阶偏导的有限差分来计算梯度的幅值和方向;对梯度幅值进行非极大值抑制;用双阈值算法检测和连接边缘。Step 5: Edge Detection. Use the finite difference of first-order partial derivatives to calculate the magnitude and direction of the gradient; perform non-maximum suppression on the gradient magnitude; detect and connect edges with a double-threshold algorithm.

然后计算渗漏水的尺寸大小,并更加其大小,将严重程度划分为轻微渗漏水与严重渗漏水。Then calculate the size of the leaking water, and further its size, divide the severity into minor leaking water and severe leaking water.

本系统使用的视觉图像处理法是通过在可见光图像中渗漏水区域相较于无渗漏水区域会出现灰度差,利用该差别特征完成检测。并可以充分利用隧道内原有摄像机进行改造,节约资源。The visual image processing method used in this system is to use the difference feature to complete the detection through the grayscale difference in the water leakage area in the visible light image compared with the non-leakage area. And can make full use of the original camera in the tunnel for transformation, saving resources.

针对隧道渗漏水图像的特点,基于学习向量量化(LVQ)神经网络模型,研究一种渗漏水识别技术,用于实时对隧道检测过程中拍摄到的画面进行渗漏水判定。首先通过使用在隧道中收集一系列渗漏水图像作为识别数据集,并利用该数据集对LVQ神经网络模型进行训练和调式,调式出最优的决策阈值以提高其检测精度。并使用Canny算法对渗漏水程度进行判断,视渗漏水严重程度联动隧道运维人员进行整治。According to the characteristics of tunnel water leakage images, based on the learning vector quantization (LVQ) neural network model, a water leakage identification technology is researched, which is used for real-time water leakage judgment on the pictures taken during the tunnel detection process. Firstly, by using a series of leaking water images collected in the tunnel as the identification data set, and using the data set to train and adjust the LVQ neural network model, the optimal decision threshold is adjusted to improve its detection accuracy. And the Canny algorithm is used to judge the degree of water leakage, and the tunnel operation and maintenance personnel are linked to rectify according to the severity of the leakage.

本检测系统优点:Advantages of this detection system:

1.采用非接触监测技术,系统的可靠性、耐久性高;1. Using non-contact monitoring technology, the system has high reliability and durability;

2.摄像机可以同时监测多个病害部位,且是已有设备,节约设备投入;2. The camera can monitor multiple diseased parts at the same time, and it is an existing equipment, saving equipment investment;

3.具备对渗漏水病害程度判定;3. Have the ability to judge the degree of water leakage disease;

4.信息接入隧道维保管理云平台进行存储和分析。4. Information access tunnel maintenance management cloud platform for storage and analysis.

上述仅为本发明的具体实施例,同时凡本发明中所涉及的如“上、下、左、右、中间”等词,仅作参考用,并非绝对限定,凡利用本发明进行非实质性的改动,均应属于侵犯本发明保护范围的行为。The above are only specific embodiments of the present invention, and all words such as "upper, lower, left, right, middle" involved in the present invention are only for reference and are not absolutely limited. Any modification shall be regarded as an act infringing the protection scope of the present invention.

Claims (5)

1.一种隧道渗漏水识别方法,包括如下步骤:1. A method for identifying water leakage in a tunnel, comprising the steps of: (1)接入视频流,进行单帧图像预处理;(1) Access the video stream and perform single-frame image preprocessing; (2)使用训练好的LVQ模型对处理后的图像进行识别;(2) Use the trained LVQ model to identify the processed image; (3)判断是否存在渗漏水情况;(3) Judging whether there is water leakage; (4)一旦发现渗漏水,保存当前帧视频图像并使用Canny算法对渗漏水进行边缘计算,判断渗漏水程度并输出;(4) Once water leakage is found, save the current frame video image and use the Canny algorithm to perform edge calculation on the leakage, judge the degree of leakage and output; (5)运营人员视严重程度安排人员检测。(5) The operator arranges personnel testing according to the severity. 2.根据权利要求1所述的一种隧道渗漏水识别方法,其特征在于:步骤(1)中,视频流采用隧道中的监控摄像机群。2 . The method for identifying water leakage in a tunnel according to claim 1 , wherein in step (1), the video stream adopts a group of surveillance cameras in the tunnel. 3 . 3.根据权利要求1所述的一种隧道渗漏水识别方法,其特征在于:LVQ模型由三层神经元组成,即输入层、竞争层和线性输出层,LVQ神经网络算法是在有监督状态下对竞争层进行训练的一种学习算法,具体计算步骤如下:3. a kind of tunnel seepage water identification method according to claim 1 is characterized in that: LVQ model is made up of three layers of neurons, namely input layer, competition layer and linear output layer, LVQ neural network algorithm is supervised A learning algorithm for training the competition layer in the state, the specific calculation steps are as follows: 步骤1:初始化输入层与竞争层之间的权值ωij以及学习率η(η>0);Step 1: Initialize the weight ω ij between the input layer and the competitive layer and the learning rate η (η>0); 步骤2:利用LVQ1算法对所有输入模式进行学习;Step 2: Use the LVQ1 algorithm to learn all input patterns; 步骤3:将输入向量x=(x1,x2,…,xR)T送入到输入层,并计算竞争层与输入向量的距离;Step 3: Send the input vector x=(x 1 , x 2 ,...,x R ) T to the input layer, and calculate the distance between the competition layer and the input vector;
Figure FDA0002549408300000011
Figure FDA0002549408300000011
步骤4:选择与输入向量距离最小的两个竞争层神经元i,j;Step 4: Select the two competing layer neurons i, j with the smallest distance from the input vector; 步骤5:如果神经元i和神经元j满足以下两个条件:Step 5: If neuron i and neuron j satisfy the following two conditions: ①神经元i和神经元j对应不同的类别;① Neuron i and neuron j correspond to different categories; ②神经元i和神经元j与当前输入向量的距离di和dj满足
Figure FDA0002549408300000012
②The distances d i and d j between neuron i and neuron j and the current input vector satisfy
Figure FDA0002549408300000012
其中,ρ为输入向量可能落进的接近于两个向量中段平面的窗口宽度;Among them, ρ is the window width that the input vector may fall into which is close to the plane of the mid-section of the two vectors; 则有:Then there are: ①若神经元i对应的类别Ci与输入向量对应的类别Cx一致,即Ci=Cx,则神经元i和神经元j的权值根据下式进行修正;①If the category C i corresponding to neuron i is consistent with the category C x corresponding to the input vector, that is, C i =C x , the weights of neuron i and neuron j are modified according to the following formula;
Figure FDA0002549408300000021
Figure FDA0002549408300000021
②若神经元j对应的类别Cj与输入向量对应的类别Cx一致,即Cj=Cx,则神经元i和神经元j的权值根据下式进行修正;②If the category C j corresponding to neuron j is consistent with the category C x corresponding to the input vector, that is, C j =C x , the weights of neuron i and neuron j are modified according to the following formula;
Figure FDA0002549408300000022
Figure FDA0002549408300000022
步骤6:若神经元i和神经元j不满足步骤5的条件,则只更新距离输入向量最近的神经元权值;Step 6: If neuron i and neuron j do not meet the conditions of step 5, only the neuron weights closest to the input vector are updated; 步骤7:最后使用测试数据集评估模型的性能。Step 7: Finally evaluate the performance of the model using the test dataset.
4.根据权利要求1所述的一种隧道渗漏水识别方法,其特征在于:LVQ模型渗漏水识别训练步骤为:4. a kind of tunnel seepage water identification method according to claim 1, is characterized in that: LVQ model seepage water identification training step is: 步骤1:对数据集中所有图像进行人工标签;Step 1: Manually label all images in the dataset; 步骤2:使用训练数据集对LVQ模型进行训练直至模型收敛;Step 2: Use the training dataset to train the LVQ model until the model converges; 步骤3:使用验证数据集对模型的泛化能力进行评估,并调整超参数,并取迭代1500次后的模型作为初步识别模型;Step 3: Use the validation data set to evaluate the generalization ability of the model, adjust the hyperparameters, and take the model after 1500 iterations as the initial recognition model; 步骤4:重复步骤2和3直至模型在验证数据集上的泛化能力满足任务需求;Step 4: Repeat steps 2 and 3 until the generalization ability of the model on the validation dataset meets the task requirements; 步骤5:固定已训练好的网络结构;Step 5: Fix the trained network structure; 步骤6:使用验证数据集评估模型是否发生过拟合;Step 6: Use the validation dataset to evaluate whether the model is overfitting; 渗漏水识别模型的性能将决定着识别的结果,本系统将模型训练至精确度95%以上,并平均推断耗时少,能达到实时性的要求。The performance of the leakage water identification model will determine the identification result. This system trains the model to an accuracy of more than 95%, and the average inference time is less, which can meet the real-time requirements. 5.根据权利要求1所述的一种隧道渗漏水识别方法,其特征在于:步骤(1)中,渗漏水图像进行预处理包括如下步骤:5. The method for identifying water leakage in a tunnel according to claim 1, wherein in step (1), the preprocessing of the water leakage image comprises the following steps: 步骤1:灰度化二值处理;Step 1: Grayscale binary processing; 步骤2:高斯滤波;对整幅图像进行加权平均,每一个像素点的值,都由其本身和邻域内的其他像素值经过加权平均后得到;平滑处理后降低噪声的影响;Step 2: Gaussian filtering; weighted average of the entire image, the value of each pixel is obtained by weighted average of itself and other pixel values in the neighborhood; after smoothing, the influence of noise is reduced; 步骤3:腐蚀;除物体边界点,使目标缩小,可以消除小于结构元素的噪声点;Step 3: Corrosion; remove the boundary points of the object, make the target smaller, and eliminate noise points smaller than structural elements; 步骤4:膨胀;将于物体接粗的所有背景点合并到物体中,使目标增大,可填补目标中的空洞;Step 4: Expansion; merge all the background points of the object into the object to make the target larger and fill the holes in the target; 步骤5:边缘检测。Step 5: Edge Detection.
CN202010570943.3A 2020-06-22 2020-06-22 A method for identifying water leakage in tunnels Pending CN111767815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010570943.3A CN111767815A (en) 2020-06-22 2020-06-22 A method for identifying water leakage in tunnels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010570943.3A CN111767815A (en) 2020-06-22 2020-06-22 A method for identifying water leakage in tunnels

Publications (1)

Publication Number Publication Date
CN111767815A true CN111767815A (en) 2020-10-13

Family

ID=72721549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010570943.3A Pending CN111767815A (en) 2020-06-22 2020-06-22 A method for identifying water leakage in tunnels

Country Status (1)

Country Link
CN (1) CN111767815A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581262A (en) * 2020-12-23 2021-03-30 百维金科(上海)信息科技有限公司 Whale algorithm-based fraud detection method for optimizing LVQ neural network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080114553A1 (en) * 2006-11-15 2008-05-15 Eurocopter Method and a system for detecting and locating an adjustment error or a defect of a rotorcraft rotor
CN107766816A (en) * 2017-10-18 2018-03-06 河海大学 A kind of Mechanical Failure of HV Circuit Breaker recognition methods based on LVQ neutral nets
WO2018122810A1 (en) * 2016-12-30 2018-07-05 同济大学 Method for detecting leakage of underground pipe rack based on dynamic infrared thermogram processing
CN108765386A (en) * 2018-05-16 2018-11-06 中铁科学技术开发公司 A kind of tunnel slot detection method, device, electronic equipment and storage medium
CN109767426A (en) * 2018-12-13 2019-05-17 同济大学 A method for detecting water leakage in shield tunnels based on image feature recognition
CN110529186A (en) * 2019-09-11 2019-12-03 上海同岩土木工程科技股份有限公司 Tunnel structure percolating water based on infrared thermal imaging accurately identifies device and method
CN110689042A (en) * 2019-08-20 2020-01-14 中国矿业大学(北京) Method and device for identifying tunnel leakage level, storage medium, and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080114553A1 (en) * 2006-11-15 2008-05-15 Eurocopter Method and a system for detecting and locating an adjustment error or a defect of a rotorcraft rotor
WO2018122810A1 (en) * 2016-12-30 2018-07-05 同济大学 Method for detecting leakage of underground pipe rack based on dynamic infrared thermogram processing
CN109716108A (en) * 2016-12-30 2019-05-03 同济大学 An Asphalt Pavement Disease Detection System Based on Binocular Image Analysis
CN110268190A (en) * 2016-12-30 2019-09-20 同济大学 A leak detection method for underground pipe gallery based on static infrared thermal image processing
CN107766816A (en) * 2017-10-18 2018-03-06 河海大学 A kind of Mechanical Failure of HV Circuit Breaker recognition methods based on LVQ neutral nets
CN108765386A (en) * 2018-05-16 2018-11-06 中铁科学技术开发公司 A kind of tunnel slot detection method, device, electronic equipment and storage medium
CN109767426A (en) * 2018-12-13 2019-05-17 同济大学 A method for detecting water leakage in shield tunnels based on image feature recognition
CN110689042A (en) * 2019-08-20 2020-01-14 中国矿业大学(北京) Method and device for identifying tunnel leakage level, storage medium, and electronic device
CN110529186A (en) * 2019-09-11 2019-12-03 上海同岩土木工程科技股份有限公司 Tunnel structure percolating water based on infrared thermal imaging accurately identifies device and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MATLAB中文论坛: "《MATLAB神经网络30个案例分析》", 30 April 2010, 北京航空航天大学出版社, pages: 188 - 190 *
贾东峰等: "多尺度空间下的隧道裂缝与渗水区域检测", 《同济大学学报(自然科学版)》 *
贾东峰等: "多尺度空间下的隧道裂缝与渗水区域检测", 《同济大学学报(自然科学版)》, no. 12, 31 December 2019 (2019-12-31), pages 139 - 144 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581262A (en) * 2020-12-23 2021-03-30 百维金科(上海)信息科技有限公司 Whale algorithm-based fraud detection method for optimizing LVQ neural network

Similar Documents

Publication Publication Date Title
Li et al. Automatic pixel‐level multiple damage detection of concrete structure using fully convolutional network
Li et al. Recognition and evaluation of bridge cracks with modified active contour model and greedy search-based support vector machine
WO2023082418A1 (en) Power utility tunnel settlement crack identification method based on artificial intelligence technology
CN113240623B (en) Pavement disease detection method and device
CN114581764B (en) Underground structure crack disease discriminating method based on deep learning algorithm
CN112967243A (en) Deep learning chip packaging crack defect detection method based on YOLO
CN111814686A (en) A vision-based transmission line identification and foreign object intrusion online detection method
CN110796643A (en) Rail fastener defect detection method and system
WO2019080367A1 (en) Method for evaluating health status of mechanical device
Zhang et al. Investigation of pavement crack detection based on deep learning method using weakly supervised instance segmentation framework
CN113313107B (en) Intelligent detection and identification method for multiple types of diseases on cable surface of cable-stayed bridge
Ye et al. Diagnosis of sewer pipe defects on image recognition of multi-features and support vector machine in a southern Chinese city
CN108764186A (en) Personage based on rotation deep learning blocks profile testing method
CN111402249B (en) Image evolution analysis method based on deep learning
CN114926483B (en) Scrap steel grade judging method based on region segmentation combination Yolov5
CN115131377B (en) Railway turnout spacing detection method, device and system
CN113239790A (en) Tongue crack feature identification and length measurement method and system
CN116519808A (en) Ultrasonic positioning and identification method for rail damage and computer-readable storage medium
Liu et al. Surface defect detection of stay cable sheath based on autoencoder and auxiliary anomaly location
CN117875549B (en) Building heritage protection evaluation system and method based on image recognition
CN118839970A (en) Cloud-edge integrated intelligent water conservancy management system and method
CN118736270A (en) A method and system for identifying internal defects of sewer pipes
CN108242060A (en) A Method of Image Edge Detection Based on Sobel Operator
CN111795982A (en) Detection method for internal defects of high-voltage cable joints based on X-ray imaging technology
CN119516225B (en) A construction progress assessment method based on construction images

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201013

RJ01 Rejection of invention patent application after publication