Rigid body target key part identifying and positioning method
Through semantic segmentation and deep learning technology, it solves the problem of identifying key parts of the target during the terminal penetration stage, achieves high-precision positioning in complex environments, is suitable for target recognition in high-altitude shooting, and improves matching accuracy and adaptability.
Patent Information
- Application Number
- CN202410776345.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-27
AI Technical Summary
In the terminal penetration stage, existing technology is difficult to accurately identify and locate key parts of ground targets at long distances, especially in complex environments and high-altitude shooting conditions, resulting in unsatisfied time windows for precise strikes.
Semantic segmentation algorithm is used to segment remote sensing satellite images and real-time images. Through sliding window search and deep learning model matching, the pixel coordinates and longitude and latitude information of key parts of the target are obtained. OpenCV and D2-Net are combined for feature extraction and matching to reduce background deformation. and the effect of light changes.
It achieves high-precision identification of target key parts in complex environments, is suitable for larger targets, reduces the impact of shooting tilt on imaging, improves matching accuracy and adaptability, and meets the precise positioning needs of high-altitude shooting.
Smart Images

Figure CN118711079A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ground target key part positioning, and in particular to a method for identifying and positioning the key part of a rigid target. Background Art
[0002] With the advancement of science and technology and technological innovation, intelligence, miniaturization, unmanned operation and precision have become the combat trend of the new era. During combat, mid- and long-range penetration can rely on the miniaturization and clustering of equipment to exert pressure on the enemy's interception equipment system, so the precision guidance capability in the terminal penetration stage becomes the key to the success of the strike. In terminal guidance technology, image guidance has the advantages of passive detection, anti-electromagnetic interference, low cost and small equipment size. At the same time, because visible light images contain richer color and texture details, they are also very suitable as a source of information for accurate identification, which can strongly support the implementation of precision strikes.
[0003] For some larger targets, simply determining the coordinates of the target center store is not enough to complete special military tasks. It is necessary to accurately locate a door, a window, a device, etc. of the target. Although the YOLO series of target detection algorithms are widely used in target detection scenarios due to their lightweight, fast speed, and easy deployment, aerial targets photographed at an altitude of several kilometers are only composed of a dozen or even a few pixels, and it is still very difficult to identify them. It is even more difficult to identify key parts with fewer pixels, and the terminal speed of precision strike equipment is too fast to simultaneously meet the maximum recognition distance and the time window required for the process of target recognition, decision-making, and guidance.
[0004] Therefore, a method for identifying and locating the key parts of rigid targets is urgently needed to solve the above problems. Summary of the invention
[0005] Based on the above, the purpose of the present invention is to provide a method for identifying and locating key parts of a rigid target, which can identify key parts of a ground target and can be applied to complex environments.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A method for identifying and locating key parts of a rigid target comprises the following steps:
[0008] According to the flight mission of the aircraft, a remote sensing satellite image of the target area is obtained from the Internet, wherein each pixel on the remote sensing satellite image has latitude and longitude information;
[0009] Using a semantic segmentation algorithm to divide the remote sensing satellite image into a first background portion and a first target portion, and then filling the first background portion with a first pure color to obtain a satellite base map;
[0010] Marking and recording the pixel coordinates of the key parts of the target on the satellite base map;
[0011] The aircraft flies to the target area and takes a target picture as a real-time picture, and adjusts the resolution and orientation of the real-time picture so that the resolution and orientation of the real-time picture are the same as the resolution and orientation of the satellite base map;
[0012] Using a semantic segmentation algorithm to divide the real-time image into a second background portion and a second target portion, and then filling the second background portion with a second pure color to obtain a matching image, wherein the second pure color is the same as the first pure color;
[0013] A sliding window search is performed on the satellite base map to find a target block that is closest to the matching image and has the same size as the matching image on the satellite base map, the target block includes the target key part, and the target block and the matching image are subjected to heterogeneous image matching to obtain a matching pair, and the findHomography module in OpenCV is used to calculate the homography matrix M of the target block and the matching image, the homography matrix M maps the pixel coordinates of the target key part to the matching image, and obtains the pixel coordinates and longitude and latitude information of the target key part on the matching image.
[0014] As a preferred solution for a method for identifying and locating key parts of a rigid target, the semantic segmentation algorithm adopts the SegFormer algorithm, which includes a hierarchical Transformer encoder and an All-MLP decoder. The hierarchical Transformer encoder is used to generate high-resolution coarse features and low-resolution fine features, and the All-MLP decoder is used to fuse the coarse features and the fine features to generate a final semantic segmentation mask.
[0015] As a preferred solution of a method for identifying and locating key parts of a rigid target, it also includes:
[0016] The remote sensing satellite image is subjected to data set training, wherein the data set training comprises the steps of:
[0017] Acquire a plurality of remote sensing satellite images containing the target as a data set;
[0018] Using image annotation software to manually annotate each of the remote sensing satellite images, dividing the remote sensing satellite images into a target pixel portion and a background pixel portion, and using different colors to mask the target pixel portion and the background pixel portion;
[0019] Divide the target area of each remote sensing satellite image in the data set into two categories, the two categories including the target and other areas, the target is marked with a first color, and the other areas are marked with a second color;
[0020] The labeled data set is divided into a training data set, a validation data set, and a test data set according to the distribution ratio of A:B:C;
[0021] The training data set is used for training in the pre-trained model, the training classification categories are set to the target and other areas, and the GPU is called for training.
[0022] As a preferred solution of a method for identifying and locating key parts of a rigid target, manually annotating the remote sensing satellite image using the image annotation software includes:
[0023] For the regular part of the target, a marking tool is used to circle part or all of the target along the edge of the target and mark it as the target pixel part. For the irregular part of the target, a point on the target in the remote sensing satellite image is clicked, and the pixels with the same pixel value as the pixel value of the point are all marked as the target pixel part. Different points on the target in the remote sensing satellite image are clicked multiple times until the target is all marked as the target pixel part, and the target pixel part is covered with the first color;
[0024] The other parts of the remote sensing satellite image except the target pixel part are marked as background pixel parts, and the background pixel parts are covered with a second color, and the first color and the second color are different.
[0025] As a preferred solution of a method for identifying and locating key parts of a rigid target, performing a sliding window search on the satellite base map includes:
[0026] Performing a sliding window search on the satellite base map, wherein the size of the sliding window is the same as the matching map, and the overlap rate is set to 80% or more, to obtain a plurality of base map blocks;
[0027] The matching graph is matched with each of the base image blocks to obtain a plurality of matching pairs between the matching graph and the base image blocks each time, and the base image block with the largest number of matching pairs is the target image block.
[0028] As a preferred solution of a method for identifying and locating key parts of a rigid target, performing heterogeneous image matching between the matching image and each of the base image blocks includes:
[0029] Use the deep learning model D2-Net to extract features from the matching image, and use D2-Net to extract features from all the base image blocks one by one;
[0030] Using a K-nearest neighbor search algorithm, the matching graph is matched with features of any of the base image blocks to obtain a plurality of matching pairs;
[0031] Dynamic adaptive constraints are used to purify matching pairs, and then the RANSAC algorithm is used to further eliminate mismatched pairs. The base image block with the most matching pairs is the closest base image block.
[0032] As a preferred solution of a method for identifying and locating key parts of a rigid target, adjusting the resolution and orientation of the real-time image includes:
[0033] Scaling the real-time image so that the spatial resolution of the real-time image is the same as the spatial resolution of the satellite base image;
[0034] The real-time image is rotated according to the heading angle of the aircraft so that the image direction of the real-time image remains due north, so that the orientations of all objects in the real-time image are the same as the orientations of all objects in the satellite base image.
[0035] The beneficial effects of the present invention are:
[0036] The invention provides a method for identifying and locating key parts of a rigid target. The method adopts a semantic segmentation algorithm to perform semantic segmentation on a remote sensing satellite image and a real-time image respectively, and then obtains a satellite base image of a first pure color background and a matching image of a second pure color background. The method eliminates the influence of background deformation on the accuracy, can be applied to a relatively complex environment, has strong adaptability to light changes, and has high matching accuracy. The method also marks the key parts of the target and searches through a sliding window to map the pixel coordinates of the key parts of the target to the matching image, and obtains the pixel coordinates and longitude and latitude information of the key parts of the target on the matching image. The method is applicable to larger targets, and an aircraft can shoot the target area from a relatively high altitude. At the same time, the influence of the shooting inclination angle on the imaging deformation is reduced, and the obtained pixel coordinates and longitude and latitude information are relatively accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the contents of the embodiments of the present invention and these drawings without paying any creative work.
[0038] Figure 1 is a flow chart of a method for identifying and locating key parts of a rigid target provided by an embodiment of the present invention;
[0039] Figure 2 is a satellite base map provided by an embodiment of the present invention;
[0040] Figure 3 These are the satellite base map and matching map with the most matching pairs provided by the embodiment of the present invention.
[0041] In the figure:
[0042] 1. Satellite base map; 11. First background part; 12. First target part; 13. Key target part on the satellite base map; 2. Matching map; 21. Second background part; 22. Second target part; 23. Key target part on the matching map. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and implementation methods. It should be understood that the specific implementation methods described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the implementation methods of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0044] like Figure 1-Figure 3 As shown, this embodiment provides a method for identifying and locating key parts of a rigid target, and the method for identifying and locating key parts of a rigid target includes the following steps:
[0045] S1: According to the flight mission of the aircraft, the remote sensing satellite image of the target area is obtained from the Internet. Each pixel on the remote sensing satellite image has longitude and latitude information;
[0046] The remote sensing satellite images are from map software such as Google Maps and Baidu Maps, and have levels 1-18. In this embodiment, the remote sensing satellite images select the highest level 18, and the spatial resolution is greater than 0.5m.
[0047] S2: using a semantic segmentation algorithm to divide the remote sensing satellite image into a first background part and a first target part, and then filling the first background part with a first pure color to obtain a satellite base map;
[0048] Optionally, the first pure color is green, red, etc., which is not specifically limited here.
[0049] S3: Mark and record the pixel coordinates of the key target parts on the satellite base map; manually select the key target parts on the satellite base map to obtain the pixel point coordinates of the key target parts, and record them in a text file for subsequent use.
[0050] Exemplarily, the target is a bridge, and the key part of the target is the damaged part of the bridge. After obtaining the remote sensing satellite image from the Internet, the background is filled with a solid color, that is, a satellite base map with a background color of the first solid color is obtained. In addition to the background of the first solid color, there is only the bridge part on the satellite base map. The pixel coordinates of the damaged part of the bridge are marked and recorded.
[0051] S4: The aircraft flies to the target area and takes a picture of the target as a real-time picture, and adjusts the resolution and orientation of the real-time picture to make the resolution and orientation of the real-time picture the same as those of the satellite base map;
[0052] Specifically, the aircraft flies to the target area according to the planned route and controls the onboard camera to shoot the direction toward the target area, and takes a target picture after finding the target as a real-time image. Among them, the aircraft finding the target is a relatively mature existing technology, so it will not be described in detail here.
[0053] Among them, adjusting the resolution and orientation of the real-time image includes:
[0054] S41: scaling the real-time image so that the spatial resolution of the real-time image is the same as the spatial resolution of the satellite base image; for example, if the spatial resolution of the satellite base image is 0.5 m, scaling the real-time image so that the spatial resolution of the real-time image is 0.5 m.
[0055] S42: Rotate the real-time image according to the heading angle of the aircraft so that the image direction of the real-time image remains due north, so that the orientations of all objects in the real-time image are the same as the orientations of all objects in the satellite base image, which facilitates subsequent sliding window search and matching.
[0056] S5: using a semantic segmentation algorithm to divide the real-time image into a second background part and a second target part, and then filling the second background part with a second pure color to obtain a matching image, where the second pure color is the same as the first pure color;
[0057] Optionally, the second pure color is green, red, etc., which is not specifically limited here.
[0058] S6: Perform a sliding window search on the satellite base map to find the target block that is closest to the matching image and has the same size as the matching image on the satellite base map. The target block includes the key part of the target. The target block and the matching image are matched by heterogeneous images to obtain a matching pair. The findHomography module in OpenCV is used to calculate the homography matrix M of the target block and the matching image. The homography matrix M maps the pixel coordinates of the key part of the target to the matching image to obtain the pixel coordinates and longitude and latitude information of the key part of the target on the matching image.
[0059] Among them, a sliding window search is performed on the satellite base map, the size of the sliding window is the same as the matching image, and the overlap rate is set to 80% or above to obtain several base map blocks; then the matching image is matched with each base map block for heterogeneous images, and each matching obtains several matching pairs between the matching image and the base map block. The base map block with the largest number of matching pairs is the target block.
[0060] Specifically, performing heterogeneous image matching between the matching image and each base image block includes:
[0061] S61: Use the deep learning model D2-Net to extract features from the matching image, and use D2-Net to extract features from all the base image blocks one by one; D2-Net first uses CNN to calculate the feature map of the input image, and then calculates the descriptor by slicing the feature map, and selects the local maximum value in the feature map as the key point. The key points and descriptors in D2-Net are extracted by CNN, with high-level semantic information, and can achieve better results on heterogeneous images with large differences. After using D2-Net to extract features from the matching image and base image blocks respectively, the key points of the two images are obtained, and each key point is represented by an n-dimensional feature vector.
[0062] S62: Use the K nearest neighbor search algorithm to match the matching graph with the features of any base image block to obtain several matching pairs; use the K nearest neighbor search algorithm to roughly match the feature vectors of the matching graph and the base image block, let K = 2, and obtain N matching pairs, each of which contains the first matching point dis′j with the closest Euclidean distance. Theoretically, any number K>2 can be taken, but K=2 is generally taken because only the two nearest points are used. In this embodiment, first, the matching graph extracts n feature vectors (n1, n2...n n ), the base block extracts m feature vectors (m1, m2, ... m m ), each feature vector represents a pixel in the original image. For n1, we will find K vectors with the closest Euclidean distance to the n1 vector from the m feature vectors, K = 2, which means that we only need to find the first matching point closest to the n1 vector and the second matching point that is the second closest each time; n1...n n Each eigenvector in (m1, m2, ... m ) to find the corresponding points, so there are n pairs of matching pairs; for example, the first matching point of the n1 vector is m3, and the second matching point is m9, then (n1, m3) is considered to be a matching pair.
[0063] S63: Use dynamic adaptive constraints to purify matching pairs, and then use the RANSAC algorithm to further eliminate mismatched pairs. The base image block with the most matching pairs is the closest base image block. n ) can find matching pairs for each point in the image. These matching pairs are not all good, so the dynamic adaptive Euclidean distance constraint is used to purify the matching pairs. Because the constraint used involves the first matching point and the second closest matching point, K is set to 2. The dynamic adaptive Euclidean distance constraint is used to purify the matching pairs, and the average value of the distance difference between the first matching point and the second matching point in all matching pairs is calculated, as shown in formula (1):
[0064]
[0065] For each matching pair to be screened, the purification condition is that the first distance is less than the difference between the second distance and the average distance difference avgdis, as shown in formula (2):
[0066] dis j <dis′ j -avgdis(2)
[0067] dis j Indicates the distance value to the first nearest matching point, dis′ j Indicates the distance value of the second closest matching point. For example, if the n1 feature vector of the matching image has the m3 vector of the base image block as its first matching point, the Euclidean distance between n1 and m3 is dis j ; Its second matching point is the m9 vector, then the Euclidean distance between n1 and m9 is dis′ j , the matching pairs that do not satisfy this formula are deleted, and the matching pairs that satisfy the formula are left; the RANSAC algorithm is used to eliminate the wrong matching pairs after purification, so as to obtain higher quality matching pairs, and the longitude and latitude will be solved more accurately. The RANSAC algorithm is a commonly used algorithm in the field of computer vision. Assume that a set of data has "in-game points" and "out-game points", and the distribution of in-game points conforms to a certain mathematical model, and out-game points are data that cannot adapt to the model. In this specific implementation, the process of eliminating wrong matching pairs by the RANSAC algorithm is:
[0068] S631: randomly extracting a number of matching pair samples from the purified matching pairs, and fitting a model P using the number of matching pair samples, specifically a 3×3 homography matrix;
[0069] S632: Calculate the error between the remaining matching pairs and the model P. If the error is less than a threshold, it is considered to be an in-point. If the error is greater than the threshold, it is considered to be an out-point.
[0070] S633: The above process is called an iteration. After r iterations, the result with the largest number of in-game points is the final result. At this time, all the out-game points calculated are mismatched pairs and can be directly eliminated.
[0071] To explain briefly, generally after the initial matching of a matching image and a base image block, that is, k-nearest neighbors, there may be dozens to hundreds of matching pairs. Then, some of them are eliminated using dynamic conditions and some are eliminated using the RANSAC algorithm. Only a dozen to dozens of matching pairs may be left, and the remaining matching pairs are used to calculate the homography matrix.
[0072] By using a semantic segmentation algorithm to perform semantic segmentation on the remote sensing satellite image and the real-time image respectively, a satellite base image of a first pure color background and a matching image of a second pure color background are obtained, which eliminates the influence of background deformation on the accuracy, can be applied to more complex environments, has strong adaptability to light changes, and has high matching accuracy; and by marking the key parts of the target and searching through a sliding window, the pixel coordinates of the key parts of the target are mapped to the matching image, and the pixel coordinates and longitude and latitude information of the key parts of the target on the matching image are obtained, which can be applied to larger targets. The aircraft can shoot the target area from a higher altitude, while reducing the influence of the shooting inclination angle on the imaging deformation, and the obtained pixel coordinates and longitude and latitude information are more accurate.
[0073] Furthermore, the method for identifying and locating the key parts of a rigid target also includes training a data set on remote sensing satellite images, and the data set training includes the steps of:
[0074] Acquire multiple remote sensing satellite images containing targets as data sets;
[0075] Use image annotation software to manually annotate each remote sensing satellite image, divide the remote sensing satellite image into a target pixel part and a background pixel part, and use different colors to cover the target pixel part and the background pixel part; in this embodiment, use self-developed image annotation software based on PyQt for manual annotation. The image annotation software includes functions such as creating new polygons and magic pens. For polygonal targets, use the new polygon tool to circle the target along the edge of the target and save it to generate a data set image and a corresponding configuration file; for irregular targets, use the magic pen to annotate uniform areas with one click. This function can annotate similar pixels near the mouse click area as the same target. After saving, a data set image and a corresponding configuration file can be generated. Specifically, the annotation types for remote sensing satellite images are divided into two categories, namely the target pixel part and the background pixel part. For the regular part of the target, the annotation tool, i.e., the new polygon tool, is used to circle part or all of the target along the edge of the target and mark it as the target pixel part. For the irregular part of the target, the magic pen is used to click a point on the target in the remote sensing satellite image. The pixels with the same pixel value as the pixel value of the point are all marked as the target pixel part. Click different points on the target in the remote sensing satellite image multiple times until the target is all marked as the target pixel part. The first color is used to cover the target pixel part. The other parts of the remote sensing satellite image except the target pixel part are marked as the background pixel part. The second color is used to cover the background pixel part. The first color and the second color are different. Among them, the first color is the same as the second pure color, and the second color is the same as the first pure color. After the annotation is completed, the data set image and the corresponding configuration file can be generated. The configuration file is the label file. The label file records the annotation type and the corresponding pixel point range, that is, the target pixel part and its corresponding pixel point range, and the background pixel part and its corresponding pixel point range. By using the magic pen annotation, there is no need to stroke along the irregular edge of the target, which saves time, and the edge division effect is better and the annotation accuracy is higher.
[0076] The labeled data set is divided into a training data set, a validation data set, and a test data set according to the distribution ratio of A: B: C; optionally, A is 50%-70%, B is 15%-25%, and C is 15%-25%, for example, A: B: C = 60%: 20%: 20%, or A: B: C = 50%: 25%: 25%, or A: B: C = 70%: 15%: 15%, which is set according to actual needs. Among them, the validation data set is used to finally verify the effectiveness of the training process, and the test data set is used to provide users with a trained algorithm model for testing.
[0077] The training data set is used for training in the pre-trained model, the training classification categories are set to the target and other areas, and the GPU is called for training.
[0078] The trained semantic segmentation algorithm has the function of dividing the content in the real-time image and the remote sensing satellite image by type (which can be divided into n types according to needs). In this embodiment, the semantic segmentation algorithm can be selected but not limited to the SegFormer algorithm. For example, the Efficient Depth Fusion Transformer (EDFT) and other algorithms can also be used. Taking the SegFormer algorithm as an example, the SegFormer algorithm includes a hierarchical Transformer encoder and an All-MLP decoder. The hierarchical Transformer encoder is used to generate high-resolution coarse features and low-resolution fine features. The All-MLP decoder is used to fuse coarse features and fine features to generate the final semantic segmentation mask, that is, to achieve the pixel points belonging to different types of targets with different colors. Masking representation. For a given image of size H×W×3, it is first segmented into patches of size 4×4; then, the 4×4 patch is passed as input to the hierarchical Transformer encoder to obtain multi-level features of {1 / 4, 1 / 8, 1 / 16, 1 / 32} of the original image resolution. The above multi-level features are then passed to the All-MLP decoder to predict the segmentation mask at a resolution of H / 4×W / 4×N_cls, where N_cls is the number of categories, and in this embodiment, N_cls is 2.
[0079] The method for identifying and locating key parts of rigid targets provided in this embodiment can realize the positioning of ground targets and key parts of targets in a denied environment; compared with existing target detection methods, this method is simpler in theory and has a longer identification and positioning distance, and is applicable to both dynamic and static targets; and is applicable to various complex scenes when the captured pictures meet the identification conditions.
[0080] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for identifying and locating key parts of a rigid target, characterized in that: The following steps are involved: According to the flight mission of the aircraft, a remote sensing satellite image of the target area is obtained from the Internet, wherein each pixel on the remote sensing satellite image has latitude and longitude information; Using a semantic segmentation algorithm to divide the remote sensing satellite image into a first background portion and a first target portion, and then filling the first background portion with a first pure color to obtain a satellite base map; Marking and recording the pixel coordinates of the key parts of the target on the satellite base map; The aircraft flies to the target area and takes a target picture as a real-time picture, and adjusts the resolution and orientation of the real-time picture so that the resolution and orientation of the real-time picture are the same as the resolution and orientation of the satellite base map; Using a semantic segmentation algorithm to divide the real-time image into a second background portion and a second target portion, and then filling the second background portion with a second pure color to obtain a matching image, wherein the second pure color is the same as the first pure color; A sliding window search is performed on the satellite base map to find a target block that is closest to the matching image and has the same size as the matching image on the satellite base map, the target block includes the target key part, and the target block and the matching image are subjected to heterogeneous image matching to obtain a matching pair, and the findHomography module in OpenCV is used to calculate the homography matrix M of the target block and the matching image, the homography matrix M maps the pixel coordinates of the target key part to the matching image, and obtains the pixel coordinates and longitude and latitude information of the target key part on the matching image.
2. The method for identifying and locating key parts of a rigid target according to claim 1, characterized in that: The semantic segmentation algorithm adopts the SegFormer algorithm, which includes a hierarchical Transformer encoder and an All-MLP decoder. The hierarchical Transformer encoder is used to generate high-resolution coarse features and low-resolution fine features, and the All-MLP decoder is used to fuse the coarse features and the fine features to generate a final semantic segmentation mask.
3. The method for identifying and locating key parts of a rigid target according to claim 1, characterized in that: Also includes: The remote sensing satellite image is subjected to data set training, wherein the data set training comprises the steps of: Acquire a plurality of remote sensing satellite images containing the target as a data set; Using image annotation software to manually annotate each of the remote sensing satellite images, dividing the remote sensing satellite images into a target pixel portion and a background pixel portion, and using different colors to mask the target pixel portion and the background pixel portion; The labeled data set is divided into a training data set, a validation data set, and a test data set according to the distribution ratio of A:B:C; The training data set is used for training in the pre-trained model, the training classification categories are set to the target and other areas, and the GPU is called for training.
4. The method for identifying and locating key parts of a rigid target according to claim 3, characterized in that: Manually annotating the remote sensing satellite image using the image annotation software includes: For the regular part of the target, a marking tool is used to circle part or all of the target along the edge of the target and mark it as the target pixel part. For the irregular part of the target, a point on the target in the remote sensing satellite image is clicked, and the pixels with the same pixel value as the pixel value of the point are all marked as the target pixel part. Different points on the target in the remote sensing satellite image are clicked multiple times until the target is all marked as the target pixel part, and the target pixel part is covered with the first color; The other parts of the remote sensing satellite image except the target pixel part are marked as background pixel parts, and the background pixel parts are covered with a second color, and the first color and the second color are different.
5. The method for identifying and locating key parts of a rigid target according to claim 1, characterized in that: Performing a sliding window search on the satellite base map includes: Performing a sliding window search on the satellite base map, wherein the size of the sliding window is the same as the matching map, and the overlap rate is set to 80% or more, to obtain a plurality of base map blocks; The matching graph is matched with each of the base image blocks to obtain a plurality of matching pairs between the matching graph and the base image blocks each time, and the base image block with the largest number of matching pairs is the target image block.
6. The method for identifying and locating key parts of a rigid target according to claim 5, characterized in that: Performing heterogeneous image matching between the matching image and each of the base image blocks includes: Use the deep learning model D2-Net to extract features from the matching image, and use D2-Net to extract features from all the base image blocks one by one; Using a K-nearest neighbor search algorithm, the matching graph is matched with features of any of the base image blocks to obtain a plurality of matching pairs; Dynamic adaptive constraints are used to purify matching pairs, and then the RANSAC algorithm is used to further eliminate mismatched pairs. The base image block with the most matching pairs is the closest base image block.
7. The method for identifying and locating key parts of a rigid target according to claim 1, characterized in that: Adjusting the resolution and orientation of the real-time image includes: Scaling the real-time image so that the spatial resolution of the real-time image is the same as the spatial resolution of the satellite base image; The real-time image is rotated according to the heading angle of the aircraft so that the image direction of the real-time image remains due north, so that the orientations of all objects in the real-time image are the same as the orientations of all objects in the satellite base image.
