A foreign object detection method for runway based on image segmentation
Through the aircraft runway foreign object detection method based on image segmentation, multi-scale feature learning and feature fusion technology are used to solve the problem of insufficient detection capabilities of small-volume foreign objects in the existing technology, improve the accuracy and robustness of detection, and reduce the number of missed detections. and false alarms, achieving more efficient runway foreign object detection.
Patent Information
- Application Number
- CN202411080857.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The existing technology has problems of low efficiency, high cost, missed detection and false alarms in the detection of foreign objects on aircraft runways. In particular, the detection and positioning capabilities and robustness of small-volume foreign objects are poor, which affects the accuracy of detection.
An aircraft runway foreign object detection method based on image segmentation is adopted. The foreign object detection network is used to generate abnormal object masks through multi-scale feature learning and feature fusion. It is combined with the ResNet101 network and top-down and bottom-up fusion networks to enhance the detection of small-volume foreign objects. Detection capability and robustness, and optimize the model through a loss function to improve the alignment of segmentation boundaries.
It improves the detection and positioning capabilities and robustness of small-volume foreign objects, enhances the adaptability to light and weather changes, improves the accuracy and efficiency of runway foreign object detection, and reduces missed detections and false alarms.
Smart Images

Figure CN118608912B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an image target detection method, in particular to an airplane runway foreign body detection method. Background Art
[0002] Foreign objects such as metal parts, gravel, and tire fragments dropped on the runway may damage the aircraft tires or be sucked into the engine, causing problems such as aircraft taxiing deviation, engine flameout, and even serious accidents such as fire and explosion, posing a serious threat to the take-off and landing safety of aircraft. Therefore, the research on the detection technology of foreign object debris (FOD) on the runway is of great significance to ensure the take-off and landing safety of aircraft and reduce the maintenance cost of airports.
[0003] At present, airports generally use manual visual inspection to conduct regular inspection and cleaning of runways, which not only requires the closure of the runway, but also consumes a lot of manpower and material resources, is inefficient, costly, and prone to missed inspections.
[0004] With the development of related technologies such as machine learning, the research and development of automated runway foreign object detection systems and algorithms has received increasing attention. In terms of systems, systems such as Tarsier developed by QinetiQ in the UK, FODetect developed by Xsight in Israel, and iFerret developed by Stratech in Singapore have all passed the testing and verification of the Federal Aviation Administration of the United States and have been applied in airports. In terms of algorithm design for runway foreign object detection, scholars in this field have also conducted relevant research. A common method is to use a target detection algorithm to detect foreign objects as targets. For example, the Chinese invention patent application "Airport runway foreign object detection method, system and equipment based on convolutional neural network" with document publication number CN115330676A discloses a foreign object target detection algorithm designed based on YOLOv5. However, in order to identify the target as a foreign object, this method needs to rely on pre-defined foreign object templates or features, which is difficult to cover the rich and varied foreign object situations. In addition, the detection box may select areas unrelated to foreign objects, affecting the model's learning of foreign object features, especially for small target foreign objects, the impact on detection performance is more obvious.
[0005] In response to these problems, technicians in this field have further proposed solutions to use Unet, Unet++ and other methods for image segmentation to solve the problem of inaccurate foreign object detection on the runway. Image segmentation usually focuses on the pixel-level information of the image, including local features to identify foreign objects, so it can adapt to foreign objects of different sizes, shapes and types, and achieve more accurate positioning of foreign objects. However, in foreign object detection based on image segmentation, due to the small size of foreign objects and large environmental changes, the algorithm has poor positioning ability and robustness for small foreign objects, resulting in more missed alarms and false alarms; and the boundary area is relatively complex, and the alignment of the segmentation boundary is poor, which affects the accuracy of detection. Summary of the invention
[0006] The present invention proposes an aircraft runway foreign body detection method based on image segmentation, the purpose of which is to improve the detection and positioning capability, robustness and alignment degree of segmentation boundaries of small-volume foreign bodies.
[0007] The technical solution of the present invention is as follows:
[0008] A method for detecting foreign objects on an aircraft runway based on image segmentation, using a foreign object detection network to obtain an abnormal object mask in an aircraft runway image; the foreign object detection network includes a feature learning part, a feature fusion part and a mask generation part;
[0009] The feature learning part includes two multi-scale feature learning modules, which respectively acquire corresponding first multi-scale features and second multi-scale features according to the first input image and the second input image;
[0010] The feature fusion part is used to fuse the first multi-scale feature and the second multi-scale feature to obtain a final fused feature map;
[0011] The mask generation part includes a mask reconstruction module, which is used to generate a mask image of the abnormal object according to the final fused feature map;
[0012] During detection, the image to be detected acquired by a camera and the image without foreign objects taken by the same camera are input into the foreign object detection network as the first input image and the second input image respectively, and a mask image indicating the position of the abnormal object in the image to be detected is obtained.
[0013] As a further improvement of the aircraft runway foreign object detection method based on image segmentation: the feature fusion part splices the feature maps in each scale layer of the first multi-scale feature and the second multi-scale feature by layer, and then inputs the spliced feature maps of different scale layers into the corresponding network access modules to obtain branch fusion feature maps of each scale layer, and then fuses the branch fusion feature maps of each scale layer through the fusion module to obtain the final fusion feature map.
[0014] As a further improvement of the aircraft runway foreign object detection method based on image segmentation: the multi-scale feature learning module is based on the ResNet101 network, first extracts network features of three scales, C1, C2, and C3, and then obtains three feature maps, P1, P2, and P3, through a top-down fusion network and a bottom-up fusion network in turn.
[0015] As a further improvement of the runway foreign object detection method based on image segmentation: in the feature fusion part, the feature maps of the first multi-scale feature and the second multi-scale feature corresponding layer are firstly spliced in the convolution kernel dimension to obtain three spliced feature maps Pc1, Pc2 and Pc3;
[0016] Then, the three concatenated feature maps are input into the network entry module respectively to obtain the corresponding branch fusion feature maps;
[0017] Then, the fusion module is used to fusion the above three branch feature maps starting from the smallest size branch fusion feature map, connecting them layer by layer from top to bottom through the deconvolution layer, fusing the information of each layer from bottom to top, and introducing information of other scales through the splicing convolution kernel channel in the fusion process to obtain the final fusion feature map.
[0018] As a further improvement of the image segmentation-based runway foreign object detection method, the working process of the fusion module is: the smallest size branch fusion feature map among the three branch fusion feature maps is deconvolved to obtain a first intermediate feature map, and then the middle size branch fusion feature map among the three branch fusion feature maps is convolved to obtain a second intermediate feature map, and then the first intermediate feature map and the second intermediate feature map are spliced by channel to obtain a third intermediate feature map; then the third intermediate feature map is deconvolved to obtain a fourth intermediate feature map, and at the same time, the largest size branch fusion feature map among the three branch fusion feature maps is convolved to obtain a fifth intermediate feature map, and then the fourth intermediate feature map and the fifth intermediate feature map are spliced by channel to obtain the final fusion feature map.
[0019] As a further improvement of the runway foreign object detection method based on image segmentation, the foreign object detection network is trained according to the following steps:
[0020] Step 1: Construct a training set, which includes several data pairs, each of which includes two images taken by a camera. and , including images and The common mask ;
[0021] Step 2: Take e data pairs from the training set in batches , , >
[0022] Step 3: Input the e data pairs into the foreign body detection network respectively to obtain the corresponding mask images; for each data pair and its mask image The loss function is calculated according to the following formulas: :
[0023] ;
[0024] in, is the number of pixels in the mask image, is the mask image Middle The predicted value of pixels, is the common mask in the data pair No. pixel values, For the The predicted probability of pixels is consistent when hour ,when hour ; is a hyperparameter to adjust the model's attention to easy-to-classify samples and difficult-to-classify samples; then, according to the e samples in this batch The average value of updates the parameters of the entire foreign body detection network;
[0025] Step 4: If the number of executions from step 2 to step 3 does not exceed the preset number of training times, return to step 2; otherwise, end the training.
[0026] As a further improvement of the aircraft runway foreign object detection method based on image segmentation, the common mask The way to obtain is: suppose the image The mask is ,image The mask is ,but and The result of pixel-by-pixel multiplication is the common mask .
[0027] Compared with the prior art, the present invention has the following positive effects:
[0028] 1. This method enhances the detection and positioning capabilities of foreign objects of different scales, especially small-volume foreign objects, through multi-scale feature learning and fusion, and enhances the algorithm's robustness to changes in lighting and weather by randomly fusing features of different images in the same area during training, thereby improving the runway foreign object detection effect.
[0029] 2. The loss function used in the training of the present invention is a loss function that integrates prediction accuracy and area overlap. This loss function focuses on both the difficulty of each pixel point and the alignment of the segmentation boundaries, thereby better constraining the model to learn more accurate segmentation boundaries.
[0030] 3. The multi-scale feature learning module can extract three layers of features at different depths for the input image, and use top-down propagation and bottom-up propagation to deeply integrate shallow detail information and deep semantic information, thereby improving the algorithm's positioning and detection of small-volume runway foreign objects.
[0031] 4. The feature fusion part first concatenates the P1~P3 layer features learned by the multi-scale feature learning module to fuse the image features extracted from two different input images, and then uses the network module to fuse the features of different levels and scales through 3 different scale convolution kernels, while reducing the number of parameters. Finally, the deconvolution method is used to fuse from deep to shallow layers, while restoring the image mask size and fusing the features learned at different scales, so as to enable the model to learn better feature representation. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is the overall framework diagram of the foreign body detection network of the present invention;
[0033] Figure 2 Schematic diagram of the multi-scale feature learning module;
[0034] Figure 3 is a schematic diagram of a network access module;
[0035] Figure 4 is a schematic diagram of the fusion module;
[0036] Figure 5 Schematic diagram of the mask reconstruction module. DETAILED DESCRIPTION
[0037] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
[0038] A method for detecting foreign objects on an aircraft runway based on image segmentation uses a foreign object detection network to obtain abnormal object masks in an aircraft runway image. The foreign object detection network includes a feature learning part, a feature fusion part and a mask generation part.
[0039] like Figure 1 The feature learning part includes two multi-scale feature learning modules, respectively according to the first input image (image ) and the second input image (image ) obtain the corresponding first multi-scale features and second multi-scale features. The feature fusion part is used to splice the feature maps in each scale layer of the first multi-scale features and the second multi-scale features by layer, and then input the spliced feature maps of different scale layers into the corresponding network access module to obtain the branch fusion feature map of each scale layer, and then fuse the branch fusion feature maps of each scale layer through the fusion module to obtain the final fusion feature map. The mask generation part includes a mask reconstruction module, which is used to generate a mask image of the abnormal object according to the final fusion feature map.
[0040] 1. Feature learning part.
[0041] Considering that foreign objects on the runway have different sizes and there are many small-sized objects, a multi-scale feature learning module is designed based on the image segmentation task to learn foreign object features at different scales. The two input images input to the foreign object detection network correspond one-to-one to the two multi-scale feature learning modules.
[0042] Specifically, Figure 2 The multi-scale feature learning module is based on ResNet101. It first extracts network features of three scales, C1, C2, and C3, and then extracts feature information of different scales through top-down fusion network and bottom-up fusion network in turn to obtain three feature maps, P1, P2, and P3.
[0043] In this embodiment, the size of the input image is 224×224×3, and the sizes of the three features P1, P2, and P3 correspond to the input image size. , whose sizes and numbers of convolution kernels are {(112,64), (56,256), (28,512)} respectively.
[0044] The first multi-scale features and the second multi-scale features obtained by the two multi-scale feature learning modules respectively include a set of P1, P2 and P3.
[0045] 2. Feature fusion part.
[0046] This part fuses the first multi-scale features learned in the feature learning part with the second multi-scale features. Specifically, Figure 1 First, the feature maps of the corresponding layers of the first multi-scale feature and the second multi-scale feature are spliced in the convolution kernel dimension (P1 of the first multi-scale feature is spliced with P1 of the second multi-scale feature, P2 of the first scale feature is spliced with P2 of the second multi-scale feature, and P3 of the first multi-scale feature is spliced with P3 of the second multi-scale feature), and three spliced feature maps Pc1, Pc2 and Pc3 with sizes and numbers of convolution kernels {(112,128), (56,512), (28,1024)} are obtained.
[0047] Then, the three concatenated feature maps are respectively input into an inception module to further extract features using convolution kernels of different sizes. In this process, the number of parameters is reduced by downsampling with a step size of 2 to obtain the corresponding branch fusion feature map.
[0048] Specifically, Figure 3 , the network input module contains 4 channels. Assume that the input image size is f×f×n. In the figure, conv(k,s) represents the convolution of the input using a convolution kernel of size k×k and stride s. In this module, the number of convolution kernels in all channels is set to n / 2, and finally three branch fusion feature maps with sizes of {(56,1024),(28,2048),(14,4096)} are obtained.
[0049] Then, the fusion module is used to fusion the above three branch feature maps starting from the smallest size branch fusion feature map with a size and number of convolution kernels of (14, 4096), and connect them layer by layer from top to bottom through the deconvolution layer, and fuse the information of each layer from bottom to top. In the fusion process, information of other scales is introduced by splicing the convolution kernel channel to obtain the final fusion feature map.
[0050] Specifically, Figure 4 , the smallest size branch fusion feature map among the three branch fusion feature maps is deconvolved (parameters: k=3, s=2, n=1024, k is the convolution kernel size, s is the step size, and n is the number of convolution kernels) to obtain a first intermediate feature map of size (28, 1024), and then the middle size branch fusion feature map among the three branch fusion feature maps is convolved (k=3, s=1, n=1024) to obtain a second intermediate feature map of size (28, 1024), and then the first intermediate feature map and the second intermediate feature map are spliced by channel to obtain The third intermediate feature map with a size of (28, 2048) is obtained; then the third intermediate feature map is deconvolved (k=3, s=2, n=512) to obtain a fourth intermediate feature map with a size of (56, 512), and the largest size branch fusion feature map among the three branch fusion feature maps is convolved (k=3, s=1, n=512) to obtain a fifth intermediate feature map with a size of (56, 512), and then the fourth intermediate feature map and the fifth intermediate feature map are spliced by channel to obtain a final fusion feature map with a size of (56, 1024).
[0051] 3. Mask generation part.
[0052] The mask reconstruction module deconvolves the final fused feature map of size (56, 1024) into a mask image. Its network structure is as follows: Figure 5 shown.
[0053] When using a foreign object detection network for detection, an image to be detected acquired by a camera and an image without foreign objects taken by the same camera are input into the foreign object detection network as the first input image and the second input image respectively, to obtain a mask image indicating the position of the abnormal object in the image to be detected.
[0054] In order to avoid accidents caused by missed detection, the predicted value in the mask image is generally set to be greater than The area with a predicted value exceeding Areas with an area exceeding 100 pixels are marked with a red frame, and a sound prompt is given to indicate the presence of foreign objects.
[0055] In this embodiment, SDG is used as the optimizer of the network model, the learning rate is set to 0.0002, the batch size is e=16, the number of training times is set to 500, and the foreign body detection network is trained according to the following steps:
[0056] Step 1: Construct a training set, which includes several data pairs, each of which includes two images taken by a camera. and , including images and The common mask The common mask The way to obtain is: suppose the image The mask is ,image The mask is , both of which are obtained through manual inspection and annotation, then and The result of pixel-by-pixel multiplication is the common mask .
[0057] The cameras are fixed on both sides of the runway. The captured images need to be cropped, normalized, and the image size is uniformly adjusted to 224×224×3.
[0058] Step 2: Take e data pairs from the training set in batches , , >.
[0059] Step 3: Input the e data pairs into the foreign object detection network to obtain the corresponding mask image. For each data pair and its mask image The loss function is calculated according to the following formulas: :
[0060] ;
[0061] in, is the number of pixels in the mask image, is the mask image Middle The predicted value of pixels, is the common mask in the data pair No. pixel values, For the The predicted probability of pixels is consistent when hour ,when hour ; It is a hyperparameter that adjusts the model's attention to easy-to-separate samples and hard-to-separate samples. This loss function can take into account both the difficulty of different pixels and the degree of alignment of the segmentation boundaries.
[0062] Then, according to the e numbers in this batch The average value of is used to update the parameters of the entire foreign object detection network.
[0063] Step 4: If the number of executions from step 2 to step 3 does not exceed the preset number of training times, return to step 2; otherwise, end the training.
[0064] It should be noted that it is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. The scope of the present invention is defined by the claims rather than the above description.
Claims
1. A method for detecting foreign objects on an aircraft runway based on image segmentation, characterized in that: Use the foreign object detection network to obtain the abnormal object mask in the runway image; The foreign body detection network includes a feature learning part, a feature fusion part and a mask generation part; The feature learning part includes two multi-scale feature learning modules, which respectively acquire corresponding first multi-scale features and second multi-scale features according to the first input image and the second input image; The feature fusion part is used to fuse the first multi-scale feature and the second multi-scale feature to obtain a final fused feature map; The mask generation part includes a mask reconstruction module, which is used to generate a mask image of the abnormal object according to the final fused feature map; During detection, an image to be detected acquired by a certain camera and an image without foreign objects taken by the same camera are respectively input into a foreign object detection network as a first input image and a second input image to obtain a mask image for indicating the position of the abnormal object in the image to be detected; The feature fusion part splices the feature maps in each scale layer of the first multi-scale feature and the second multi-scale feature by layer, and then inputs the spliced feature maps of different scale layers into the corresponding Inception modules to obtain branch fusion feature maps of each scale layer, and then fuses the branch fusion feature maps of each scale layer through the fusion module to obtain the final fusion feature map.
2. The method for detecting foreign objects on an aircraft runway based on image segmentation as claimed in claim 1, characterized in that: The multi-scale feature learning module is based on the ResNet101 network. It first extracts network features of three scales, C1, C2, and C3, and then obtains three feature maps, P1, P2, and P3, through a top-down fusion network and a bottom-up fusion network in turn.
3. The method for detecting foreign objects on an aircraft runway based on image segmentation as claimed in claim 2, characterized in that: In the feature fusion part, the feature maps of the first multi-scale feature and the second multi-scale feature corresponding layer are firstly spliced in the convolution kernel dimension to obtain three spliced feature maps Pc1, Pc2 and Pc3; Then, the three concatenated feature maps are input into the Inception module respectively to obtain the corresponding branch fusion feature maps; Then, the fusion module is used to fusion the above three branch feature maps starting from the smallest size branch fusion feature map, connecting them layer by layer from top to bottom through the deconvolution layer, fusing the information of each layer from bottom to top, and introducing information of other scales through the splicing convolution kernel channel in the fusion process to obtain the final fusion feature map.
4. The method for detecting foreign objects on an aircraft runway based on image segmentation as claimed in claim 3, characterized in that: The working process of the fusion module is as follows: the smallest size branch fusion feature map among the three branch fusion feature maps is deconvolved to obtain the first intermediate feature map, and then the middle size branch fusion feature map among the three branch fusion feature maps is convolved to obtain the second intermediate feature map, and then the first intermediate feature map and the second intermediate feature map are spliced by channel to obtain the third intermediate feature map; then the third intermediate feature map is deconvolved to obtain the fourth intermediate feature map, and at the same time, the largest size branch fusion feature map among the three branch fusion feature maps is convolved to obtain the fifth intermediate feature map, and then the fourth intermediate feature map and the fifth intermediate feature map are spliced by channel to obtain the final fusion feature map.
5. The method for detecting foreign objects on an aircraft runway based on image segmentation according to any one of claims 1 to 4, characterized in that: The foreign object detection network is trained according to the following steps: Step 1: Construct a training set, which includes several data pairs, each of which includes two images taken by a camera. and , including images and The common mask ; Step 2: Take e data pairs from the training set in batches , , > Step 3: Input the e data pairs into the foreign body detection network respectively to obtain the corresponding mask images; for each data pair and its mask image The loss function is calculated according to the following formulas: : ; in, is the number of pixels in the mask image, is the mask image Middle The predicted value of pixels, is the common mask in the data pair No. pixel values, For the The predicted probability of pixels is consistent when hour ,when hour ; is a hyperparameter to adjust the model's attention to easy-to-classify samples and difficult-to-classify samples; then, according to the e samples in this batch The average value of updates the parameters of the entire foreign body detection network; Step 4: If the number of executions from step 2 to step 3 does not exceed the preset number of training times, return to step 2; otherwise, end the training.
6. The method for detecting foreign objects on an aircraft runway based on image segmentation as claimed in claim 5, characterized in that: The common mask The way to obtain is: suppose the image The mask is ,image The mask is ,but and The result of pixel-by-pixel multiplication is the common mask .
