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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000012549 training Methods 0.000 claims abstract description 11
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 5
- 230000009467 reduction Effects 0.000 claims description 5
- 230000004913 activation Effects 0.000 claims description 3
- 230000008034 disappearance Effects 0.000 claims description 3
- 238000004880 explosion Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000001514 detection method Methods 0.000 description 8
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- 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/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- 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
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (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
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.
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)
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 |
CN114511465B (en) * | 2022-02-21 | 2024-08-20 | 华东交通大学 | Image restoration method and system based on improvement 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)
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 |
-
2019
- 2019-11-06 CN CN201911074308.XA patent/CN110956591B/en active Active
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 | |
CN110322495B (en) | Scene text segmentation method based on weak supervised deep learning | |
US20180068429A1 (en) | Image Steganalysis Based on Deep Learning | |
CN114332008B (en) | Unsupervised defect detection and positioning method based on multi-level feature reconstruction | |
CN110863935B (en) | Method for identifying attached matters of blades of ocean current machine based on VGG16-SegUnet and dropout | |
CN111833310B (en) | Surface defect classification method based on neural network architecture search | |
CN117523202A (en) | Fundus blood vessel image segmentation method based on visual attention fusion network | |
CN115409823A (en) | Solar screen defect detection method based on generative countermeasure network | |
CN114331869A (en) | Dam face crack semantic segmentation method | |
CN111951289B (en) | Underwater sonar image data segmentation method based on BA-Unet | |
CN118230060A (en) | Tunnel crack detection method and system | |
CN113506281A (en) | Bridge crack detection method based on deep learning framework | |
Han et al. | Low resolution facial manipulation detection | |
CN117830889A (en) | Video saliency detection method, system and storage medium based on optical flow graph feature fusion mechanism | |
CN117809034A (en) | Milling cutter abrasion segmentation method based on improved lightweight SE-Ulite model | |
CN117372413A (en) | Wafer defect detection method based on generation countermeasure network | |
CN116468638A (en) | Face image restoration method and system based on generation and balance countermeasure identification | |
CN112817587B (en) | Mobile application behavior identification method based on attention mechanism | |
CN115147303A (en) | Two-dimensional ultrasonic medical image restoration method based on mask guidance | |
CN116612082A (en) | Concrete bridge net crack detection method based on high-low layer characteristic association | |
Rashid et al. | Biofouling detection and classification in tidal stream turbines through soft voting ensemble transfer learning of video images | |
CN115690070A (en) | Rocket engine combustion chamber defect intelligent interpretation method | |
CN114821174A (en) | Power transmission line aerial image data cleaning method based on content perception | |
Al-Huda et al. | MDAU-Net: A Multi-Scale U-Net with Dual Attention Module for Pavement Crack Segmentation | |
CN117670714B (en) | Marine image denoising method based on SwinIR |
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 |