Airport runway pollutant image segmentation method

By integrating multi-scale enhancement modules and composite loss functions in the U-Net network, the problem of low segmentation accuracy in airport runway snow/water image segmentation is solved, achieving higher accuracy and robustness, and is suitable for complex environments. and severe weather real-time applications.

CN118674732AInactive Publication Date: 2024-09-20NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410669367.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing technology processes snow/water images of airport runways, the segmentation accuracy is low and it is difficult to adapt to complex environments and bad weather. Traditional methods cannot effectively handle noise and artifacts, resulting in low detection efficiency and poor accuracy.

Method used

The multi-scale enhancement module (Res-RFS) is integrated into the U-Net network and combined with Dice Loss and cross-entropy loss functions. Through skip connections and composite loss functions, the robustness and adaptability of the model are improved to achieve different scales and shapes. Accurate segmentation of contaminants.

Benefits of technology

It significantly improves the accuracy and robustness of airport runway snow/water image segmentation, enables efficient processing under different lighting conditions and environments, is suitable for real-time applications, and provides higher computational efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674732A
    Figure CN118674732A
Patent Text Reader

Abstract

The invention discloses an airport runway pollutant image segmentation method, and the method comprises the steps: obtaining an image through an industrial camera, carrying out the preprocessing of the image, carrying out the manual setting of a label, forming a training set and a test set, and constructing an image segmentation model of pollutants on an airport runway based on an improved U-Net network. And training the image segmentation model to obtain a segmentation model with an optimal pollutant image segmentation effect. According to the model, extraction of image features is realized by introducing a Res-RFS multi-scale enhancement module, and a Dice Loss function and a cross entropy loss function are integrated into a loss function of a U-Net model. Experiments prove that the new model achieves the recall rate of 0.9633, the accuracy of 0.9608, the F1 score of 0.9620 and the average intersection-union ratio of 0.9621 on test data. A research result shows that the provided model not only can meet the requirement of an airport runway ponding image segmentation task, but also has more excellent detection precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to an airport runway snow / water (pollutant) image segmentation method based on a U-Net enhanced multi-scale module. Background Art

[0002] The runway is an important infrastructure of the airport flight area. The surface condition of the runway is crucial to the safe takeoff and landing of the aircraft. Therefore, the automated detection of snow / water coverage on the runway becomes increasingly important.

[0003] Currently, airports still use traditional visual inspection to detect water coverage on runways. Visual inspection is not only a tedious task, but also has low detection efficiency and poor accuracy. Due to the limitations of visual surveys, automatic data collection and data analysis systems have been developed. Images are the most commonly used data in these systems.

[0004] Traditional image processing methods, such as threshold-based segmentation, edge detection or region growing algorithms, often do not work well when processing complex airport runway images. These methods usually rely on manually set parameters or rules and are difficult to adapt to the diversity and complexity of airport environments. In addition, these methods often cannot effectively handle noise and artifacts in images, resulting in low segmentation accuracy.

[0005] In recent years, deep learning, especially convolutional neural networks (CNNs), has shown great potential in the field of image segmentation. The U-Net architecture is popular for its outstanding performance in various image segmentation tasks. It effectively captures the contextual information of the image by using skip connections and upsampling strategies, thereby achieving accurate segmentation. However, although U-Net performs well in many cases, it still faces many challenges when processing airport runway pollutant images due to the complexity of the airport environment and the influence of bad weather.

[0006] Therefore, developing an efficient segmentation method that can adapt to the complexity of the airport environment and the impact of severe weather is the focus of current research. Summary of the invention

[0007] In order to overcome the shortcomings of the prior art, this paper proposes an improved model based on the U-Net architecture, which significantly improves the accuracy and robustness of airport runway snow / water (pollutant) image segmentation by integrating a multi-scale enhancement module (Res-RFS). The core innovation of this paper lies in the effective combination of advanced technologies in deep learning to solve the key problems in pollutant image segmentation.

[0008] The present application provides a method for segmenting an airport runway pollutant image, the segmentation method specifically comprising the following steps: Step 1, obtaining multiple original images of airport runway pollutants, preprocessing each original image of airport runway pollutants, and forming an airport runway pollutant image dataset, wherein the airport runway pollutant image dataset includes a training set and a test set; Step 2, integrate the Res-RFS multi-scale enhancement module into the U-Net network, integrate the Dice Loss function and the cross entropy loss function into the loss function of the U-Net model, minimize the loss function, and obtain an improved U-Net network; Step 3, using the improved U-Net network to segment the pre-processed airport runway pollutant image, identify and segment the pollutant area; Step 4: Based on the segmented image, the number of pollutant pixels in the binary image is counted by the cv2.countNonZero function to calculate the range percentage of the pollutants.

[0009] Furthermore, the step 1 is specifically as follows: Step 1.1: Preprocessing the collected airport runway pollutant images by equalizing, noise filtering and edge enhancement; Step 1.2: Use deep learning to manually annotate the image and mark the boundaries and features of the pollutant area; Step 1.3: Use data augmentation to expand the dataset and increase the generalization ability of the model; Step 1.4: Divide the image dataset into training set, validation set and test set, where the training set is used for model training, the validation set is used for model tuning, and the test set is used for final evaluation.

[0010] Furthermore, the step 2 is specifically as follows: Step 2.1: Integrate the Res-RFS multi-scale enhancement module in the Skip Connections part of the U-Net network to capture pollutant characteristics at different scales and retain key information through skip connections; Step 2.2: Use a composite loss function of cross entropy loss function and Dice loss to solve the category imbalance problem and pixel-level segmentation problem.

[0011] Furthermore, given an input airport runway pollutant image Y i and the associated ground truth map G i After that, the joint loss function is used for network learning, and the composite loss function expression is: .

[0012] N is the total number of pixels; F means the model, that is, Y is passed through the model to obtain the output result. Beneficial Effects

[0013] Through the airport runway pollutant image segmentation method provided by this application, the model of the present invention not only shows higher accuracy when dealing with pollutants of different sizes, shapes and colors, but also shows stronger robustness when facing image quality changes (such as different lighting conditions and airport environments). In addition, the design of the model also takes into account computational efficiency, making it suitable for real-time applications in airport environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a flow chart of the airport runway pollutant image segmentation method for this application; Figure 2 This is the improved U-Net model architecture diagram; Figure 3 It is the specific structural diagram of the multi-scale module; Figure 4 The processing result diagram of the improved network model and the comparison network model; Figure 5 Quantitative results of the improved network model and the comparison network model. DETAILED DESCRIPTION

[0015] The following will be combined with the attached embodiment of the present invention Figure 1 , which are clearly and comprehensively described in the technical solutions of the embodiments of the present invention. Obviously, the embodiments described here are only a part of the many embodiments of the present invention, not all of them. Without involving creative work, all other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention also fall within the scope of protection of the present invention.

[0016] Embodiment 1:

[0017] Please refer to Figure 1 As shown, the present invention provides an airport runway pollutant image segmentation method, and the segmentation method specifically includes the following steps: Step 1, obtaining multiple original images of airport runway pollutants, preprocessing each original image of airport runway pollutants, and forming an airport runway pollutant image dataset, wherein the airport runway pollutant image dataset includes a training set and a test set; Step 2, integrate the Res-RFS multi-scale enhancement module into the U-Net network, integrate the Dice Loss function and the cross entropy loss function into the loss function of the U-Net model, minimize the loss function, and obtain an improved U-Net network; Step 3, using the improved U-Net network to segment the pre-processed airport runway pollutant image, identify and segment the pollutant area; Step 4: Based on the segmented image, the number of pollutant pixels in the binary image is counted by the cv2.countNonZero function to calculate the range percentage of the pollutants.

[0018] Integration of multi-scale enhancement module: The present invention integrates a multi-scale enhancement module (Res-RFS) into the U-Net architecture, enabling the model to simultaneously capture image features of different scales. This design allows the model to better understand and segment pollutant regions of various sizes and shapes. The multi-scale enhancement module (Res-RFS) is implemented through parallel convolution kernels of different sizes, making it possible to simultaneously process image information of multiple resolutions in a single network.

[0019] Composite loss function: This loss function combines the traditional cross entropy loss and Dice loss to better handle the problem of class imbalance, which is particularly important in airport runway pollutant image segmentation because the pollutant area usually occupies only a small part of the image.

[0020] Dice Loss is directly optimized from F1 score. It is a highly abstract F1 score and can be used for multi-class segmentation problems. In order to balance the relationship between the recall rate and precision rate of the model, F1 score is proposed. Its formula is as follows:

[0021] Where TP is the true positive based on the prediction and the ground truth, FP is the false positive based on the prediction and the ground truth, and FN is the false negative based on the prediction and the ground truth.

[0022] These terms are often used in machine learning and statistics to evaluate the performance of classification models, especially in binary classification (e.g., positive and negative classes): True Positive (TP): refers to the situation where the model correctly predicts a positive class sample as positive. In other words, the true situation is positive, and the model successfully predicts it as positive.

[0023] False Positive (FP): refers to the situation where the model mistakenly predicts a negative class sample as a positive class. In other words, it is actually a negative class, but the model mistakenly classifies it as a positive class.

[0024] False Negative (FN): refers to the situation where the model mistakenly predicts a positive sample as a negative sample. In other words, it is actually a positive sample, but the model mistakenly classifies it as a negative sample.

[0025] In water accumulation detection, TP represents correctly judged images, FP represents incorrectly judged images (false positives), and FN represents missed images (false negatives). By calculating these indicators, we can get a more comprehensive understanding of the accuracy and performance of the model.

[0026] The cross entropy loss function plays a key role in image segmentation. In model training, by minimizing the binary cross entropy loss, the model is guided to learn to produce more accurate pixel-level classification results, thereby improving the segmentation model's ability to learn the target boundaries and structures. The calculation of the cross entropy loss function is as follows:

[0027] In the formula, is the true pixel value, is the pixel prediction value.

[0028] Finally, given the input image Y i and the associated ground truth map G i Finally, the joint loss function is used for network learning. Mapping refers to the process or result of mapping pixels in an image to ground truth. Specifically, Ground Truth Mapping refers to labeling or classifying each pixel in an image to determine its corresponding ground truth. For example, when processing images of airport runway pollutants, ground truth mapping can label each pixel in the image as a polluted or non-polluted area to reflect the actual ground situation. This mapping is very important for machine learning and computer vision tasks because it provides a benchmark for model training and evaluation. Models can learn and verify their accuracy and performance in image processing by comparing with ground truth mapping.

[0029] Therefore, the joint loss function formula is: ; N is the total number of pixels; F means the model, that is, Y is passed through the model to obtain the output result.

[0030] This embodiment provides a method for segmenting an airport runway pollutant image, comprising the following steps: (1) Data preparation and preprocessing: First, a dataset of airport runway pollutant images is collected. These images are standardized, including resizing, contrast enhancement, and denoising. Each image is accurately annotated one by one for training and validating the model.

[0031] (2) Model architecture construction: Build an improved model based on U-Net. Based on the standard U-Net architecture, introduce a multi-scale enhancement module. The input image passes through the encoder, gradually reduces the resolution and extracts features. The output feature map of the encoder passes through the decoder, restores it to the original resolution and generates a segmentation result. The segmentation result passes through the output layer to generate the final segmented image.

[0032] 1. Input image: First, pass the input image to the U-Net model. This image can be any image that needs to be segmented, such as water on the road surface. 2. Encoder: The input image passes through the encoder part, which is usually composed of convolutional layers and pooling layers. Convolutional layers are used to extract image features, and pooling layers are used to reduce the size of feature maps while retaining important information. The role of the encoder is to gradually reduce the spatial resolution of the image and capture high-level abstract features of the image. 3. Decoder: The feature map output by the encoder passes through the decoder part, which is usually composed of deconvolutional layers and skip connections. Deconvolutional layers are used to restore the size of feature maps to their original size, and skip connections are used to connect feature maps of different layers in the encoder with corresponding layers in the decoder to obtain richer information. Integrate the Res-RFS module into the skip connection part. The role of the decoder is to generate segmentation results based on the features extracted by the encoder. 4. Output segmented image: Finally, the feature map obtained after processing by the decoder is sent to one or more output layers, usually convolutional layers, to generate segmented images. These segmented images are usually masks of the same size as the input image, marking different objects or regions. The multi-scale module is designed as parallel convolution kernels of different sizes to capture image features of different scales. First is the input feature: the input of this module is the features extracted from the backbone network. These features can contain local and global information in the image. Secondly, there are five branches: such as Figure 3As shown in the figure, this module contains five branches, each of which is responsible for processing the input features and extracting information at different scales. This design allows the module to simultaneously focus on and utilize features at different scales. Then there are three different convolution kernel sizes: This means that this module uses three different sizes of convolution kernels to extract features. Generally, smaller convolution kernels can be used to capture subtle features, while larger convolution kernels can focus on a wider range of information. Two skip connections: Skip connections are usually used to bypass some layers and pass information directly to subsequent layers. This can help information pass from lower-level features to higher levels, which helps to better learn features. Then in this different branch, this article uses different dilation rate convolutions: dilation rate convolution refers to the use of dilated convolutions in the convolution layer, which can expand the receptive field of the convolution layer and better capture the correlation between features. Finally, there is the CE attention module, which can help the module focus on the most important feature parts for the current task and suppress features that are irrelevant to the task, thereby improving the expressiveness and generalization ability of the model.

[0033] (3) Loss function and optimizer: A composite loss function of cross entropy loss and Dice loss is used to solve the problem of class imbalance and pixel-level segmentation. The Adam optimizer is used for model training, the initial learning rate is set to 0.001, and the learning rate decay strategy is adopted.

[0034] (4) Training process: The dataset is divided into training set, validation set and test set. The model is trained using the training set. After each epoch, the model performance is evaluated using the validation set. The model parameters and learning rate are adjusted based on the performance on the validation set. During the training process, an early stopping strategy is used to avoid overfitting.

[0035] (5) Model evaluation: Evaluate the trained model on the test set. Use common image segmentation evaluation indicators such as accuracy, recall, intersection over union, and F1 score to evaluate the segmentation performance of the model.

[0036] (6) Practical application: The trained model is deployed to the airport runway pollutant snow / water range detection system. Airport operations personnel can use this system to quickly and accurately segment airport runway pollutants and assist in reporting airport runway conditions.

[0037] Through the above implementation, the present invention realizes efficient and accurate segmentation of snow / water images of airport runway pollutants, providing strong technical support for the judgment and notification of airport runway airworthiness. At the same time, the model design of the present invention takes into account the needs of engineering applications and has high practical value.

[0038] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for segmenting airport runway pollutant images, characterized in that: The segmentation method specifically comprises the following steps: Step 1, obtaining multiple original images of airport runway pollutants, preprocessing each original image of airport runway pollutants, and forming an airport runway pollutant image dataset, wherein the airport runway pollutant image dataset includes a training set and a test set; Step 2, integrate the Res-RFS multi-scale enhancement module into the U-Net network, integrate the Dice Loss function and the cross entropy loss function into the loss function of the U-Net model, minimize the loss function, and obtain an improved U-Net network; Step 3, using the improved U-Net network to segment the pre-processed airport runway pollutant image, identify and segment the pollutant area; Step 4: Based on the segmented image, the number of pollutant pixels in the binary image is counted using the cv2.countNonZero function to calculate the pollutant range percentage.

2. The method according to claim 1, characterized in that: The step 1 is specifically as follows: Step 1.1: Preprocessing the collected airport runway pollutant images by equalizing, noise filtering and edge enhancement; Step 1.2: Use deep learning to manually annotate the image and mark the boundaries and features of the pollutant area; Step 1.3: Use data augmentation to expand the dataset and increase the generalization ability of the model; Step 1.4: Divide the image dataset into training set, validation set and test set, where the training set is used for model training, the validation set is used for model tuning, and the test set is used for final evaluation.

3. The method according to claim 1, characterized in that The step 2 is specifically as follows: Step 2.1: Integrate the Res-RFS multi-scale enhancement module in the Skip Connections part of the U-Net network to capture pollutant characteristics at different scales and retain key information through skip connections; Step 2.2: Use a composite loss function of cross entropy loss function and Dice loss to solve the category imbalance problem and pixel-level segmentation problem.

4. The method according to claim 3, characterized in that Given an input airport runway pollutant image Y i and the associated ground truth map G i After that, the joint loss function is used for network learning, and the composite loss function expression is: ; N is the total number of pixels, F is the improved U-Net network, that is, Y is output after passing through the model.

Citation Information

Patent Citations

  • Industrial CT image segmentation method based on deep convolutional neural network

    CN112330682A

  • Remote sensing image road segmentation method based on contextual information and multi-scale feature fusion

    CN113850825A

  • Improved U-Net brain tumor segmentation method based on attention mechanism and multi-scale feature fusion

    CN115424103A