Spacecraft image feature point detection method and device, electronic equipment and storage medium

By performing feature point extraction and background removal on spacecraft images, combined with self-supervised training of deep neural network models, the problem of accuracy and efficiency of feature point detection in spacecraft images under spatial background interference is solved, and automated and efficient feature point detection is achieved. detection.

CN118657955APending Publication Date: 2024-09-17INST OF AUTOMATION CHINESE ACAD OF SCI +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410771386.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing methods for detecting feature points in spacecraft images have low detection accuracy and efficiency under space background interference, and require manual annotation of feature points, which is time-consuming and labor-intensive.

Method used

By extracting feature points and removing background feature points from spacecraft image samples, a pair of linear transformation images and feature point images is formed, and a deep neural network model is used for self-supervised training to reduce spatial background interference and automatically label feature points.

Benefits of technology

It improves the accuracy and efficiency of spacecraft image feature point detection, reduces the need for manual annotation, and enhances the robustness of spacecraft target feature point detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657955A
    Figure CN118657955A
Patent Text Reader

Abstract

The invention provides a spacecraft image feature point detection method and device, electronic equipment and a storage medium, and belongs to the technical field of spacecraft image detection, and the method comprises the steps: obtaining a to-be-detected spacecraft image; inputting the to-be-detected spacecraft image into an image feature point detection model to obtain a feature point detection result of the to-be-detected spacecraft image output by the image feature point detection model; the image feature point detection model is obtained by training according to a spacecraft image sample, a linear transformation image corresponding to the spacecraft image sample and a spacecraft feature point image corresponding to the spacecraft image sample; the spacecraft feature point image is obtained by performing feature point extraction on a spacecraft image sample and performing background feature point removal on a feature point extraction result. The method can effectively reduce the interference of the space background on the detection of the spacecraft target feature points, does not need the manual marking of the feature points, saves time and labor, and greatly improves the precision and efficiency of the detection of the spacecraft image feature points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of spacecraft image detection, and in particular to a method, device, electronic equipment and storage medium for detecting feature points of a spacecraft image. Background Art

[0002] Spacecraft attitude estimation plays a vital role in multiple tasks of spacecraft on-orbit service, and feature point detection of spacecraft targets is a key step in pose estimation, which aims to detect the invariant feature points of a moving spacecraft under changes in scale, attitude and illumination for subsequent attitude estimation.

[0003] The dramatic changes in light in space make it difficult to detect feature points in spacecraft images. In recent years, due to the advantages of deep learning in feature learning, some deep learning-based feature point detection algorithms have been proposed. However, due to the particularity of spacecraft, there are currently few public spacecraft datasets, and it is time-consuming and laborious to annotate spacecraft feature points. The above existing methods are easily affected by the background in space, and the detection accuracy and efficiency are low.

[0004] Therefore, how to better realize spacecraft image feature point detection has become a technical problem that needs to be solved urgently in the industry. Summary of the invention

[0006] The present invention provides a method, device, electronic equipment and storage medium for detecting feature points of a spacecraft image, so as to better realize the detection of feature points of a spacecraft image.

[0007] The present invention provides a method for detecting feature points of a spacecraft image, comprising: Acquire the image of the spacecraft to be detected; Inputting the to-be-detected spacecraft image into an image feature point detection model to obtain a feature point detection result of the to-be-detected spacecraft image output by the image feature point detection model; The image feature point detection model is trained based on spacecraft image samples and their corresponding linear transformation images, as well as spacecraft feature point images corresponding to the spacecraft image samples; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

[0008] According to a method for detecting feature points of a spacecraft image provided by the present invention, before inputting the spacecraft image to be detected into an image feature point detection model to obtain a feature point detection result of the spacecraft image to be detected output by the image feature point detection model, the method further includes: Get a sample dataset of spacecraft images; For any spacecraft image sample in the spacecraft image sample data set, perform feature point labeling processing on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample; Performing background feature point removal processing on the first feature point image corresponding to the spacecraft image sample to obtain a spacecraft feature point image corresponding to the spacecraft image sample; Performing a linear transformation on the spacecraft image sample to obtain the linear transformation image; Taking the spacecraft image sample, the linear transformation image and the spacecraft feature point image as a group of training samples, and obtaining a training sample data set according to a plurality of groups of the training samples; The preset deep neural network model is trained using the training sample data set to obtain the image feature point detection model.

[0009] According to a method for detecting feature points of a spacecraft image provided by the present invention, the step of performing feature point labeling processing on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample includes: Inputting the spacecraft image sample into a feature point detection network to obtain a first feature point image corresponding to the spacecraft image sample output by the feature point detection network; The feature point detection network includes an encoder and a decoder; the encoder is used to perform feature encoding on input spacecraft image samples; and the decoder is used to extract feature points from the feature image output by the encoder.

[0010] According to a method for detecting feature points of a spacecraft image provided by the present invention, the background feature point removal process is performed on the first feature point image corresponding to the spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample, including: The language-image association pre-training model is used to perform background feature point removal processing on the first feature point image corresponding to the input spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample.

[0011] According to a method for detecting feature points of a spacecraft image provided by the present invention, the method of training a preset deep neural network model using the training sample data set to obtain the image feature point detection model includes: For any training sample in the training sample data set, input the spacecraft image sample and the corresponding linear transformation image in the training sample into a preset deep neural network model respectively, and output the prediction result corresponding to the spacecraft image sample and the prediction result corresponding to the linear transformation image; Calculate the loss value by using a preset loss function according to the prediction result corresponding to the spacecraft image sample, the prediction result corresponding to the linear transformation image, and the spacecraft feature point image in the training sample; Based on the loss value, adjusting the model parameters of the deep neural network model until the loss value reaches convergence or the number of training times reaches a preset number of times, and using the model parameters obtained when the loss value reaches convergence or the number of training times reaches the preset number of times as the model parameters of the trained deep neural network model; The image feature point detection model is obtained according to the trained deep neural network model.

[0012] According to a method for detecting feature points of a spacecraft image provided by the present invention, the training sample data set includes a first sample data set, a second sample data set and a third sample data set; the first sample data set is determined based on spacecraft image samples synthesized by software; the second sample data set is determined based on spacecraft image samples collected under light box lighting conditions; the third sample data set is determined based on spacecraft image samples collected under solar lamp lighting conditions; The method of training a preset deep neural network model using the training sample data set to obtain the image feature point detection model includes: Using the first sample data set to perform model training on a preset deep neural network model to obtain a trained deep neural network model; The trained deep neural network is trained using the second sample data set and / or the third sample data set to obtain the image feature point detection model.

[0013] The present invention also provides a spacecraft image feature point detection device, comprising: An acquisition module, used for acquiring images of the spacecraft to be detected; A detection module, used for inputting the image of the spacecraft to be detected into an image feature point detection model, and obtaining a feature point detection result of the image of the spacecraft to be detected output by the image feature point detection model; The image feature point detection model is trained based on spacecraft image samples and their corresponding linear transformation images, as well as spacecraft feature point images corresponding to the spacecraft image samples; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for detecting feature points of a spacecraft image as described above is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for detecting feature points of a spacecraft image as described in any one of the above is implemented.

[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for detecting feature points of a spacecraft image as described in any one of the above is implemented.

[0017] The spacecraft image feature point detection method, device, electronic device and storage medium provided by the present invention extract feature points of acquired spacecraft image samples in advance, remove background feature points from the feature point extraction results, so as to obtain an image containing only spacecraft feature points, and at the same time perform a linear transformation on the spacecraft image samples, and use the image pairs formed by the linear transformation image and the original spacecraft image samples and the spacecraft feature point images obtained above to train a deep neural network model to obtain a trained image feature point detection model, so that the image feature point detection model can effectively perform spacecraft target feature point detection on the input spacecraft image to be detected, and can effectively reduce the interference of the space background on the spacecraft target feature point detection, and does not require manual labeling of feature points, which saves time and effort, and greatly improves the accuracy and efficiency of spacecraft image feature point detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is a flow chart of the spacecraft image feature point detection method provided by the present invention.

[0020] Figure 2 It is a structural schematic diagram of the spacecraft image feature point detection device provided by the present invention.

[0021] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] In the description of the invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0024] In the prior art, the commonly used deep neural network model SuperPoint network model directly performs global feature point detection on spacecraft images. SuperPoint is a self-supervised network framework that can simultaneously extract pixel-level feature points and descriptors from the original image and has strong robustness to illumination changes. However, this method is easily disturbed by the background of space, so that a large number of feature points fall on the background instead of the spacecraft target, which directly affects the effect of spacecraft target feature point detection.

[0025] Combine the following Figure 1-Figure 3 The invention describes a method, device, electronic device and storage medium for detecting feature points of a spacecraft image.

[0026] Figure 1 FIG. 1 is a flow chart of a method for detecting feature points of a spacecraft image provided by the present invention. Figure 1 As shown, it includes: step 110, obtaining an image of the spacecraft to be detected; Step 120: input the image of the spacecraft to be detected into the image feature point detection model to obtain the feature point detection result of the image of the spacecraft to be detected output by the image feature point detection model; The image feature point detection model is trained based on the spacecraft image samples and their corresponding linear transformation images, as well as the spacecraft feature point images corresponding to the spacecraft image samples; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

[0027] Specifically, the spacecraft image to be detected described in the embodiment of the present invention refers to a spacecraft image for feature point detection, wherein the spacecraft image can be a space image of a cooperative spacecraft or a space image of a non-cooperative spacecraft. It should be noted that the prior information of the non-cooperative spacecraft cannot be obtained, which is also more advantageous for the self-supervised training process of the model.

[0028] The feature point detection result described in the embodiment of the present invention refers to the feature point detection result of the spacecraft target in the spacecraft image.

[0029] The image feature point detection model described in the embodiment of the present invention is obtained by forming an image pair from a spacecraft image sample and a corresponding linear transformation image, and using the image pair and the spacecraft feature point image corresponding to the sample to perform self-supervised training on a preset deep neural network model. It is used to reduce the interference of the space background on the detection of spacecraft target feature points, and efficiently extract the feature points of the spacecraft target in the input spacecraft image.

[0030] The spacecraft feature point image is specifically obtained by performing preliminary feature point extraction on the spacecraft image sample, and then further removing the background feature point annotations from the extraction result, so as to finally obtain an image containing only the spacecraft feature point annotations.

[0031] Among them, the preset deep neural network model can adopt the SuperPoint network model, or other convolutional neural network models that can extract image feature points.

[0032] In an embodiment of the present invention, each spacecraft image sample and the corresponding spacecraft feature point image can be formed into image pairs in advance, and the SuperPoint network model can be trained using these image pairs and the corresponding spacecraft feature point images to obtain an image feature point detection model.

[0033] In an embodiment of the present invention, an image of the spacecraft to be detected is obtained in step 110. In an actual spacecraft on-orbit service mission, a space image of the spacecraft to be detected can be acquired by a pre-set image acquisition module.

[0034] In an embodiment of the present invention, in step 120, the image of the spacecraft to be detected obtained in step 110 is input into a pre-trained image feature point detection model. After the image feature point detection model recognizes and detects the features of the spacecraft target in the input image, the feature point detection result of the spacecraft image to be detected can be effectively obtained.

[0035] The method for detecting feature points of spacecraft images provided by the present invention extracts feature points of acquired spacecraft image samples in advance, removes background feature points from the feature point extraction results, so as to obtain an image containing only spacecraft feature points, and at the same time linearly transforms the spacecraft image samples, and uses the image pairs formed by the linearly transformed image and the original spacecraft image samples and the spacecraft feature point images obtained above to train a deep neural network model to obtain a trained image feature point detection model, so that the image feature point detection model can effectively detect spacecraft target feature points of the input spacecraft image to be detected, and can effectively reduce the interference of the space background on the detection of spacecraft target feature points, and does not require manual labeling of feature points, which saves time and effort, and greatly improves the accuracy and efficiency of spacecraft image feature point detection.

[0036] Based on the content of the above embodiment, as an optional embodiment, before inputting the image of the spacecraft to be detected into the image feature point detection model to obtain the feature point detection result of the image of the spacecraft to be detected output by the image feature point detection model, the method further includes: Get a sample dataset of spacecraft images; For any spacecraft image sample in the spacecraft image sample data set, perform feature point labeling processing on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample; Performing background feature point removal processing on the first feature point image corresponding to the spacecraft image sample to obtain a spacecraft feature point image corresponding to the spacecraft image sample; Performing linear transformation on spacecraft image samples to obtain a linear transformation image; The spacecraft image samples, the linear transformation images and the spacecraft feature point images are used as a group of training samples, and a training sample data set is obtained based on the multiple groups of training samples; The preset deep neural network model is trained using the training sample data set to obtain an image feature point detection model.

[0037] Specifically, the first feature point image described in the embodiment of the present invention refers to an image obtained by performing feature point annotation processing on any spacecraft image sample using a pre-trained image feature point extraction network or algorithm.

[0038] In an embodiment of the present invention, a spacecraft image sample data set is first obtained using an open source data platform. Then, feature point annotation processing is performed on any spacecraft image sample in the spacecraft image sample data set, that is, by performing feature point annotation processing on each spacecraft image sample, a first feature point image corresponding to each spacecraft image sample can be obtained.

[0039] Based on the content of the above embodiment, as an optional embodiment, feature point labeling processing is performed on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample, including: Inputting the spacecraft image sample into the feature point detection network to obtain a first feature point image corresponding to the spacecraft image sample output by the feature point detection network; The feature point detection network includes an encoder and a decoder; the encoder is used to perform feature encoding on the input spacecraft image samples; the decoder is used to extract feature points from the feature image output by the encoder.

[0040] Specifically, the feature point detection network described in the embodiment of the present invention can adopt a pre-trained neural network, and the feature point detection network includes an encoder and a decoder. Among them, the neural network can adopt a MagicPoint network after homography transformation, and the MagicPoint network is composed of an encoding network in the deep neural network VGG format and an explicit decoding network, and the output is the probability that each pixel point of the image is a feature point.

[0041] The MagicPoint network after homography transformation refers to the network model obtained by training the MagicPoint network with the spacecraft image samples after homography transformation. Homography transformation is a multi-scale and multi-transformation technology, which can make the MagicPoint network adaptable from virtual data to real scene data.

[0042] It can be understood that the encoder described in the embodiment of the present invention can adopt an encoding network in the VGG format, and the decoder can adopt an explicit decoding network.

[0043] Furthermore, in an embodiment of the present invention, for any spacecraft image sample in a spacecraft image sample data set, the spacecraft image sample is input into a MagicPoint network that has undergone homography transformation for processing, and the network is used to perform feature point detection on each spacecraft image sample, and the detected feature points are labeled to obtain a first feature point image corresponding to each spacecraft image sample.

[0044] The method of the embodiment of the present invention, by utilizing the MagicPoint network that has undergone homography transformation, performs preliminary feature point annotation on the spacecraft image samples in the spacecraft image sample data set, thereby improving the adaptability of the model to real scene data and providing a reliable feature point image data source for subsequent sample data cleaning.

[0045] Furthermore, in an embodiment of the present invention, after obtaining the first feature point image corresponding to each spacecraft image sample, background feature point removal processing may be performed on the first feature point images corresponding to these samples.

[0046] Based on the contents of the above embodiments, as an optional embodiment, background feature points are removed from the first feature point image corresponding to the spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample, including: using a language-image association pre-training model to perform background feature point removal on the first feature point image corresponding to the input spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample.

[0047] Specifically, the Grounded Language-Image Pre-training (GLIP) model described in the embodiment of the present invention is used to unify target detection and phrase association tasks for pre-training. It has strong zero-sample and few-sample adaptability and can realize target detection for various spacecraft without training.

[0048] Furthermore, in an embodiment of the present invention, the first feature point image corresponding to each spacecraft image sample is input into the GLIP model, and the background feature point annotation information is cleaned using the GLIP model, which can effectively reduce the interference of the background on the detection of spacecraft target feature points, and obtain the spacecraft feature point image corresponding to the spacecraft image sample.

[0049] Optionally, in an embodiment of the present invention, a Gaussian model / mixed Gaussian model may be used to perform background feature point removal processing on the first feature point image corresponding to the input spacecraft image sample.

[0050] The method of the embodiment of the present invention, by utilizing the GLIP model with zero-sample adaptability, cleans the annotation information of background feature points, and uses the cleaned feature point image data to guide the training process of subsequent models, can effectively reduce the interference of the background on the detection of spacecraft target feature points and enhance the anti-interference ability of the model.

[0051] Further, in an embodiment of the present invention, a linear transformation is performed on the spacecraft image samples to obtain a linear transformation image. The linear transformation may be a homography transformation or other forms of geometric transformation. By performing matrix operation processing on the spacecraft image samples, an image after homography transformation may be obtained.

[0052] Furthermore, in an embodiment of the present invention, each spacecraft image sample, its corresponding linear transformation image, and the spacecraft feature point image corresponding to the spacecraft image sample are used as a group of training samples, thereby obtaining multiple groups of training samples to form a training sample data set. Furthermore, the training sample data set can be used to perform model training on a preset deep neural network model.

[0053] Based on the content of the above embodiment, as an optional embodiment, a preset deep neural network model is trained using a training sample data set to obtain an image feature point detection model, including: For any training sample in the training sample data set, the spacecraft image sample and the corresponding linear transformation image in the training sample are respectively input into the preset deep neural network model, and the prediction result corresponding to the spacecraft image sample and the prediction result corresponding to the linear transformation image are output; Calculate the loss value using a preset loss function according to the prediction result corresponding to the spacecraft image sample, the prediction result corresponding to the linear transformation image, and the spacecraft feature point image in the training sample; Based on the loss value, the model parameters of the deep neural network model are adjusted until the loss value reaches convergence or the number of training times reaches a preset number of times, and the model parameters obtained when the loss value reaches convergence or the number of training times reaches the preset number of times are used as the model parameters of the trained deep neural network model; According to the trained deep neural network model, an image feature point detection model is obtained.

[0054] Specifically, the preset loss function described in the embodiment of the present invention refers to a loss function pre-set in a deep neural network model and is used for model evaluation; the preset number of times refers to the preset maximum number of model iteration training times.

[0055] In an embodiment of the present invention, the preset deep neural network model may adopt a SuperPoint network model, which includes a shared encoding network, a feature point decoding network, and a descriptor decoding network.

[0056] Among them, the shared coding network can adopt a convolutional neural network in VGG format to reduce the image size, which can specifically include a convolutional layer, a maximum pooling layer and a non-linear activation layer.

[0057] The feature point decoding network can use a network with an upsampling algorithm and output the probability that each pixel point of the original image size is a feature point.

[0058] The descriptor decoding network uses a network similar to the UCN model to learn semi-dense descriptors, perform bicubic interpolation to obtain complete descriptors, and finally perform L2 regularization to obtain the descriptor of each pixel of the original image size.

[0059] Among them, the network loss function of the SuperPoint network model includes feature point detection loss and descriptor loss Two parts, which can be specifically expressed as: In the formula, Represent the predicted position, position label and predicted descriptor of the original spacecraft image sample respectively; Respectively represent the predicted position, position label and predicted descriptor of the corresponding linear transformation image; represents the cross entropy loss of the full convolution after all units are normalized; It represents the sum and average of the hinge loss of the two descriptors; S represents the threshold function, and the threshold function S is set to confirm the correspondence between the two feature points; the parameter λ is used to balance the two losses.

[0060] Among them, the prediction result corresponding to the spacecraft image sample includes the predicted position corresponding to the spacecraft image sample and prediction descriptor The prediction result corresponding to the linear transformation image includes the predicted position of the linear transformation image and prediction descriptor

[0061] Among them, the position label Y of the spacecraft image sample can be determined based on the spacecraft feature point image corresponding to the sample, and is used to characterize the real feature point position information of the spacecraft target in the image. It is understandable that the position label Y′ of the linear transformation image can be determined based on the linear transformation image after linear transformation of the spacecraft feature point image. It is understandable that in the embodiment of the present invention, when the preset deep neural network model adopts the SuperPoint network model, the preset loss function adopts the network loss function of the SuperPoint network model.

[0062] Furthermore, in an embodiment of the present invention, after obtaining a training sample data set, for any training sample in the training sample data set, the spacecraft image samples and the corresponding linear transformation images in each group of training samples are respectively input into a preset deep neural network model, such as a SuperPoint network model, and after model prediction, the prediction results corresponding to the spacecraft image samples and the prediction results corresponding to the linear transformation images are output.

[0063] On this basis, the network loss function of the SuperPoint network model is used to calculate the loss value according to the prediction results corresponding to the spacecraft image sample, the prediction results corresponding to the linear transformation image and the corresponding spacecraft feature point image.

[0064] Furthermore, after the loss value is calculated, the training process ends. Based on the loss value, the model parameters of the SuperPoint network model are adjusted to update the weight parameters of each layer of the model in the SuperPoint network model, and then the next training is carried out, and the model training is repeated iteratively.

[0065] During the training process, if the training results for a certain group of training samples meet the preset training termination conditions, such as the corresponding calculated loss value converges, or the current number of iterations reaches the preset number, indicating that the model loss value can be controlled within a certain convergence range, then the model training ends. At this time, the model parameters obtained when the loss value reaches convergence or the number of training times reaches the preset number can be used as the model parameters of the trained deep neural network model, and then the trained deep neural network model can be directly used as an image feature point detection model, or the trained deep neural network model can be retrained again using sample data of different light scenes to finally obtain an image feature point detection model.

[0066] In an embodiment of the present invention, an image pair is formed by forming a spacecraft image sample and its corresponding linear transformation image, and the image pair and the spacecraft feature point image corresponding to the sample are used as a group of training samples. The image feature point detection model is repeatedly iteratively trained using multiple groups of training samples, and the loss value of the image feature point detection model is controlled within a convergence range, which is beneficial to improving the accuracy of the model output results and enhancing the model's detection accuracy of spacecraft image feature points.

[0067] The method of the embodiment of the present invention performs feature point detection and background feature point cleaning processing on spacecraft image samples in advance to obtain a spacecraft feature point image corresponding to the sample, and uses the spacecraft image sample and its corresponding linear transformation image, and the spacecraft feature point image corresponding to the sample as training samples to repeatedly iteratively train a preset deep neural network model, which can enhance the image feature point detection model's anti-interference ability against the space background and improve the model's performance for spacecraft image feature point detection.

[0068] Based on the content of the above embodiment, as an optional embodiment, the training sample data set includes a first sample data set, a second sample data set and a third sample data set; the first sample data set is determined based on the spacecraft image samples synthesized by software; the second sample data set is determined based on the spacecraft image samples collected under the lighting condition of a light box; the third sample data set is determined based on the spacecraft image samples collected under the lighting condition of a sun lamp; Using the training sample data set to train a preset deep neural network model to obtain an image feature point detection model, including: using the first sample data set to perform model training on the preset deep neural network model to obtain a trained deep neural network model; The trained deep neural network is trained using the second sample data set and / or the third sample data set to obtain an image feature point detection model.

[0069] Specifically, the training sample data set described in the embodiment of the present invention includes a first sample data set, a second sample data set and a third sample data set, wherein the first sample data set is an image sample data set composed of spacecraft image samples synthesized based on software, and its image samples are spacecraft images simulated by optical simulator software based on the open graphics library OpenGL, which consists of 59,960 synthetic images, with a large amount of data and relatively stable. It can be described as a synthetic data set.

[0070] The second sample dataset refers to an image dataset consisting of spacecraft image samples collected under light box lighting conditions by using a light box to simulate the albedo in space, which consists of 6740 images and can be described as a light box dataset.

[0071] The third sample data set refers to an image sample data set composed of spacecraft image samples collected under solar lamp lighting conditions by using a solar lamp to simulate direct high-intensity uniform light from the sun, which can be described as a solar lamp data set.

[0072] It should be noted that compared with the synthetic dataset, the light box dataset and the sun lamp dataset can provide the visual effects of stray light and shadows in space, which are not easy to obtain through computer graphics.

[0073] In an embodiment of the present invention, three types of training sample data sets, namely, synthetic data sets, light box data sets and solar lamp data sets, can be randomly divided into training sets and test sets according to a preset ratio, such as 4:1.

[0074] Furthermore, in an embodiment of the present invention, by utilizing the spacecraft image samples in the synthetic data set and their corresponding spacecraft feature point images, a preset deep neural network model is trained in accordance with the aforementioned training method to obtain a trained deep neural network model.

[0075] Furthermore, in an embodiment of the present invention, the trained deep neural network is retrained using the light box dataset and / or the solar lamp dataset, respectively, so that the model parameters are further fine-tuned on the light box dataset and then the solar lamp dataset, and finally a trained image feature point detection model can be obtained.

[0076] The method of the embodiment of the present invention, by utilizing spacecraft image datasets under different lighting scenarios, is first trained on a synthetic dataset with a large and stable data volume through a step-by-step training method, and then fine-tuned on a single dataset with a small data volume that is affected by light interference, thereby further improving the robustness of the image feature point detection model to light and improving the performance of the model in detecting spacecraft image feature points.

[0077] The spacecraft image feature point detection device provided by the present invention is described below. The spacecraft image feature point detection device described below and the spacecraft image feature point detection method described above can be referenced to each other.

[0078] Figure 2 is a schematic diagram of the structure of the spacecraft image feature point detection device provided by the present invention, such as Figure 2 As shown, it includes: an acquisition module 210 and a detection module 220 connected in sequence.

[0079] Wherein, the acquisition module 210 is used to acquire the image of the spacecraft to be detected; The detection module 220 is used to input the image of the spacecraft to be detected into the image feature point detection model to obtain the feature point detection result of the image of the spacecraft to be detected output by the image feature point detection model; The image feature point detection model is trained based on spacecraft image samples and corresponding spacecraft feature point images; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

[0080] The spacecraft image feature point detection device described in this embodiment can be used to execute the above-mentioned spacecraft image feature point detection method embodiment, and its principles and technical effects are similar, which will not be repeated here.

[0081] The spacecraft image feature point detection device provided by the present invention extracts feature points of acquired spacecraft image samples in advance, removes background feature points from the feature point extraction results, so as to obtain an image containing only spacecraft feature points, and at the same time performs a linear transformation on the spacecraft image samples, and uses the image pairs formed by the linear transformation image and the original spacecraft image samples and the spacecraft feature point images obtained above to train a deep neural network model to obtain a trained image feature point detection model, so that the image feature point detection model can effectively perform spacecraft target feature point detection on the input spacecraft image to be detected, and can effectively reduce the interference of the space background on the spacecraft target feature point detection, and does not require manual labeling of feature points, which saves time and effort, and greatly improves the accuracy and efficiency of spacecraft image feature point detection.

[0082] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute a method for detecting feature points of a spacecraft image, the method comprising: obtaining a spacecraft image to be detected; inputting the spacecraft image to be detected into an image feature point detection model to obtain a feature point detection result of the spacecraft image to be detected output by the image feature point detection model; the image feature point detection model is obtained by training a spacecraft image sample and its corresponding linear transformation image, and a spacecraft feature point image corresponding to the spacecraft image sample; the spacecraft feature point image is obtained by extracting feature points from the spacecraft image sample and removing background feature points from the feature point extraction result.

[0083] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0084] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the spacecraft image feature point detection method provided by the above-mentioned methods, and the method includes: obtaining a spacecraft image to be detected; inputting the spacecraft image to be detected into an image feature point detection model to obtain a feature point detection result of the spacecraft image to be detected output by the image feature point detection model; the image feature point detection model is trained based on a spacecraft image sample and its corresponding linear transformation image, and a spacecraft feature point image corresponding to the spacecraft image sample; the spacecraft feature point image is obtained by extracting feature points from the spacecraft image sample and removing background feature points from the feature point extraction result.

[0085] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the spacecraft image feature point detection method provided by the above-mentioned methods, the method comprising: acquiring a spacecraft image to be detected; inputting the spacecraft image to be detected into an image feature point detection model to obtain a feature point detection result of the spacecraft image to be detected output by the image feature point detection model; the image feature point detection model is trained based on a spacecraft image sample and its corresponding linear transformation image, and a spacecraft feature point image corresponding to the spacecraft image sample; the spacecraft feature point image is obtained by extracting feature points from the spacecraft image sample and removing background feature points from the feature point extraction result.

[0086] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0087] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting feature points of a spacecraft image, characterized in that: include: Acquire the image of the spacecraft to be detected; Inputting the to-be-detected spacecraft image into an image feature point detection model to obtain a feature point detection result of the to-be-detected spacecraft image output by the image feature point detection model; The image feature point detection model is trained based on spacecraft image samples and their corresponding linear transformation images, as well as spacecraft feature point images corresponding to the spacecraft image samples; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

2. The method for detecting feature points of spacecraft images according to claim 1, characterized in that: Before inputting the to-be-detected spacecraft image into the image feature point detection model to obtain the feature point detection result of the to-be-detected spacecraft image output by the image feature point detection model, the method further includes: Get a sample dataset of spacecraft images; For any spacecraft image sample in the spacecraft image sample data set, perform feature point labeling processing on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample; Performing background feature point removal processing on the first feature point image corresponding to the spacecraft image sample to obtain a spacecraft feature point image corresponding to the spacecraft image sample; Performing a linear transformation on the spacecraft image sample to obtain the linear transformation image; Taking the spacecraft image sample, the linear transformation image and the spacecraft feature point image as a group of training samples, and obtaining a training sample data set according to a plurality of groups of the training samples; The preset deep neural network model is trained using the training sample data set to obtain the image feature point detection model.

3. The method for detecting feature points of spacecraft images according to claim 2, characterized in that: The step of performing feature point labeling processing on the spacecraft image sample to obtain a first feature point image corresponding to the spacecraft image sample includes: Inputting the spacecraft image sample into a feature point detection network to obtain a first feature point image corresponding to the spacecraft image sample output by the feature point detection network; The feature point detection network includes an encoder and a decoder; the encoder is used to perform feature encoding on input spacecraft image samples; and the decoder is used to extract feature points from the feature image output by the encoder.

4. The method for detecting feature points of spacecraft images according to claim 2, characterized in that: The performing background feature point removal processing on the first feature point image corresponding to the spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample includes: The language-image association pre-training model is used to perform background feature point removal processing on the first feature point image corresponding to the input spacecraft image sample to obtain the spacecraft feature point image corresponding to the spacecraft image sample.

5. The method for detecting feature points of spacecraft images according to claim 2, characterized in that: The method of training a preset deep neural network model using the training sample data set to obtain the image feature point detection model includes: For any training sample in the training sample data set, input the spacecraft image sample and the corresponding linear transformation image in the training sample into a preset deep neural network model respectively, and output the prediction result corresponding to the spacecraft image sample and the prediction result corresponding to the linear transformation image; Calculate the loss value by using a preset loss function according to the prediction result corresponding to the spacecraft image sample, the prediction result corresponding to the linear transformation image, and the spacecraft feature point image in the training sample; Based on the loss value, adjusting the model parameters of the deep neural network model until the loss value reaches convergence or the number of training times reaches a preset number of times, and using the model parameters obtained when the loss value reaches convergence or the number of training times reaches the preset number of times as the model parameters of the trained deep neural network model; The image feature point detection model is obtained according to the trained deep neural network model.

6. The method for detecting feature points of a spacecraft image according to any one of claims 2 to 5, characterized in that: The training sample data set includes a first sample data set, a second sample data set and a third sample data set; the first sample data set is determined based on spacecraft image samples synthesized by software; the second sample data set is determined based on spacecraft image samples collected under light box lighting conditions; The third sample data set is determined based on spacecraft image samples collected under solar lamp lighting conditions; The method of training a preset deep neural network model using the training sample data set to obtain the image feature point detection model includes: Using the first sample data set to perform model training on a preset deep neural network model to obtain a trained deep neural network model; The trained deep neural network is trained using the second sample data set and / or the third sample data set to obtain the image feature point detection model.

7. A device for detecting feature points of a spacecraft image, characterized in that: include: An acquisition module, used for acquiring images of the spacecraft to be detected; A detection module, used for inputting the image of the spacecraft to be detected into an image feature point detection model, and obtaining a feature point detection result of the image of the spacecraft to be detected output by the image feature point detection model; The image feature point detection model is trained based on spacecraft image samples and their corresponding linear transformation images, as well as spacecraft feature point images corresponding to the spacecraft image samples; the spacecraft feature point images are obtained by extracting feature points from the spacecraft image samples and removing background feature points from the feature point extraction results.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for detecting feature points of a spacecraft image as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting feature points of a spacecraft image as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for detecting feature points of a spacecraft image as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Feature extraction model training method and device, electronic equipment and program product

    CN114898170A

  • Transform-based spacecraft image feature matching system

    CN117975063A