CN110956591B - Dam crack image data enhancement method based on depth convolution generation countermeasure network - Google Patents

Dam crack image data enhancement method based on depth convolution generation countermeasure network Download PDF

Info

Publication number
CN110956591B
CN110956591B CN201911074308.XA CN201911074308A CN110956591B CN 110956591 B CN110956591 B CN 110956591B CN 201911074308 A CN201911074308 A CN 201911074308A CN 110956591 B CN110956591 B CN 110956591B
Authority
CN
China
Prior art keywords
dam
convolution
image
crack image
picture
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.)
Active
Application number
CN201911074308.XA
Other languages
Chinese (zh)
Other versions
CN110956591A (en
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.)
Hohai University HHU
Huaneng Group Technology Innovation Center Co Ltd
Huaneng Lancang River Hydropower Co Ltd
PowerChina Kunming Engineering Corp Ltd
Original Assignee
Hohai University HHU
Huaneng Group Technology Innovation Center Co Ltd
Huaneng Lancang River Hydropower Co Ltd
PowerChina Kunming Engineering Corp 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 Hohai University HHU, Huaneng Group Technology Innovation Center Co Ltd, Huaneng Lancang River Hydropower Co Ltd, PowerChina Kunming Engineering Corp Ltd filed Critical Hohai University HHU
Priority to CN201911074308.XA priority Critical patent/CN110956591B/en
Publication of CN110956591A publication Critical patent/CN110956591A/en
Application granted granted Critical
Publication of CN110956591B publication Critical patent/CN110956591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a dam crack image data enhancement method based on a depth convolution generation countermeasure network, which comprises the following steps: (1) using dam real crack image data as input to generate a dam crack image; (2) and (4) judging the dam crack image generated in the step (1). On the basis of basic data enhancement operation, the method generates a crack image by using an image generator (DGM) which generates a countermeasure network based on depth convolution, judges the quality of the generated image by using an image discriminator (DDM) which generates the countermeasure network based on depth convolution, generates a new dam crack sample data set according to original small-sample dam crack data, and meets the requirements on the class and data volume of a training sample in the dam crack image identification technology.

Description

Dam crack image data enhancement method based on depth convolution generation countermeasure network
Technical Field
The invention belongs to the technical field of engineering safety monitoring, and particularly relates to a dam crack image data enhancement method based on a depth convolution generation countermeasure network.
Background
The hydraulic structure is influenced by various factors such as illumination, water flow impact, temperature change and the like in the long-term operation process, so that the problems of function degradation and surface crack generation are easy to occur, and the problems can influence the normal operation of the dam body. Dam crack detection is an important way for timely finding potential safety hazards of the dam. The traditional dam crack image recognition mainly depends on human vision, but the efficiency and the accuracy of crack detection recognition are reduced in long-time work. With the development of digital image processing technology, the traditional manual image crack detection method is gradually replaced by a crack detection method based on machine vision, and becomes one of important nondestructive detection methods in the field of structure crack detection.
The crack detection method based on machine vision requires a large number of image samples to be trained to obtain higher detection accuracy. However, the data volume of real fracture images generated by an actual production environment is limited, and more images which can be used for fracture image recognition training need to be obtained through a data enhancement method. Common data enhancement methods comprise turning, rotating, zooming, cutting, translating, random data erasing and the like, but the enhancement effect is not obvious, the enhanced image quality is not high, and the requirements on the type and the data volume of a training sample in the dam crack image identification technology cannot be met.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the problems in the prior art, the invention provides a dam crack image data enhancement method for generating a countermeasure network based on depth convolution.
The technical scheme is as follows: in order to achieve the purpose, the invention provides a dam crack image data enhancement method based on a depth convolution generation countermeasure network, which comprises the following steps:
(1) using dam real crack image data as input to generate a dam crack image;
(2) and (4) judging the dam crack image generated in the step (1).
Further, the specific steps of generating the dam crack image in the step (1) are as follows:
(1.1) inputting a picture of a dam real crack subjected to basic data enhancement operation;
(1.2) performing convolution operation, setting parameters of a convolution layer to be 3 multiplied by 64, completing missing values by using 0, and using a rectification Linear Unit, namely a Rectified Linear Unit, ReLu as an activation function;
(1.3) sequentially using 12 same residual blocks to train and learn, removing a BN layer of each residual block to simplify a network structure, and using a Skip Connection mode to train, so that the problems of gradient explosion and gradient disappearance in the training process are solved;
and (1.4) after entering the convolutional layer, using Skip Connection, and finally outputting a generated picture.
Further, the specific steps of judging the generated dam crack image in the step (2) are as follows:
(2.1) inputting a picture to be distinguished;
(2.2) extracting picture features by using 5 layers of convolution layers, wherein the convolution layers adopt convolution kernels with the size of 4 multiplied by 4, and the number of channels in each layer is increased by 2 times, so that the local receptive field is increased;
(2.3) performing dimensionality reduction using a convolution layer with a convolution kernel of 1 × 1;
(2.4) training in a Skip Connection manner using 3 convolutional layers;
(2.5) performing a flattening (Flatten) operation on the image data;
and (2.6) outputting a judgment result by using full Connected Layer functions (namely Fully Connected Layer, FC and Sigmoid function), wherein the judgment result is the probability value that the picture is a real picture.
According to the dam crack image data enhancement method based on the deep convolution generation countermeasure network, the residual error network (ResNet) and the deep convolution generation countermeasure network (DCGAN) are combined, a simplified residual error block network structure is constructed, the number of characteristic diagram channels is increased, performance reduction caused by network deepening is relieved, and the quality of dam crack data enhancement images is improved. Specifically, a simplified residual block structure is established based on the concept of scaling convolution in the aspect of a network structure, the number of characteristic channels of an image quality discriminator is increased in the aspect of network width, the parameters of an original discriminator are improved, the network stability is improved, the number of residual blocks of an image generator part is increased in the aspect of network depth, so that the network hierarchy is deepened, and the performance loss caused by deepening of the network depth is reduced by utilizing a residual network. On the basis of carrying out basic data enhancement operation on dam crack image data, dam real crack image data is used as input, a dam crack image is generated by adopting an image generator (DGM) for generating a countermeasure network based on depth convolution, and the quality of the image generated by the DGM is judged by utilizing an image discriminator (DDM) for generating the countermeasure network based on depth convolution.
Has the advantages that: compared with the prior art, the invention has the following advantages:
compared with the prior art, the dam crack image data enhancement method based on the deep convolution generation countermeasure network processes the original image on the basis of the existing basic data enhancement operations such as rotation, scaling, random data erasure and the like, constructs a simplified residual block network structure, increases the number of characteristic image channels, reduces the performance reduction by using the residual network while deepening the network, and improves the quality of the dam crack data enhanced image.
Drawings
FIG. 1 is a flow chart of image generation in an exemplary embodiment;
FIG. 2 is a flow chart of image discrimination in an embodiment.
Detailed Description
The present invention is further illustrated by the following examples, which are intended to be purely exemplary and are not intended to limit the scope of the invention, as various equivalent modifications of the invention will occur to those skilled in the art upon reading the present disclosure and fall within the scope of the appended claims.
On the basis of carrying out basic data enhancement operation on dam crack image data, taking the dam real crack image data as input, generating a dam crack image by adopting an image generator (DGM) for generating a countermeasure network based on depth convolution, wherein the structure of the generator is shown as figure 1, an image discriminator (DDM) for generating the countermeasure network based on depth convolution is used for judging the quality of the image generated by the DGM, the structure of the discriminator is shown as figure 2, and the specific flow is described as follows:
(1) image generation:
(1.1) inputting a picture of a dam real crack subjected to basic data enhancement operation;
(1.2) performing convolution operation, setting parameters of a convolution layer to be 3 multiplied by 64, completing missing values by using 0, and using a Rectified Linear Unit (ReLu) as an activation function;
(1.3) training and learning by sequentially using 12 same residual blocks, removing a BN layer of each residual block to simplify a network structure, and training by using a Skip Connection (Skip Connection) mode to solve the problems of gradient explosion and gradient disappearance in the training process;
and (1.4) after entering the convolutional layer, using Skip Connection, and finally outputting a generated picture.
(2) And (3) image discrimination:
(2.1) inputting a picture to be distinguished;
(2.2) extracting picture features by using 5 layers of convolution layers, wherein the convolution layers adopt convolution kernels with the size of 4 multiplied by 4, and the number of channels in each layer is increased by 2 times, so that the local receptive field is increased;
(2.3) performing dimensionality reduction using a convolution layer with a convolution kernel of 1 × 1;
(2.4) training in a Skip Connection manner using 3 convolutional layers;
(2.5) performing a flattening (Flatten) operation on the image data;
and (2.6) outputting a judgment result by using a full Connected Layer (FC) and a Sigmoid function, wherein the judgment result is the probability value that the picture is a real picture.

Claims (1)

1. A dam crack image data enhancement method based on a depth convolution generation countermeasure network is characterized by comprising the following steps:
(1) the method comprises the following steps of taking dam real crack image data as input, generating a dam crack image, and specifically comprising the following steps:
(1.1) inputting a picture of a dam real crack subjected to basic data enhancement operation;
(1.2) performing convolution operation, setting parameters of a convolution layer to be 3 multiplied by 64, completing missing values by using 0, and using a rectification Linear Unit, namely a Rectified Linear Unit, ReLu as an activation function;
(1.3) sequentially using 12 same residual blocks to train and learn, removing a BN layer of each residual block to simplify a network structure, and using a Skip Connection mode to train, so that the problems of gradient explosion and gradient disappearance in the training process are solved;
(1.4) using Skip Connection after entering the convolutional layer, and finally outputting a generated picture;
(2) and (2) judging the dam crack image generated in the step (1), and specifically comprising the following steps:
(2.1) inputting a picture to be distinguished;
(2.2) extracting picture features by using 5 layers of convolution layers, wherein the convolution layers adopt convolution kernels with the size of 4 multiplied by 4, and the number of channels in each layer is increased by 2 times, so that the local receptive field is increased;
(2.3) performing dimensionality reduction using a convolution layer with a convolution kernel of 1 × 1;
(2.4) training in a Skip Connection manner using 3 convolutional layers;
(2.5) performing a flattening Flatten operation on the image data;
and (2.6) outputting a judgment result by using full Connected Layer functions (namely Fully Connected Layer, FC and Sigmoid function), wherein the judgment result is the probability value that the picture is a real picture.
CN201911074308.XA 2019-11-06 2019-11-06 Dam crack image data enhancement method based on depth convolution generation countermeasure network Active CN110956591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911074308.XA CN110956591B (en) 2019-11-06 2019-11-06 Dam crack image data enhancement method based on depth convolution generation countermeasure network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911074308.XA CN110956591B (en) 2019-11-06 2019-11-06 Dam crack image data enhancement method based on depth convolution generation countermeasure network

Publications (2)

Publication Number Publication Date
CN110956591A CN110956591A (en) 2020-04-03
CN110956591B true CN110956591B (en) 2021-07-27

Family

ID=69976595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911074308.XA Active CN110956591B (en) 2019-11-06 2019-11-06 Dam crack image data enhancement method based on depth convolution generation countermeasure network

Country Status (1)

Country Link
CN (1) CN110956591B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861906B (en) * 2020-06-22 2023-10-31 长安大学 Pavement crack image virtual augmentation model establishment and image virtual augmentation method
CN111739034A (en) * 2020-06-28 2020-10-02 北京小白世纪网络科技有限公司 Coronary artery region segmentation system and method based on improved 3D Unet
CN111951192A (en) * 2020-08-18 2020-11-17 义乌清越光电科技有限公司 Shot image processing method and shooting equipment
CN112270123A (en) * 2020-10-23 2021-01-26 河海大学 Basin reservoir group runoff random generation method based on convolution generation countermeasure network
CN113360485A (en) * 2021-05-14 2021-09-07 天津大学 Engineering data enhancement algorithm based on generation of countermeasure network
CN114511465A (en) * 2022-02-21 2022-05-17 华东交通大学 Image restoration method and system based on improved DCGAN
CN116757068B (en) * 2023-06-06 2024-01-09 青岛理工大学 Prediction method for CFRP self-piercing riveting forming process based on deep learning

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459570B (en) * 2018-03-14 2021-07-27 河海大学常州校区 Irrigation water distribution intelligent control system and method based on generation of confrontation network architecture
CN108764345B (en) * 2018-05-30 2022-04-26 河海大学常州校区 Underwater dam crack detection method based on local and global clustering
CN109345507B (en) * 2018-08-24 2021-07-13 河海大学 Dam image crack detection method based on transfer learning
CN109598287B (en) * 2018-10-30 2021-06-08 中国科学院自动化研究所 Appearance flaw detection method for resisting network sample generation based on deep convolution generation

Also Published As

Publication number Publication date
CN110956591A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN110956591B (en) Dam crack image data enhancement method based on depth convolution generation countermeasure network
US20180068429A1 (en) Image Steganalysis Based on Deep Learning
Li et al. GAN-based spatial image steganography with cross feedback mechanism
CN113435424B (en) Method and system for identifying destroying granularity of confidential medium
CN111833310B (en) Surface defect classification method based on neural network architecture search
WO2023279890A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN116342601B (en) Image tampering detection method based on edge guidance and multi-level search
CN110599502A (en) Skin lesion segmentation method based on deep learning
CN110863935B (en) Method for identifying attached matters of blades of ocean current machine based on VGG16-SegUnet and dropout
CN115409823A (en) Solar screen defect detection method based on generative countermeasure network
CN114331869A (en) Dam face crack semantic segmentation method
CN116863476A (en) Image generation method and system for removing seal noise based on mask guidance
CN117197746A (en) Safety monitoring system and method based on deep learning
CN116612082A (en) Concrete bridge net crack detection method based on high-low layer characteristic association
CN114821174B (en) Content perception-based transmission line aerial image data cleaning method
CN115761233A (en) CBAM (cubic boron nitride) fused lightweight UNet crack image segmentation method
CN115147303A (en) Two-dimensional ultrasonic medical image restoration method based on mask guidance
CN115690070A (en) Rocket engine combustion chamber defect intelligent interpretation method
Han et al. Low resolution facial manipulation detection
CN114332008B (en) Unsupervised defect detection and positioning method based on multi-level feature reconstruction
Cai et al. An improved UNet model based on adaptive activation function and squeeze-and-excitation module for milling tool wear segmentation
CN112817587B (en) Mobile application behavior identification method based on attention mechanism
CN114299305B (en) Saliency target detection algorithm for aggregating dense and attention multi-scale features
Wang Weld region salient object extraction based on MC-U2Net
Chanda et al. Deepfake Image Detection for Low and High Quality Images for Biometric Face Recognition

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
GR01 Patent grant
GR01 Patent grant