A method for factory flame demisting based on neural network

Through an unsupervised, zero-sample defogging algorithm, the rotary kiln image is decomposed into a clean layer, an atmospheric light layer and a medium transmission layer. The U-net++ network of the attention mechanism and the variational autoencoder are used to solve the problem of kiln image processing. It solves the problem of poor dehazing effect and significantly improves the visual effect and classification accuracy of the image.

CN113989162BInactive Publication Date: 2024-08-23HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111364817.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the lack of deep learning defogging methods in rotary kiln image processing results in poor image visual effects and is not conducive to accurate classification of combustion states. Moreover, the existing defogging algorithms are mainly suitable for outdoor scenes and cannot meet the needs of kiln images. specific needs.

Method used

An unsupervised, zero-sample dehazing algorithm is proposed. By decomposing the image into a clean layer, an atmospheric light layer and a medium transmission layer, three networks are used for joint learning, and the attention mechanism's U-net++ network and variational autoencoding are combined. The device calculates the loss according to the atmospheric scattering model formula to obtain a clean image and improve the visual effect of the kiln image.

Benefits of technology

The visual effect of the image is significantly improved, and the classification accuracy of the combustion state is improved, making the image after dehazing more suitable for kiln image classification, and the classification effect is better than the result before dehazing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113989162B
    Figure CN113989162B
Patent Text Reader

Abstract

The present invention relates to a method for defogging factory flames based on a neural network, and belongs to the technical field of kiln image analysis. The method de-stratifies the image, that is, decomposes the foggy image into three layers, including: a clean layer, an atmospheric light layer, and a medium transmission layer; the de-stratification method is jointly learned by three networks to decompose the image into three layers, and the clean image is estimated from the three layers after calculating the loss. The beneficial effects of the present invention are: 1. The visual effect of the image is better, which is conducive to the subsequent classification. 2. The defogging algorithm is applied to the kiln image, and the required algorithm should be more targeted; the defogging data set is put into the classification network for classification processing, and the obtained results are compared with those before defogging. It is found that the classification effect after defogging is significantly better than that before defogging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for defogging factory flames based on a neural network, and belongs to the technical field of kiln image analysis. Background Art

[0002] Coal-fired rotary kilns are widely used in industrial production fields such as power generation, metallurgy and cement. In the production process of rotary kilns, the material combustion process is extremely important. The operator controls the combustion temperature and state in the kiln by controlling the amount of coal injection. Different combustion states of materials determine the quality of the production results. Therefore, the combustion state is usually divided into three types: "normal combustion, under-combustion, and over-combustion". There are mainly two problems in the existing technology: First, in the processing of rotary kiln images, deep learning methods are rarely used to remove fog first, so the visual effect of the image is poor, which is not conducive to the subsequent classification. Second, in the defogging algorithm, the existing algorithms are mostly applied to outdoor scenes; for kiln images, the required algorithm should be more targeted.

[0003] The earliest rotary kiln appeared in cement production, and then the British Lansom invented the rotary kiln in 1885. Since then, the rotary kiln has been used in industrial production fields such as power generation, metallurgy and cement due to its good thermal conductivity and strong mixing ability, which has promoted the development of the industrial industry. However, due to the complexity of the rotary kiln structure and the nonlinearity of combustion, the combustion state in the kiln often relies on "manual monitoring", which leads to waste of human resources and increased risk of misjudgment. In the 1970s, CCD cameras began to be used in the industrial field, and visual flame monitoring began to be studied at home and abroad. In 1989, Wu Zhansong and others from Tsinghua University first studied the relationship between small flame temperature distribution and image brightness, and obtained a polynomial regression model. They began to analyze the burning state with the flame image of the burning zone as the research object. Flame image processing has since attracted widespread attention from domestic scholars. Coal-fired flame monitoring is mostly used in industrial boilers, mainly by analyzing the combustion flame image data to achieve CO and NO X Identification of emissions and coal types.

[0004] With the continuous development of the computer field, Wang Jiesheng et al. proposed a combustion condition recognition method based on generalized learning vector neural network based on the texture characteristics of coal powder combustion flame image in the sintering process of oxide pellets in rotary kiln. At the same time, a large number of methods based on flame image feature extraction have been proposed and studied. Among them, Chen Hua et al. used a series of fuzzy flame images to extract 3 luminous features and 4 dynamic features from the flame area of ​​the image to detect the temperature in the rotary kiln. However, these methods require a lot of preprocessing in the early stage and manual adjustment of parameters. In recent years, deep learning has become a focus, and many fields have also used it and achieved great success. The literature proposes a new method based on deep learning, in which the deep learning model inputs the flame image into a deep neural network (DNN) or a convolutional neural network to simultaneously predict the combustion state and heat release rate. In addition, the literature proposes a continuous, multi-step prediction scheme based on deep neural network for detecting biomass combustion conditions. Practice has proved that the deep learning method can detect the flame combustion state of the rotary kiln more quickly and accurately. Zhang Zhenting et al. proposed a rotary kiln combustion state monitoring system based on deep learning. Through an end-to-end network, the traditional complex procedures based on feature extraction methods are eliminated. In addition, the proposed convolutional recurrent neural network (CRNN) can effectively extract the features of flame image sequences to predict the combustion state in the rotary kiln.

[0005] These deep learning methods all input all existing images into the network first and then train it to learn weights. After that, the images can be input for prediction. However, the kiln images have poor visual effects due to the harsh shooting environment. Therefore, the present invention will first defog the images and then classify them after obtaining images with better visual effects. Summary of the invention

[0006] In view of the deficiencies of the above-mentioned prior art, the present invention proposes an unsupervised, zero-sample defogging algorithm, which is more suitable for factory rotary kiln combustion images.

[0007] The present invention is implemented by the following technical scheme, by decomposing the image, that is, decomposing the foggy image into three layers, including: a clean layer, an atmospheric light layer and a medium transmission layer;

[0008] According to the atmospheric scattering model formula:

[0009] (1)

[0010] in I (x) and J (x) represents blurred and clean images, t (x) is the medium transmission map, A is the global atmospheric light at each pixel coordinate, and x is the image matrix;

[0011] Since there is no clean image for contrast dehazing of factory flame images, a de-layering method is proposed. Three networks are jointly learned to decompose the image into three layers, from which the clean image is estimated.

[0012] The de-layering method is to decompose an image into three layers, the first layer is a clean layer, set as J-map; the second layer is the atmospheric light, set as A-map; the last layer is the transmission layer, set as T-map; after the loss estimation calculation of these three layers, a clean image is obtained, and the total loss is:

[0013] (2)

[0014] in Loss all is the total loss, Loss reconest is the reconstruction loss between the blurred image and the reconstructed blurred image, Loss A is an estimate of atmospheric light loss, Loss J It is the loss caused when the blurred image layer is decomposed into the clean image layer. Loss reg It is the regularization of the network output. This regularization is performed on A-map and T-map to increase the stability of the model.

[0015] The environment is based on pytorch and has three network layers, including estimation J (x) and I The network of (x) is a U-net++ network with an attention mechanism. The network consists of an encoder and a decoder. The encoder and the decoder form a U-shaped network with five layers. Each layer consists of two convolutional layers and a ReLU activation function. In the encoding stage, downsampling is performed to extract features.

[0016] In the decoding stage, upsampling is performed with the addition of an attention mechanism, and upsampling is performed from top to bottom to perform feature fusion.

[0017] As for the structure for estimating the atmospheric light layer, a variational autoencoder structure is adopted, which consists of an encoder, a decoder and an intermediate block to form the third layer structure.

[0018] Both the encoder and decoder consist of four blocks:

[0019] In the encoder, the blocks consist of convolutional layers, ReLU activation functions in sequence;

[0020] In the decoder, the blocks perform upsampling, convolution, batch normalization, and ReLU activation in sequence;

[0021] Step 1: Decompose the video from the factory into images with a size of 704x576;

[0022] Step 2: Use the existing classification network of AlexNet to classify the original data set;

[0023] Step 3: Build a defogging network, using the colab server;

[0024] Step 4: Put the dehazed dataset into the classification network for classification processing. After comparing the results with those before dehazing, it is found that the classification effect after dehazing is significantly better than that before dehazing.

[0025] The beneficial effects of the present invention are as follows: 1. The visual effect of the image is good, which is conducive to the subsequent classification. 2. When the defogging algorithm is applied to the kiln image, the required algorithm should be more targeted; the defogging data set is put into the classification network for classification processing, and the obtained results are compared with those before defogging. It is found that the classification effect after defogging is significantly better than that before defogging. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the present invention.

[0027] Figure 2 The following is a diagram of the structure of three network layers.

[0028] Figure 3 This is the structural diagram of Unet++ combined with attention mechanism (UDPA-net).

[0029] Figure 4 for Figure 3 Detailed explanation diagram

[0030] Figure 5 The structure of the attention mechanism is shown in the figure.

[0031] Figure 6 It is a schematic diagram comparing the combustion state of the present invention and the combustion state of the prior art. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in combination with specific implementation methods and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention;

[0033] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other. The present invention will be described in more detail below with reference to the accompanying drawings. For the sake of clarity, the various parts in the drawings are not drawn to scale;

[0034] The following is combined with Figures 1 to 5 This paper describes the defogging algorithm for factory flames based on neural networks. The image is decomposed into three layers, including a clean layer, an atmospheric light layer, and a medium transmission layer.

[0035] According to the atmospheric scattering model formula:

[0036] (1)

[0037] in I (x) and J (x) represents blurred and clean images, t (x) is the medium transmission map, A is the global atmospheric light at each pixel coordinate, and x is the image matrix;

[0038] Since there is no clean image for contrast dehazing of factory flame images, a de-layering method is proposed. Three networks are jointly learned to decompose the image into three layers, from which the clean image is estimated.

[0039] The de-layering method is to decompose an image into three layers, the first layer is a clean layer, set as J-map; the second layer is the atmospheric light, set as A-map; the last layer is the transmission layer, set as T-map; after the loss estimation calculation of these three layers, a clean image is obtained, and the total loss is:

[0040] (2)

[0041] in Loss all is the total loss, Loss reconest is the reconstruction loss between the blurred image and the reconstructed blurred image, Loss A is an estimate of atmospheric light loss, Loss J It is the loss caused when the blurred image layer is decomposed into the clean image layer. Loss reg It is the regularization of the network output. This regularization is performed on A-map and T-map to increase the stability of the model.

[0042] The environment is based on pytorch and has three network layers: Figure 2 , where the estimated J (x) and IThe network of (x) is a U-net++ network with attention mechanism added; Figure 3 The network consists of an encoder and a decoder. The encoder and the decoder form a U-shaped network with five layers. Each layer consists of two convolutional layers and a ReLU activation function. In the encoding stage, downsampling is performed to extract features. In the decoding stage, upsampling is performed with the addition of an attention mechanism, and upsampling is performed from top to bottom to perform feature fusion. Figure 4 yes Figure 3 We use skip connections so that shallow features are not lost. The structure of the added attention mechanism is as follows Figure 5 , and for the structure of estimating the atmospheric light layer, we use a variational autoencoder structure, which consists of an encoder, a decoder and an intermediate block as shown in Figure 2 The third layer structure.

[0043] Specifically, both the encoder and decoder consist of four blocks;

[0044] In the encoder, the blocks consist of convolutional layers, ReLU activation functions in sequence;

[0045] In the decoder, the blocks perform upsampling, convolution, batch normalization, and ReLU activation in sequence.

[0046] Step 1: Decompose the video from the factory into images with a size of 704x576;

[0047] Step 2: Use the existing classification network of AlexNet to classify the original data set;

[0048] Step 3: Build a defogging network, using the colab server;

[0049] Step 4: Put the dehazed dataset into the classification network. Figure 6 The following is a comparison chart before and after defogging. Classification processing is performed and the results are compared with those before defogging. It is found that the classification effect after defogging is significantly better than that before defogging.

[0050] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

Claims

1. A method for defogging factory flames based on neural networks, Features: By decomposing the image, the foggy image is decomposed into three layers, including: clean layer, atmospheric light layer and medium transmission layer; It is based on the atmospheric scattering model formula: (1) in I (x) and J (x) represents blurred and clean images, t (x) is the medium transmission map, A is the global atmospheric light at each pixel coordinate, and x is the image matrix; The de-layering method includes jointly learning three networks to decompose the image into three layers, from which the clean image is estimated; The de-layering method is to decompose an image into three layers, the first layer is a clean layer, set as J-map; the second layer is the atmospheric light, set as A-map; the last layer is the transmission layer, set as T-map; after the loss estimation calculation of these three layers, a clean image is obtained, and the total loss is: (2) in Loss all is the total loss, Loss reconest is the reconstruction loss between the blurred image and the reconstructed blurred image, Loss A is an estimate of atmospheric light loss, Loss J It is the loss caused when the blurred image layer is decomposed into the clean image layer. Loss reg It is the regularization of the network output. This regularization is performed on A-map and T-map to increase the stability of the model. The environment is based on pytorch and has three network layers, including estimation J (x) and I The network of (x) is a U-net++ network with an attention mechanism, which is the UDPA-net we proposed. The network consists of an encoder and a decoder. The encoder and the decoder form a U-shaped network with five layers. Each layer consists of two convolutional layers and a ReLU activation function. In the encoding stage, downsampling is performed to extract features. In the decoding stage, upsampling is performed with the addition of an attention mechanism, and upsampling is performed from top to bottom to perform feature fusion. As for the structure of estimating the atmospheric light layer, a variational autoencoder structure is adopted, which consists of an encoder, a decoder and an intermediate block to form the third layer structure; Both the encoder and decoder consist of four blocks: In the encoder, the blocks consist of convolutional layers, ReLU activation functions in sequence; In the decoder, the blocks perform upsampling, convolution, batch normalization, and ReLU activation in sequence.

2. A method for defogging factory flames based on a neural network according to claim 1, Features The following steps are involved: Step 1: Decompose the video from the factory into images with a size of 704x576; Step 2: Use the existing classification network of AlexNet to classify the original data set; Step 3: Build a defogging network, using the colab server; Step 4: Put the dehazed data set into the classification network for classification processing.