A variable resolution high-precision detection method and system for runway lines
By gridding and clustering the runway line images, high precision and real-time performance of runway line detection are achieved, solving the problems of large calculation amount and excessive a priori in the existing technology, and improving detection efficiency and accuracy.
Patent Information
- Application Number
- CN202210327029.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-03-30
AI Technical Summary
Existing runway line detection technology has problems such as large amount of calculation, inability to achieve real-time performance and excessive a priori, resulting in a waste of manpower and material resources and low detection accuracy.
Using a variable-resolution high-precision detection method oriented to runway lines, the pixel-level classification problem is converted into grid-level classification by gridding the image to be detected, and the trained network model is used for initial detection and clustering processing to generate new The detection image is then subjected to secondary detection to improve detection accuracy.
The calculation amount in the detection process is reduced, the detection speed is accelerated, the detection accuracy is improved, and the problems of slow detection speed and excessive a priori in the existing technology are solved.
Smart Images

Figure CN114821156B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicle runway line detection, and in particular relates to a variable resolution high-precision detection method and system for runway lines. Background Art
[0002] At present, drones are widely used in various industries. When fixed-wing drones, whether civil or military, are performing tasks, they need to be manually pulled on the taxiway to correct the angle before taking off, so that the drone can taxi and take off in the correct direction. This process requires considerable manpower and material resources, etc. Therefore, a method for improving the runway line detection accuracy of fixed-wing drones during taxiing is proposed to solve the current technical problems of considerable manpower and material resources, time cost and low detection accuracy.
[0003] The existing runway line detection technology is mainly derived from the lane line detection technology with similar features. There are two solutions in the direction of deep learning, including the segmentation method represented by the SCNN algorithm and the method of redefining the runway line detection problem by taking PolyLaneNet as an example. The segmentation method is to determine the pixel points of the runway line by classifying each pixel in the image, that is, assuming that the image size of the runway line to be detected is H*W, the segmentation problem is to perform H*W classification problems. The method of redefining the runway line detection problem is to convert the runway line into a polynomial curve fitting, directly flatten the image through a general backbone network, and then output a set of coefficients through a fully connected network. The overall network is reduced to learning a set of polynomial curve parameters.
[0004] The main problem with the first solution is that segmentation requires converting the problem into a pixel-level classification task, that is, a width × height detection task, and the resolution of general runway line images is relatively high, which will bring a lot of computational consumption, and thus cannot meet the real-time requirements of the runway line detection solution. The main problem with the second solution is that the detection process is too a priori, and the coordinate axis needs to be prepared in advance. In addition, the existing data set is unbalanced, which will cause some deviations. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a variable resolution high-precision detection method and system for runway lines. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0006] The present invention provides a variable resolution high-precision detection method for runway lines, comprising:
[0007] Step 1: Get the image to be detected;
[0008] Step 2: Use the trained network model to detect the image to be detected to obtain the initial detection result of the runway line pixel points;
[0009] Step 3: According to the initial detection result, clustering processing is performed on the image to be detected to obtain a new detection image;
[0010] Step 4: Input the new detection image into the network model to obtain the secondary detection results of the runway line pixels.
[0011] In one embodiment of the present invention, step 2 comprises:
[0012] Step 2.1: uniformly scaling the image to be detected to obtain a scaled image of a preset fixed size;
[0013] Step 2.2: using the network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and performing classification and scoring processing on the runway line pixels of each grid in the first grid feature map to obtain a first classification result output by the model;
[0014] Step 2.3: Restore the first classification result to the size of the image to be detected by proportional scaling to obtain the initial detection result of the pixel points of the runway line.
[0015] In one embodiment of the present invention, step 3 comprises:
[0016] Step 3.1: Projecting the initial detection result onto the image to be detected;
[0017] Step 3.2: clustering the projected image to be detected by using a mean shift method to obtain the cluster center of each runway line in the initial detection result;
[0018] Step 3.3: Obtain a rectangular pixel area corresponding to the cluster center and taking the cluster center as the center point, scale the pixel area in the image to be detected that does not belong to the rectangular pixel area, and splice the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain the new detection image;
[0019] Step 3.4: Establish a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected.
[0020] In one embodiment of the present invention, the size of the new detection image is consistent with the size of the zoomed image.
[0021] In one embodiment of the present invention, step 4 comprises:
[0022] Step 4.1: Use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the second grid feature map to obtain a second classification result output by the model;
[0023] Step 4.2: According to the mapping relationship, the second classification result is mapped to the image to be detected to obtain a secondary detection result of the runway line pixel point.
[0024] The present invention provides a variable resolution high-precision detection system for runway lines, comprising:
[0025] An image acquisition module, used for acquiring an image to be detected;
[0026] A detection module, used to detect the image to be detected using the trained network model to obtain the initial detection result of the pixel points of the runway line;
[0027] A detection image generation module, used for performing clustering processing on the image to be detected according to the initial detection result to obtain a new detection image;
[0028] The detection module is also used to detect the new detection image using the trained network model to obtain a secondary detection result of the runway line pixel points.
[0029] In one embodiment of the present invention, the detection module includes a scaling unit, a classification detection unit and a restoration unit, wherein:
[0030] The scaling unit is used to perform uniform scaling processing on the image to be detected to obtain a scaled image of a preset fixed size;
[0031] The classification detection unit is used to use the network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the first grid feature map to obtain a first classification result output by the model;
[0032] The restoration unit is used to restore the first classification result to the size of the image to be detected by proportional scaling to obtain the initial detection result of the runway line pixel points.
[0033] In one embodiment of the present invention, the detection image generation module includes a clustering unit, an image stitching unit and a mapping unit, wherein:
[0034] The clustering unit is used to project the initial detection result onto the image to be detected, and perform clustering processing on the projected image to be detected by using a mean shift method to obtain a cluster center of each runway line in the initial detection result;
[0035] An image stitching unit, used for obtaining a rectangular pixel area corresponding to the cluster center and taking the cluster center as a center point, scaling pixels in other areas of the image to be detected that do not belong to the rectangular pixel area, and stitching the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain the new detection image, wherein the size of the new detection image is consistent with the size of the scaled image;
[0036] A mapping unit is used to establish a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected.
[0037] In one embodiment of the present invention, the classification detection unit is further used to use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the second grid feature map to obtain a second classification result output by the model;
[0038] The restoration unit is further used to map the second classification result to the image to be detected according to the mapping relationship to obtain the secondary detection result of the runway line pixel point.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The variable resolution high-precision detection method for runway lines of the present invention divides the image to be detected into grids, converts the pixel-level classification problem into grid-level classification, and classifies and scores each grid, thereby directly reducing the number of classifications in the detection process, reducing the overall amount of calculation, speeding up the detection speed, and solving the problems of slow detection speed and excessive a priori in the prior art. In addition, the image to be detected is clustered according to the initial detection results to obtain the cluster center, and the pixels near the cluster center are re-detected in a targeted manner to further improve the accuracy.
[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1is a schematic diagram of a variable resolution high-precision detection method for runway lines provided by an embodiment of the present invention;
[0043] Figure 2 is a detection flow chart of an initial detection result provided by an embodiment of the present invention;
[0044] Figure 3 It is a detection flow chart of obtaining a secondary detection result by clustering re-detection provided by an embodiment of the present invention;
[0045] Figure 4 is a schematic diagram of an example of an unbalanced mapping relationship provided by an embodiment of the present invention;
[0046] Figure 5 The invention is a block diagram of a variable resolution high-precision detection system for runway lines provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of a variable resolution high-precision detection method and system for runway lines proposed in accordance with the present invention, in combination with the accompanying drawings and specific implementation methods.
[0048] The above and other technical contents, features and effects of the present invention are clearly presented in the following detailed description of the specific implementation modes in conjunction with the accompanying drawings. Through the description of the specific implementation modes, the technical means and effects adopted by the present invention to achieve the predetermined purpose can be more deeply and specifically understood. However, the attached drawings are only for reference and explanation purposes and are not used to limit the technical solutions of the present invention.
[0049] Embodiment 1
[0050] Please refer to Figure 1 , Figure 2 and Figure 3 , Figure 1 is a schematic diagram of a variable resolution high-precision detection method for runway lines provided by an embodiment of the present invention, Figure 2 is a detection flow chart of an initial detection result provided by an embodiment of the present invention, Figure 3 1 is a detection flow chart of obtaining a secondary detection result by clustering re-detection provided by an embodiment of the present invention; as shown in the figure, the variable resolution high-precision detection method for runway lines of this embodiment includes:
[0051] Step 1: Get the image to be detected;
[0052] In this embodiment, the image to be detected is a runway line picture taken during the taxiing process of the fixed-wing UAV.
[0053] Step 2: Use the trained network model to detect the image to be detected and obtain the initial detection results of the runway line pixels;
[0054] Specifically, step 2 includes:
[0055] Step 2.1: Perform uniform scaling on the image to be detected to obtain a scaled image of a preset fixed size;
[0056] In this embodiment, the preset fixed size is 288*800 (h*w).
[0057] Step 2.2: Use the network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the first grid feature map to obtain a first classification result output by the model;
[0058] Specifically, ResNet-18 is used as the backbone network for feature extraction. This process will downsample the input image, that is, the width and height of the intermediate output results will gradually decrease, but the number of channels will increase. Take the input of the network model as N*C*H*W as an example, where N is the batch size, which is set to 32 in this embodiment, C is the number of channels of the color image, and RGB images are used in this embodiment, so it is set to 3, H and W are the height and width of the input image, respectively, which are 288 and 800 in this embodiment.
[0059] After the output result of the feature extraction network passes through two fully connected layers, the size of the output result is converted to N*T*Row*(griding_num+1), and the probability of the runway line pixel classification result after classification and scoring of each grid (that is, the probability that the grid belongs to each runway line) is stored in gridding_num, which is the output result of the gridded feature map. Among them, gridding_num represents the number of grids (pixel blocks) into which 800 pixels are divided in advance, which is set to 150 in this embodiment, +1 represents the extra grid representing whether there is a runway pixel point in the row, Row represents the number of rows extracted from the high dimension of the input image, that is, a part of the rows are extracted for detection, which is set to 56 in this embodiment, N still represents the batch size, and T represents the maximum number of runway lines. In this embodiment, T is 3, that is, there are at most 3 runway lines.
[0060] Step 2.3: Use proportional scaling to restore the first classification result to the size of the image to be detected, and obtain the initial detection result of the runway line pixel points.
[0061] In this embodiment, the initial coordinate position of the pixel point of the runway line in the image to be detected is obtained by scaling the first classification result output by the model back to the size of the image to be detected (that is, evenly mapping the first classification result to the image to be detected).
[0062] In this embodiment, by dividing the image into grids, the pixel-level classification problem can be converted into a grid-level classification problem, and each grid after division is classified and scored, which directly reduces the number of classifications in the network model detection process, reduces the overall amount of calculation, and speeds up the detection speed.
[0063] Step 3: Based on the initial detection results, cluster the image to be detected to obtain a new detection image;
[0064] Specifically, step 3 includes:
[0065] Step 3.1: Project the initial detection result onto the image to be detected;
[0066] In this embodiment, the initial detection result is projected onto the wide dimension of the image to be detected.
[0067] Step 3.2: Use the mean shift method to perform clustering processing on the projected image to be detected, and obtain the cluster center of each runway line in the initial detection result;
[0068] It should be noted that, in this embodiment, the mean shift clustering process is performed for each runway line, and the mean shift clustering process is specifically described by taking the data points belonging to the key points of the same runway line as an example.
[0069] As a kind of statistical iterative algorithm, mean shift gradually converges to the function by continuously calculating the mean of sample points. The local maximum point of . First, select a data point in the data point pile as the starting point x, set a radius h, and take the starting point x as the center of the circle. The vectors formed by all data points within the radius h and x (where x is the starting point of the vector and other data points are the tail points of the vector) are superimposed and averaged to obtain the average vector, which contains direction and size. Then move the starting point x in the direction of the average vector and use it as the new center of the circle. It is continuously updated iteratively. Finally, point x will converge to the densest place, that is, the place with the highest data point density, and use this data point as the clustering center.
[0070] Step 3.3: Obtain a rectangular pixel area corresponding to the cluster center and taking the cluster center as the center point, scale the pixel area in the image to be detected that does not belong to the rectangular pixel area, and splice the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain a new detection image;
[0071] Specifically, in the present embodiment, each cluster center is used as the midpoint and 100 pixels are expanded as a rectangular pixel area, and the rectangular pixel area is subjected to 1-fold down sampling in the subsequent processing process. For example, if there are three cluster center points, there are 100*3 pixel areas that are not subjected to the scaling operation during the subsequent detection, and then the pixel areas that do not belong to the rectangular pixel area, that is, the pixel points near other non-cluster centers, are scaled into (w-100*3) pixel grids, thereby obtaining the areas of 1-fold down sampling and n-fold down sampling. Then the area after the scaling process and the rectangular pixel area are spliced into a new detection picture according to the position of the image to be detected. It should be noted that n depends on (original image size-300) / (w-100*3).
[0072] In this embodiment, the unbalanced sampling method is adopted because the size of the image to be detected (i.e., the original image) and the image input to the network model may have a large downsampling ratio, which may result in a large deviation between the pixels and the actual size when the original image is restored. Therefore, after the initial detection result is obtained, the unbalanced sampling method is performed, and the pixels near the cluster center of the image to be detected are downsampled by 1 times during detection, and the other pixels are downsampled according to (W 原 -300) / (800-300) ratio is used for downsampling, and then the new detection image is spliced and used as the input of the network model for the second detection.
[0073] Step 3.4: Establish a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected.
[0074] Step 4: Input the new detection image into the network model to obtain the secondary detection results of the runway line pixels.
[0075] Specifically, step 4 includes:
[0076] Step 4.1: Use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the second grid feature map to obtain the second classification result output by the model;
[0077] Specifically, the network model processing process is similar to step 2.2 and will not be repeated here.
[0078] Step 4.2: According to the mapping relationship, the second classification result is mapped to the image to be detected to obtain the secondary detection result of the runway line pixel points.
[0079] In this embodiment, the second classification result output by the model is mapped to the image to be detected according to the mapping relationship to obtain the final coordinate position of the pixel point of the runway line in the image to be detected, such as Figure 4 A sample schematic diagram of an unbalanced mapping relationship provided by an embodiment of the present invention is shown.
[0080] Specifically, the second classification result is mapped to the image to be detected, that is, the image obtained after unbalanced sampling is restored to the size of the original image (the image to be detected), which can be implemented by the following piecewise function:
[0081]
[0082] Where x is the subscript of the pixel in the new detection image, f(x) is the subscript corresponding to the pixel under the size of the image to be detected, Idx_X is the set of subscripts of pixels near the cluster, Idx_Y is the set of subscripts of pixels near the non-cluster center, Idx_X and Idx_Y are both composed of multiple segments of continuous subscript index sets, and a and b represent the starting coordinates of this segment of the function.
[0083] In this embodiment, by performing unbalanced sampling in width, the pixel deviation generated by restoration when the original image resolution is high can be reduced, thereby reducing the distance error of the world coordinates corresponding to the image coordinates.
[0084] To make the scheme clearer, the following is an exemplary explanation of the training process of the network model. First, runway line pictures taken during the taxiing of fixed-wing drones are collected to form a data set. Then, all runway line pictures in the data set are traversed, and all blurred and overexposed pictures are deleted, but pictures that do not contain runway line targets are retained. Data enhancement is performed, and adjustments are made in multiple aspects such as mirror flipping, cropping, and rotation to obtain more pictures. The final training data set for network model training is formed and annotated. Specifically, the line type annotation method in the labelme software is used to annotate the starting point and end point of each runway line in the training image.
[0085] Then, a network model is constructed. The network model uses ResNet-18 as the feature extraction network of the backbone network. The structure of ResNet-18 is divided into four major layers. The number of channels between every two layers will be doubled. For example, the number of channels of the first major layer is 64, and the number of channels of the second major layer is 128. There are four cascaded convolutional layers in each major layer. The number of channels of the convolutional layers is the same, and skip connections are set. That is, the input is added to the output result of the second convolutional layer, and the result is used as the input of the third convolution layer. Then, the input is added to the output result of the fourth convolution layer. After the feature extraction network, two fully connected layers are connected. The training images in the training data set are input into the network model in batches to obtain the prediction results. The prediction results are specifically the probability that each grid in the gridded feature map belongs to each runway line. Based on the difference between the one_hot vector of the true value of the labeled training image and the probability value of each grid of the predicted result, the cross entropy is used as the loss function to calculate the loss value of the network model in training, and the optimizer is used to optimize the network model parameters; when the loss value calculated after a batch of training images is input into the network model is less than the preset threshold, the network model is considered to have converged and the training is completed.
[0086] The variable resolution high-precision detection method for runway lines in this embodiment divides the image to be detected into grids, converts the pixel-level classification problem into grid-level classification, and classifies and scores each grid, directly reducing the number of classifications in the detection process, reducing the overall amount of calculation, speeding up the detection speed, and solving the problems of slow detection speed and excessive a priori in the prior art. In addition, the image to be detected is clustered according to the initial detection results to obtain the cluster center, and the pixels near the cluster center are re-detected in a targeted manner to further improve the accuracy.
[0087] This embodiment also provides a variable resolution high-precision detection system for runway lines. Figure 5 , Figure 5 : is a structural block diagram of a variable resolution high-precision detection system for runway lines provided by an embodiment of the present invention. As shown in the figure, the variable resolution high-precision detection system for runway lines of this embodiment includes: an image acquisition module, a detection module and a detection image generation module, wherein the image acquisition module is used to acquire an image to be detected; the detection module is used to detect the image to be detected using a trained network model to obtain a primary detection result of the pixel points of the runway line; the detection image generation module is used to cluster the image to be detected according to the primary detection result to obtain a new detection image; the detection module is also used to detect the new detection image using the trained network model to obtain a secondary detection result of the pixel points of the runway line.
[0088] Specifically, the detection module includes a scaling unit, a classification detection unit and a restoration unit, wherein the scaling unit is used to uniformly scale the image to be detected to obtain a scaled image of a preset fixed size; the classification detection unit is used to use a network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and perform classification and scoring processing on the runway line pixels for each grid in the first grid feature map to obtain a first classification result output by the model; the restoration unit is used to restore the first classification result to the size of the image to be detected by using proportional scaling to obtain an initial detection result of the runway line pixels.
[0089] Furthermore, the detection image generation module includes a clustering unit, an image stitching unit and a mapping unit, wherein the clustering unit is used to project the initial detection result onto the image to be detected, and cluster the projected image to be detected by means of mean shift to obtain the cluster center of each runway line in the initial detection result; the image stitching unit is used to obtain the rectangular pixel area corresponding to the cluster center with the cluster center as the center point, scale the pixels of other areas of the image to be detected that do not belong to the rectangular pixel area, and stitch the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain a new detection image, wherein the size of the new detection image is consistent with the size of the scaled image; the mapping unit is used to establish a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected.
[0090] Furthermore, the classification detection unit is also used to use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels for each grid in the second grid feature map to obtain a second classification result output by the model; the restoration unit is also used to map the second classification result to the image to be detected according to the mapping relationship to obtain a secondary detection result of the runway line pixels.
[0091] The variable resolution high-precision detection system for runway lines provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0092] Based on the same inventive concept, an embodiment of the present invention also provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; when the processor is used to execute the program stored in the memory, the method steps of any one of the above-mentioned variable resolution high-precision detection methods for runway lines are implemented.
[0093] The embodiment of the present invention further provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the method steps of any of the above-mentioned variable-resolution high-precision detection methods for runway lines are implemented.
[0094] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. In the absence of further restrictions, the elements defined by the statement "including one..." do not exclude the existence of other identical elements in the article or device including the elements. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.
[0095] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A variable resolution high-precision detection method for runway lines, characterized in that: include: Step 1: Get the image to be detected; Step 2: Use the trained network model to detect the image to be detected to obtain the initial detection result of the runway line pixel points; Step 3: According to the initial detection result, clustering processing is performed on the image to be detected to obtain a new detection image; Step 3 includes: Step 3.1: Projecting the initial detection result onto the image to be detected; Step 3.2: clustering the projected image to be detected by using a mean shift method to obtain the cluster center of each runway line in the initial detection result; Step 3.3: Obtain a rectangular pixel area corresponding to the cluster center and taking the cluster center as the center point, scale the pixel area in the image to be detected that does not belong to the rectangular pixel area, and splice the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain the new detection image; Step 3.4: Establishing a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected; Step 4: Input the new detection image into the network model to obtain the secondary detection results of the runway line pixels.
2. The variable resolution high-precision detection method for runway lines according to claim 1, characterized in that: The step 2 comprises: Step 2.1: uniformly scaling the image to be detected to obtain a scaled image of a preset fixed size; Step 2.2: using the network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and performing classification and scoring processing on the runway line pixels of each grid in the first grid feature map to obtain a first classification result output by the model; Step 2.3: Restore the first classification result to the size of the image to be detected by proportional scaling to obtain the initial detection result of the pixel points of the runway line.
3. The variable resolution high-precision detection method for runway lines according to claim 2, characterized in that: The size of the new detection image is consistent with the size of the zoomed image.
4. The variable resolution high-precision detection method for runway lines according to claim 1, characterized in that: The step 4 comprises: Step 4.1: Use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the second grid feature map to obtain a second classification result output by the model; Step 4.2: According to the mapping relationship, the second classification result is mapped to the image to be detected to obtain a secondary detection result of the runway line pixel point.
5. A variable resolution high-precision detection system for runway lines, characterized in that: include: An image acquisition module, used for acquiring an image to be detected; A detection module, used to detect the image to be detected using the trained network model to obtain the initial detection result of the pixel points of the runway line; A detection image generation module, used for performing clustering processing on the image to be detected according to the initial detection result to obtain a new detection image; The detection image generation module includes a clustering unit, an image stitching unit and a mapping unit, wherein: The clustering unit is used to project the initial detection result onto the image to be detected, and perform clustering processing on the projected image to be detected by using a mean shift method to obtain a cluster center of each runway line in the initial detection result; The image stitching unit is used to obtain a rectangular pixel area corresponding to the cluster center and taking the cluster center as the center point, scale pixels in other areas of the image to be detected that do not belong to the rectangular pixel area, and stitch the scaled area with the rectangular pixel area according to the position of the image to be detected to obtain the new detection image; The mapping unit is used to establish a mapping relationship between the pixel coordinates of the new detection image and the pixel coordinates of the image to be detected; The detection module is also used to detect the new detection image using the trained network model to obtain a secondary detection result of the runway line pixel points.
6. The variable resolution high precision detection system for runway lines according to claim 5, characterized in that: The detection module includes a scaling unit, a classification detection unit and a restoration unit, wherein: The scaling unit is used to perform uniform scaling processing on the image to be detected to obtain a scaled image of a preset fixed size; The classification detection unit is used to use the network model to perform feature extraction and grid feature pooling processing on the scaled image in sequence to obtain a first grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the first grid feature map to obtain a first classification result output by the model; The restoration unit is used to restore the first classification result to the size of the image to be detected by proportional scaling to obtain the initial detection result of the runway line pixel points.
7. The variable resolution high precision detection system for runway lines according to claim 6, characterized in that: The size of the new detection image is consistent with the size of the zoomed image.
8. The variable resolution high precision detection system for runway lines according to claim 6, characterized in that: The classification detection unit is further used to use the network model to perform feature extraction and grid feature pooling processing on the new detection image in sequence to obtain a second grid feature map, and perform classification and scoring processing on the runway line pixels of each grid in the second grid feature map to obtain a second classification result output by the model; The restoration unit is further used to map the second classification result to the image to be detected according to the mapping relationship to obtain the secondary detection result of the runway line pixel point.
