CN116703811A - A Defect Identification and Abnormal Segmentation Method for Drainage Pipeline Defects - Google Patents
A Defect Identification and Abnormal Segmentation Method for Drainage Pipeline Defects Download PDFInfo
- Publication number
- CN116703811A CN116703811A CN202211275650.8A CN202211275650A CN116703811A CN 116703811 A CN116703811 A CN 116703811A CN 202211275650 A CN202211275650 A CN 202211275650A CN 116703811 A CN116703811 A CN 116703811A
- Authority
- CN
- China
- Prior art keywords
- image
- network
- segmentation
- original image
- defect
- 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
Links
- 230000007547 defect Effects 0.000 title claims abstract description 62
- 230000011218 segmentation Effects 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000002159 abnormal effect Effects 0.000 title claims abstract description 25
- 238000000605 extraction Methods 0.000 claims abstract description 12
- 239000002131 composite material Substances 0.000 claims description 16
- 238000012549 training Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000010801 machine learning Methods 0.000 description 5
- 238000013135 deep learning Methods 0.000 description 4
- 238000013527 convolutional neural network Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000000877 morphologic effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000002194 synthesizing effect Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003709 image segmentation Methods 0.000 description 2
- 238000001303 quality assessment method Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- Quality & Reliability (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
Abstract
本发明提供了一种排水管道缺陷识别和异常分割方法,所述缺陷识别和异常分割方法包括:S1.将原图输入分割网络中,得到分割图;S2.将所述分割图输入训练好的cGAN中,得到合成图;S3.将原图和合成图输入所述分割网络中,得到所述原图和合成图的特征提取值;S4.将所述原图和合成图的特征提取值输入比较模块中实现缺陷识别和异常分割,解决了现有技术中存在的缺陷识别和异常分割准确率低的技术问题,提高了排水管道缺陷检测的可靠性和安全性,具有应用价值。
The present invention provides a drainage pipeline defect identification and abnormal segmentation method, the defect identification and abnormal segmentation method includes: S1. Input the original image into the segmentation network to obtain the segmented image; S2. Input the trained segmented image In the cGAN, a synthetic image is obtained; S3. inputting the original image and the synthetic image into the segmentation network to obtain the feature extraction values of the original image and the synthetic image; S4. inputting the feature extraction values of the original image and the synthetic image Defect identification and abnormal segmentation are implemented in the comparison module, which solves the technical problem of low accuracy of defect identification and abnormal segmentation in the prior art, improves the reliability and safety of drainage pipeline defect detection, and has application value.
Description
技术领域technical field
本发明涉及图像分割技术领域,尤其是涉及一种排水管道缺陷的缺陷识别和异常分割方法。The invention relates to the technical field of image segmentation, in particular to a defect identification and abnormal segmentation method for drainage pipeline defects.
背景技术Background technique
在机器学习方法出现之前,CCTV探测是管道缺陷识别领域主流的实践方法。早在20世纪50年代管道闭路电视识别系统CCTV就已经出现,到80年代已经基本成熟,管道闭路电视识别系统在识别前需清洗管道,探测过程中如发现异常点便记录其位置方位以及缺陷种类并存档。由于实际中的管道结构错综复杂,这种方法存在诸多不便且主观性较强。1990年代开始,出现了基于机器学习的自动缺陷识别方法,这些方法也经历从学习方法到非学习方法的发展过程。传统的基于机器视觉的表面缺陷识别方法,往往采用常规图像处理算法或人工设计特征加分类器方式。例如,Sinha等人提出了一种线性特征提取机制来完成缺陷识别的特定任务,在后续的研究中,他们进一步提出了一种基于形态学操作序列的算法,以分割管道裂缝、孔、接头和塌陷的表面。但是,这些形态学方法通常需要大量的处理步骤,并且需要设计复杂的特征提取器来处理具有明显形态特征的缺陷。每个特征提取器仅针对一个缺陷,这极大地限制了图像处理效率。近几年,机器学习成为计算机视觉领域的热门技术,如卷积神经网络等深度学习技术被广泛的应用于裂缝图像分析。在深度学习算法中,网络学习如何在训练过程中自动提取特征,而且由于深度学习省略了传统机器学习技术中使用的关键且耗时的特征工程步骤,因此它比传统方法更通用。这些之前的研究主要集中在缺陷分类和定位中,缺陷形状和边界的自动探测很少被研究。Wang等人第一次提出了一个名为DilaSeg的语义分割网络来分割管道缺陷。在应用深度学习进行语义分割领域,全连接神经网络是一个具有突破性的模型,它可以实现像素级别的转换。因此,近年来提出的许多图像分割网络,这些网络和全连接神经网络非常相似,PipeUNet(参考文献:Pan G,ZhengY,Guo S,et al.Automatic sewer pipe defect semantic segmentation based onimproved U-Net[J].Automation in Construction,2020,2020(119).)就是其中一种。分割模型的质量评估是指在不使用标签真值的前提下,评估分割模型的总体质量。当模型面临失效风险时,质量评估可以及时给出预警。不确定性估计或置信度估计多年来一直是机器学习领域中的热门话题,并且可以直接应用于缺陷识别任务。现有的分割模型的质量评估主要有两种方式:第一种是利用双线性卷积神经网络(BCNN)来预测医学图像的分割质量,从一对图像计算出的深度特征及其分割图中得出分割质量的回归结果。第二种采用非监督的学习方法,利用几何特征来评估分割质量。但考虑到2D场景和对象的复杂性和较大的形状变化,这种方法几乎不适用于自然图像。Before the advent of machine learning methods, CCTV detection was the mainstream practice in the field of pipeline defect identification. As early as the 1950s, the pipeline closed-circuit television identification system CCTV had appeared, and it was basically mature in the 1980s. The pipeline closed-circuit television identification system needs to clean the pipeline before identification. If an abnormal point is found during the detection process, its position, orientation and defect type will be recorded and archive. Due to the intricate structure of the pipeline in practice, this method has many inconveniences and is highly subjective. Since the 1990s, automatic defect identification methods based on machine learning have emerged, and these methods have also undergone a development process from learning methods to non-learning methods. Traditional machine vision-based surface defect recognition methods often use conventional image processing algorithms or artificially designed features plus classifiers. For example, Sinha et al. proposed a linear feature extraction mechanism to complete the specific task of defect identification, and in a follow-up study, they further proposed an algorithm based on a sequence of morphological operations to segment pipeline cracks, holes, joints, and collapsed surface. However, these morphological methods usually require a large number of processing steps and require the design of sophisticated feature extractors to handle defects with distinct morphological features. Each feature extractor only targets one defect, which greatly limits the image processing efficiency. In recent years, machine learning has become a popular technology in the field of computer vision, and deep learning technologies such as convolutional neural networks have been widely used in crack image analysis. In deep learning algorithms, the network learns how to automatically extract features during training, and because deep learning omits the critical and time-consuming feature engineering step used in traditional machine learning techniques, it is more general than traditional methods. These previous studies mainly focus on defect classification and localization, and the automatic detection of defect shape and boundary is rarely studied. For the first time, Wang et al. proposed a semantic segmentation network named DilaSeg to segment pipeline defects. In the field of applying deep learning to semantic segmentation, the fully connected neural network is a breakthrough model, which can achieve pixel-level transformation. Therefore, many image segmentation networks have been proposed in recent years, which are very similar to fully connected neural networks, PipeUNet (references: Pan G, ZhengY, Guo S, et al. Automatic sewer pipe defect semantic segmentation based on improved U-Net[J ]. Automation in Construction, 2020, 2020 (119).) is one of them. Quality assessment of segmentation models refers to assessing the overall quality of segmentation models without using the ground-truth labels. When the model faces the risk of failure, the quality assessment can give early warning in time. Uncertainty estimation or confidence estimation has been a hot topic in the field of machine learning for many years and can be directly applied to defect identification tasks. There are two main ways to evaluate the quality of existing segmentation models: the first is to use bilinear convolutional neural network (BCNN) to predict the segmentation quality of medical images, the depth features calculated from a pair of images and their segmentation maps The regression results of the segmentation quality are obtained in . The second adopts an unsupervised learning method and utilizes geometric features to evaluate segmentation quality. But considering the complexity and large shape variation of 2D scenes and objects, this method is hardly suitable for natural images.
发明内容Contents of the invention
本发明的目的在于提供一种排水管道缺陷的缺陷识别和异常分割方法,以解决现有技术中存在的缺陷识别和异常分割准确率低的技术问题。The purpose of the present invention is to provide a defect identification and abnormal segmentation method for drainage pipeline defects, so as to solve the technical problem of low defect identification and abnormal segmentation accuracy existing in the prior art.
本发明提供的一种排水管道缺陷的缺陷识别和异常分割方法,包括:S1.将原图输入分割网络中,得到分割图;S2.将所述分割图输入训练好的cGAN(参考文献:Mirza M,Osindero S.Conditional generative adversarial nets[J].arXiv preprint arXiv:1411.1784,2014.)中,得到合成图;S3.将原图和合成图输入所述分割网络中,得到所述原图和合成图的特征提取值;S4.将所述原图和合成图的特征提取值输入比较模块中实现缺陷识别和异常分割。A defect identification and abnormal segmentation method for drainage pipeline defects provided by the present invention includes: S1. inputting the original image into the segmentation network to obtain the segmented image; S2. inputting the segmented image into the trained cGAN (reference: Mirza M, Osindero S.Conditional generative adversarial nets[J].arXiv preprint arXiv:1411.1784,2014.) to obtain a synthetic image; S3. Input the original image and synthetic image into the segmentation network to obtain the original image and synthetic The feature extraction value of the image; S4. Input the feature extraction value of the original image and the synthetic image into the comparison module to realize defect identification and abnormal segmentation.
进一步的,所述S2中的cGAN包括生成网络和判别网络,所述cGAN的具体训练方法包括:S21.生成网络和判别网络随机初始化;S22.固定生成网络的参数,更新判别网络的参数,使得判别网络对原图给出的评分较高,而对生成网络生成的合成图给出的评分较低;S23.固定判别网络的参数,更新生成网络的参数,使得判别网络对生成网络生成的合成图的评分实现最大值。Further, the cGAN in the S2 includes a generation network and a discrimination network, and the specific training method of the cGAN includes: S21. The generation network and the discrimination network are randomly initialized; S22. The parameters of the generation network are fixed, and the parameters of the discrimination network are updated, so that The discriminant network gives a higher score to the original image, but gives a lower score to the synthetic image generated by the generating network; S23. Fix the parameters of the discriminant network, update the parameters of the generating network, so that the discriminant network can synthesize the generated network The score of the graph achieves the maximum value.
进一步的,所述S4中的比较模块包括比较函数,通过余弦距离定义所述原图和所述合成图的差异特征。Further, the comparison module in S4 includes a comparison function, which defines the difference characteristics between the original image and the synthesized image through cosine distance.
本发明提供的一种排水管道缺陷的缺陷识别和异常分割方法,通过预先训练好cGAN,以分割网络的分割图作为输入,利用cGAN的生成网络生成合成图,将合成图和原图输入比较函数得到差异特征,实现了缺陷识别和异常分割,解决了现有技术中存在的缺陷识别和异常分割准确率低的技术问题,提高了排水管道缺陷识别的可靠性和安全性,具有应用价值。A defect identification and abnormal segmentation method for drainage pipeline defects provided by the present invention, by pre-training cGAN, taking the segmentation map of the segmentation network as input, using the generation network of cGAN to generate a synthetic image, and inputting the synthetic image and the original image into the comparison function The difference features are obtained, defect identification and abnormal segmentation are realized, the technical problem of low accuracy of defect identification and abnormal segmentation in the prior art is solved, and the reliability and safety of drainage pipeline defect identification are improved, which has application value.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.
图1为本实施例提供的一种排水管道缺陷的缺陷识别和异常分割方法的流程图;FIG. 1 is a flow chart of a defect identification and abnormal segmentation method for a drainage pipe defect provided in this embodiment;
图2为本实施例提供的分割图合成为合成图的示意图;FIG. 2 is a schematic diagram of synthesizing the segmented image provided by this embodiment into a composite image;
图3为本实施例提供的比较模块的示意图;Fig. 3 is the schematic diagram of the comparison module provided by the present embodiment;
图4为本实施例提供的比较模块的双线性卷积神经网络结构示意图;Fig. 4 is the schematic diagram of the bilinear convolutional neural network structure of the comparison module provided by the present embodiment;
图5为本实施例提供的cGAN的判别网络的结构示意图;FIG. 5 is a schematic structural diagram of the discriminant network of cGAN provided in this embodiment;
图6为本实施例提供的生成网络的结构示意图;FIG. 6 is a schematic structural diagram of the generation network provided by this embodiment;
图7为本实施例提供的管道缺陷图像原图,从左到右图缺陷类型依次为支管暗接、偏移、裂缝、渗漏;Figure 7 is the original picture of the pipeline defect image provided in this embodiment, and the defect types in the figure from left to right are branch pipe concealed connection, offset, crack, and leakage;
图8为图7中对应的合成模块的合成图;Fig. 8 is the synthesizing figure of corresponding synthesizing module in Fig. 7;
图9为本实施例提供的真实管道缺陷和分割结果,从左到右依次为原图、分割标签、分割结果;Figure 9 shows the real pipeline defects and segmentation results provided by this embodiment, from left to right are the original image, segmentation labels, and segmentation results;
图10本实施例提供的不同阈值t所得到的分割图的异常检测结果。Fig. 10 is the abnormality detection results of the segmentation map obtained by different thresholds t provided in this embodiment.
具体实施方式Detailed ways
下面将结合实施例对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本实施例提供的一种排水管道缺陷的缺陷识别和异常分割方法,包括:A defect identification and abnormal segmentation method for drainage pipeline defects provided in this embodiment includes:
S1.将原图x输入语义分割网络M中,得到分割图 S1. Input the original image x into the semantic segmentation network M to obtain the segmentation image
S2.将分割图输入训练好的cGAN中,得到合成图/>语义分割网络M表现的越优异,由分割图/>生成的合成图/>就越接近于原图x。S2. Split the graph Input the trained cGAN to get the composite image/> The better the performance of the semantic segmentation network M, the better the segmentation map /> Generated composite map /> The closer it is to the original image x.
S3.将原图x和合成图输入语义分割网络M中,得到原图x和合成图/>的特征提取值。S3. The original image x and the composite image Enter the semantic segmentation network M to get the original image x and the composite image /> The feature extraction value of .
S4.将原图x和合成图的特征提取值输入比较模块F(.)中分别得到y和/>衡量两者的差异性。通过分析合成图/>和原图x之间的差异特征,定位缺陷所处位置,实现缺陷识别和异常分割。S4. The original image x and the composite image The feature extraction values of are input into the comparison module F(.) to obtain y and /> respectively Measure the difference between the two. Synthetic graph by analyzing /> The difference between the feature and the original image x, locate the location of the defect, and realize defect identification and abnormal segmentation.
对于异常分割来讲,一个缺陷样本x在分割网络M中会生成任意一个带标签的分割图将该带标签的分割图/>输入cGAN中的生成网络G中,得到带标签的合成图/>由于/>包含带标签的缺陷对象,经cGAN生成的合成图/>也只会被还原成相应的带标签的缺陷对象。合成图/>和原图x之间会存在较大的差异性,这种差异性反映了实际的分割图和理论上应得的分割图之间像素级别的语义差异,此为缺陷识别的主要依据。For abnormal segmentation, a defect sample x will generate any labeled segmentation map in the segmentation network M The labeled split graph /> Input into the generation network G in cGAN to get a labeled composite map /> due to /> Composite map generated by cGAN containing labeled defective objects /> will only be reverted to the corresponding tagged defect object. Composite image/> There will be a large difference between x and the original image x, which reflects the pixel-level semantic difference between the actual segmentation image and the theoretical segmentation image, which is the main basis for defect identification.
比较模块包括比较函数F(.),通过余弦距离定义原图x和合成图的差异特征。将原图x和合成图/>再次输入到分割模块M中,对原图x和合成图/>进行特征提取,然后用余弦距离作为指标定义原图x和合成图/>在下采样过程中最后一层特征上的差异。比较模块主要完成了两方面的工作,一是缺陷识别,包括缺陷位置和缺陷类型信息,通过计算原图和合成图在各个缺陷类别上的交并比,通过比较合成图和原图特征提取结果之间的差异,能够定位缺陷所处的位置,二是异常分割,即判断图片中是否有缺陷。具体到管道缺陷检测任务,在对合成图和原图进行特征提取之后,利用余弦距离计算得到的结果来衡量合成图和原图像素上的差异,并设置不同的阈值t。当像素差异小于阈值t,也就是合成图和原图的余弦距离大于阈值1-t时,认为该像素点属于含有缺陷的异常对象。本实施例中不同阈值t所得到的分割图的异常检测结果如图10所示。The comparison module includes a comparison function F(.), which defines the original image x and the synthetic image by cosine distance difference characteristics. The original image x and composite image /> Input to the segmentation module M again, for the original image x and the synthetic image /> Perform feature extraction, and then use the cosine distance as an indicator to define the original image x and the composite image /> The difference on the features of the last layer during downsampling. The comparison module mainly completes two aspects of work, one is defect identification, including defect location and defect type information, by calculating the cross-merge ratio of the original image and the synthetic image on each defect category, and by comparing the feature extraction results of the synthetic image and the original image The difference between them can locate the location of the defect, and the second is abnormal segmentation, which is to judge whether there is a defect in the picture. Specific to the pipeline defect detection task, after feature extraction is performed on the synthetic image and the original image, the result obtained by cosine distance calculation is used to measure the pixel difference between the synthetic image and the original image, and a different threshold t is set. When the pixel difference is less than the threshold t, that is, the cosine distance between the composite image and the original image is greater than the threshold 1-t, the pixel is considered to be an abnormal object containing defects. The anomaly detection results of the segmentation maps obtained with different thresholds t in this embodiment are shown in FIG. 10 .
S2中的cGAN包括生成网络G和判别网络D。利用带标签的图像来训练cGAN,使得cGAN生成的合成图尽可能接近原图x。sGAN的具体训练方法包括:S21.首先,生成网络G和判别网络D随机初始化;S22.在每一轮迭代中,先固定生成网络G的参数,更新判别网络D的参数,使得判别网络对原图x给出的评分D(x)较高,而对生成网络G生成的合成图G(z)给出的评分D(G(z))较低;S23.之后固定判别网络D的参数,更新生成网络G的参数,使得判别网络D对生成网络G生成的合成图G(z)的评分D(G(z))尽可能大。经过上述过程,生成网络G和判别网络D相互对抗,最终的结果就是cGAN的生成网络G能够生成尽可能真实的图片。The cGAN in S2 includes a generative network G and a discriminative network D. Use labeled images to train cGAN, so that the synthetic image generated by cGAN As close as possible to the original image x. The specific training methods of sGAN include: S21. First, the generator network G and the discriminant network D are randomly initialized; S22. In each round of iteration, the parameters of the generator network G are fixed first, and the parameters of the discriminant network D are updated, so that the discriminant network is more accurate to the original The score D(x) given by graph x is higher, and the score D(G(z)) given to the synthetic graph G(z) generated by the generation network G is lower; S23. After fixing the parameters of the discriminant network D, Update the parameters of the generator network G so that the score D(G(z)) of the discriminant network D on the synthetic graph G(z) generated by the generator network G is as large as possible. After the above process, the generation network G and the discriminant network D compete with each other, and the final result is that the generation network G of cGAN can generate as real pictures as possible.
本实施例提供的管道缺陷图像原图如图7所示,图8为对应的合成图。在图7和图8中,从左到右图缺陷类型依次为支管暗接、偏移、裂缝、渗漏。The original image of the pipeline defect image provided in this embodiment is shown in FIG. 7 , and FIG. 8 is the corresponding composite image. In Fig. 7 and Fig. 8, the defect types from left to right in the figure are blind connection, offset, crack and leakage of branch pipe.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211275650.8A CN116703811A (en) | 2022-10-18 | 2022-10-18 | A Defect Identification and Abnormal Segmentation Method for Drainage Pipeline Defects |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211275650.8A CN116703811A (en) | 2022-10-18 | 2022-10-18 | A Defect Identification and Abnormal Segmentation Method for Drainage Pipeline Defects |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116703811A true CN116703811A (en) | 2023-09-05 |
Family
ID=87842070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211275650.8A Pending CN116703811A (en) | 2022-10-18 | 2022-10-18 | A Defect Identification and Abnormal Segmentation Method for Drainage Pipeline Defects |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116703811A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741410A (en) * | 2018-12-07 | 2019-05-10 | 天津大学 | Deep learning-based image generation and labeling method for fluorescently encoded microspheres |
CN112288741A (en) * | 2020-11-23 | 2021-01-29 | 四川长虹电器股份有限公司 | Product surface defect detection method and system based on semantic segmentation |
CN114973202A (en) * | 2022-05-31 | 2022-08-30 | 上海应用技术大学 | Traffic scene obstacle detection method based on semantic segmentation |
-
2022
- 2022-10-18 CN CN202211275650.8A patent/CN116703811A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741410A (en) * | 2018-12-07 | 2019-05-10 | 天津大学 | Deep learning-based image generation and labeling method for fluorescently encoded microspheres |
CN112288741A (en) * | 2020-11-23 | 2021-01-29 | 四川长虹电器股份有限公司 | Product surface defect detection method and system based on semantic segmentation |
CN114973202A (en) * | 2022-05-31 | 2022-08-30 | 上海应用技术大学 | Traffic scene obstacle detection method based on semantic segmentation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhao et al. | A surface defect detection method based on positive samples | |
CN109214349B (en) | An object detection method based on semantic segmentation enhancement | |
CN108764065B (en) | A Pedestrian Re-identification Feature Fusion Assisted Learning Method | |
CN111768388B (en) | A product surface defect detection method and system based on positive sample reference | |
CN119006469B (en) | Automatic detection method and system for surface defects of substrate glass based on machine vision | |
CN111402237B (en) | Video image anomaly detection method and system based on space-time cascade self-encoder | |
CN114419014B (en) | Surface defect detection method based on feature reconstruction | |
CN109946304A (en) | On-line detection system and detection method for surface defects of parts based on feature matching | |
CN112733711A (en) | Remote sensing image damaged building extraction method based on multi-scale scene change detection | |
Peng et al. | Non-uniform illumination image enhancement for surface damage detection of wind turbine blades | |
CN116205876B (en) | Unsupervised notebook appearance defect detection method based on multi-scale standardized flow | |
CN112669269A (en) | Pipeline defect classification and classification method and system based on image recognition | |
CN114170144A (en) | A method, equipment and medium for detecting pin defect of transmission line | |
KR102721266B1 (en) | Deep learning-based sewerage defect detection method and apparatus | |
CN112801019B (en) | Method and system for eliminating unsupervised vehicle re-identification bias based on synthetic data | |
CN114155213A (en) | Chip defect detection method and device based on active learning | |
CN114897738A (en) | Image blind restoration method based on semantic inconsistency detection | |
CN112581483A (en) | Self-learning-based plant leaf vein segmentation method and device | |
CN110688512A (en) | Pedestrian image search algorithm based on PTGAN region gap and depth neural network | |
CN118097268A (en) | Long-tail target detection method based on monitoring scene | |
CN117635553A (en) | Industrial surface defect segmentation method based on man-machine mixing strategy | |
CN108596121A (en) | A kind of face critical point detection method based on context and structural modeling | |
Zhang et al. | Research on pipeline defect detection based on optimized faster r-cnn algorithm | |
CN119169428A (en) | Industrial product surface defect data set expansion method and device based on background modeling | |
CN116596895B (en) | Substation equipment image defect identification method and system |
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 |