A fast star image extraction method for star sensor based on improved Faster R-CNN
By improving the Faster R-CNN network and the grayscale centroid method based on pixel screening, the problem of star image extraction accuracy and speed in high-noise environments is solved, fast and accurate star image centroid extraction is achieved, and the attitude measurement of the star sensor is improved. performance.
Patent Information
- Application Number
- CN202410049984.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-01-15
AI Technical Summary
Existing technology is difficult to accurately and quickly extract star image centroids in high-noise environments. Traditional algorithms are time-consuming and will destroy the energy distribution of star images during the denoising process, resulting in poor extraction accuracy. Star images may not be extracted under strong noise interference. .
The improved Faster R-CNN network is used for star image extraction. By designing the star image feature extraction backbone network, feature fusion device, region generation network and classification and regression network, star image regions are directly extracted roughly from the noisy star map, and pixel-based The screened grayscale centroid method is used for refined extraction to improve the accuracy of star image centroid coordinates.
It achieves rapid and accurate extraction of star image centroids in high-noise environments, reduces extraction time and missed detection rate, improves anti-noise performance, and provides high-precision attitude measurement support for star sensors.
Smart Images

Figure CN117853582B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of star sensor attitude measurement, and in particular to a fast star image extraction method for a star sensor based on an improved Faster R-CNN. Background Art
[0002] Star sensors provide spacecraft with attitude information with arc-second accuracy by detecting stars at different positions on the celestial sphere. They are considered to be one of the most accurate attitude sensors and are currently the most widely used attitude measurement equipment in the aerospace field. The main processes of star sensor attitude measurement include star imaging, star image extraction, star map recognition and attitude estimation. Star image extraction is to obtain star maps by processing the camera's photos of the starry sky and determine the positions of star images in the star map coordinate system. The accuracy of star image extraction directly affects the success or failure of star map recognition and the quality of attitude measurement. At the same time, star image extraction is the most time-consuming part of the star sensor attitude measurement process.
[0003] Early studies on star sensors only considered the starry sky imaging environment with a high signal-to-noise ratio. Usually, the global threshold method was used for simple denoising to extract star images. With the diversification of spacecraft missions, the working environment of star sensors has become more and more complex, and the impact of noise has become more and more significant. It is difficult for traditional star image extraction algorithms to achieve satisfactory results. The noise interference of star sensors mainly comes from two parts: one is the ground light, moonlight, sunlight, etc. in the working environment. The photons entering the sensor pixels follow the Poisson distribution and can be regarded as Poisson noise; the other is the noise generated by the components themselves, which mainly includes photon shot noise, dark current noise, quantization noise, etc. Among them, photon shot noise has the greatest impact and cannot be eliminated. It can be regarded as Gaussian noise processing. Researchers have conducted in-depth research on star image extraction algorithms that resist noise interference, but traditional algorithms spend more time on denoising, and while reducing noise, they will destroy the energy distribution of the star image, resulting in poor accuracy in extracting the centroid of the star image. In addition, in the face of strong noise interference, there is still the problem that star images cannot be extracted. Therefore, there is still room for further improvement in the processing of high-resolution and strong-noise star images.
[0004] The way deep convolutional neural networks detect image targets actually simulates the process of human visual system identifying targets. In the star image of the star sensor interfered by noise, the star image target is more prominent than the noise, and the human eye can easily identify and locate the star image target from it. Inspired by this, the star image extraction algorithm proposed in the present invention is divided into two steps: the first step is to design an improved Faster R-CNN network that can process noisy star images, without image denoising, to reduce the energy loss of the star image centroid caused by denoising, and directly realize the rough extraction of the star image area, thereby greatly saving the star image extraction time and reducing the star image extraction missed detection rate; the second step is to design a star image centroid extraction algorithm based on pixel screening for the area where the star image obtained by the first step network is located for the star image fine extraction. Experiments show that the algorithm proposed in the present invention has strong anti-noise performance and high real-time performance, providing important technical support for the star sensor to achieve high-precision attitude measurement in a high-noise environment. Summary of the invention
[0005] In view of the problems existing in the prior art, a fast star image extraction method of a star sensor based on an improved Faster R-CNN is provided, which can extract the area where the star image target is located in a star map interfered by strong noise. The grayscale centroid method based on pixel screening is used to improve the accuracy of the centroid coordinates of the star image.
[0006] The purpose of the present invention is achieved through the following technical solutions.
[0007] A fast star image extraction method for a star sensor based on an improved Faster R-CNN comprises the following steps:
[0008] (1) Construct an improved Faster R-CNN network, whose structure includes a star image feature extraction backbone network, a feature fusion network, a region generation network, and a classification and regression network;
[0009] (2) Split the noise-contaminated star map of size 64k×64k into four sub-star maps of size 32k×32k, and send the four sub-star maps to the star image feature extraction backbone network;
[0010] (3) The sub-star map with a size of 32k×32k and a channel number of 1 is used as input. After passing through the first layer of a two-dimensional convolutional layer with a stride of 2, a convolution kernel size of 3×3, and an activation function of ReLU, the feature matrix F1 with a size of 16k×16k and a channel number of 8 is output;
[0011] (4) The feature matrix F1 in step (3) is fed into the first star image residual structure (Star block) to obtain a feature matrix F2 with an output size of 16k×16k and 8 channels;
[0012] (5) The feature matrix F2 in step (4) is fed into the second star image residual structure (Star block) to obtain a feature matrix F3 with an output size of 8k×8k and 8 channels;
[0013] (6) The feature matrix F3 in step (5) is sent to the third star image residual structure (Star block) to obtain a feature matrix F4 with an output size of 4k×4k and 8 channels;
[0014] (7) The feature matrix F4 in step (6) is fed into the fourth star image residual structure (Star block) to obtain a feature matrix F5 with an output size of 2k×2k and a channel number of 8;
[0015] (8) The feature matrix F5 in step (7) is fed into the fifth star image residual structure (Star block) to obtain a feature matrix F6 with an output size of k×k and a channel number of 16;
[0016] (9) The feature matrix F6 in step (8) is fed into a two-dimensional convolutional layer with a stride of 1, a convolution kernel size of 1×1, and an activation function of ReLU, and the output is a feature matrix F7 with a size of k×k and 64 channels;
[0017] (10) Perform feature fusion on the obtained feature matrix, perform upsampling operation on F7 obtained in step (9) and F5 obtained in step (7) to obtain F7' and F5' of the same size as F2 in step (4), and superimpose pixels of F7', F5' and F2 respectively to obtain F7", F5", and then superimpose pixels of F7", F5" again to obtain the final prediction feature matrix P;
[0018] (11) Send the feature matrix P into the region generation network to obtain a series of candidate boxes of star image targets;
[0019] (12) After the classification and regression network, the predicted coordinate data is output, that is, the area where the star image in the sub-star map is located;
[0020] (13) The predicted coordinate data is transformed to obtain the coordinates of the area range of the star image in the original image. The four sub-star images processed in parallel all belong to the same star image. The horizontal and vertical coordinates of the star image area in the first sub-image remain unchanged; the horizontal coordinate of the second sub-image is added to the size of the sub-star image, and the vertical coordinate remains unchanged; the vertical coordinate of the third sub-image is added to the size of the sub-star image, and the horizontal coordinate remains unchanged; the horizontal and vertical coordinates of the fourth sub-star image are added to the size of the sub-star image, and the coordinates of the area range of the star image in the original image are obtained;
[0021] (14) Outputting the image of the star image region in the original image;
[0022] (15) The centroid coordinates of the star image are obtained using the grayscale centroid method based on pixel screening.
[0023] The star image feature extraction backbone network has a total of 7 convolutional layers, of which 5 convolutional layers are composed of star image residual structures (Star block) and 2 convolutional layers are composed of two-dimensional convolution. The star image residual structure (Star block) is composed of a convolutional dimension up layer (Conv Up Dimension), a channel-by-channel convolution layer (Depthwise Conv), an attention mechanism layer (Attention) and a convolutional dimension down layer (Conv Down Dimension). The feature matrix is first dimensioned by n 1×1 convolution kernels, and then channel-by-channel convolution is performed with n 3×3 convolution kernels. Then, the channel attention mechanism and the spatial attention mechanism are used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, m 1×1 convolution kernels are used to reduce the dimension, and the structure uses the ReLU activation function. The values of n and m are hyperparameters and can be adjusted according to actual conditions. The star image feature extraction backbone network is used to accurately extract the features of star images in star maps.
[0024] The feature fusion device includes an upsampling operation and a pixel superposition operation. The upsampling operation increases the low-resolution feature matrix to a high-resolution one by using the nearest neighbor method, so that the sizes of the feature matrices of two different resolutions are restored to be consistent, and the corresponding pixel superposition operation is performed on the feature matrices of the same size. The feature fusion device is used to increase the amount of context information contained in the feature matrix.
[0025] The method for fast star image extraction of star sensors based on improved Faster R-CNN is characterized in that the region generation network RPN uses anchor frames of three sizes [8, 8], [10, 10], [12, 12] with an aspect ratio of 1:1 to perform convolution operations on the feature matrix to obtain the probability that each anchor frame contains the foreground or background and the corresponding position offset. These results are used to generate a series of candidate frames for subsequent classification and regression networks. The region generation network RPN is used to screen the target area and output the candidate target area (ROI) and the corresponding predicted position.
[0026] The method for fast star image extraction of a star sensor based on an improved Faster R-CNN is characterized in that the classification and regression network includes ROI Pooling, CLS and BOX. The function of the ROI Pooling network is to pool the features of the predicted region calculated by the regional generation network RPN to a fixed dimension to meet the feature dimension requirements of the subsequent network. The functions of the CLS and BOX are mainly based on the screening results of the regional generation network RPN, and the fully connected layer FCL (Full Connected Layer) is used to classify the candidate region ROI in the feature matrix, and at the same time more accurately calculate the position of the star image target, and output the classification probability and predicted position of the star image target.
[0027] The steps of the grayscale centroid method based on pixel screening are as follows:
[0028] (1) Set the center of the star image area ( ) is the initial coordinate;
[0029] (2) The initial coordinates ( ) The gray value of the pixel Set as comparison threshold;
[0030] (3) Pixel comparison: compare the gray value of each pixel with the initial coordinates ( ) The gray value of the pixel Contrast, gray value is greater than The pixels are retained;
[0031] (4) Obtain a set of filtered pixels and use them in the grayscale centroid algorithm. The calculation formula of the grayscale centroid method is as follows:
[0032] ,
[0033] ,
[0034] in, and are the center of mass of the object in the image. and coordinate, and are the coordinates of each pixel in the image, is the grayscale value of the pixel.
[0035] Compared with the prior art, the advantages of the present invention are: the improved Faster R-CNN star image extraction network provided by the present invention can extract the area where the star image target is located in the star map full of noise pollution; and provide a grayscale centroid method based on pixel screening to improve the accuracy of the star image centroid coordinates. The present invention can directly and quickly extract the star image centroid coordinates from the star map affected by strong noise interference. The present invention can solve the technical problem that the prior art cannot accurately and quickly extract the star image centroid from the star map affected by strong noise interference. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flowchart for fast star image extraction based on the improved Faster R-CNN.
[0037] Figure 2 Schematic diagram of the star image residual structure (Star block).
[0038] Figure 3 Schematic diagram of the star image extraction network to improve Faster R-CNN.
[0039] Figure 4 Example of a noise-contaminated star map.
[0040] Figure 5 The sub-star after segmentation in the embodiment Figure 1 .
[0041] Figure 6 The sub-star after segmentation in the embodiment Figure 2 .
[0042] Figure 7 The sub-star after segmentation in the embodiment Figure 3 .
[0043] Figure 8 The sub-star after segmentation in the embodiment Figure 4 .
[0044] Fig. 9 For example, the star image extraction network based on the improved Faster R-CNN processes sub-stars Figure 1 Output the result.
[0045] Fig.10 For example, the star image extraction network based on the improved Faster R-CNN processes sub-stars Figure 2 Output the result.
[0046] Fig.11 For example, the star image extraction network based on the improved Faster R-CNN processes sub-stars Figure 3 Output the result.
[0047] Fig.12For example, the star image extraction network based on the improved Faster R-CNN processes sub-stars Figure 4 Output the result.
[0048] Fig.13 Schematic diagram of the area where the star image is located in the embodiment.
[0049] Fig.14 Schematic diagram of star image pixels after pixel screening according to an embodiment.
[0050] Fig.15 This is the horizontal coordinate error diagram of the star map centroid extraction in the embodiment.
[0051] Fig.16 This is the vertical coordinate error diagram of the star map centroid extraction in the embodiment. Implementation
[0052] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments. Example
[0053] Figure 1 The implementation process of a method for fast centroid extraction of star images based on an improved Faster R-CNN provided by an embodiment of the present invention is shown, and is described in detail as follows:
[0054] The noise star map that needs to be extracted in the embodiment is as follows: Figure 4 As shown, Figure 5 , Figure 6 , Figure 7 , Figure 8 Represents a star image sub-image.
[0055] (1) Construct an improved Faster R-CNN network, whose structure includes a star image feature extraction backbone network, a feature fusion network, a region generation network, and a classification and regression network.
[0056] (2) The noise-contaminated star map of size 1024×1024 is divided into four sub-star maps of size 512×512, and the four sub-star maps are sent to the star image feature extraction backbone network.
[0057] (3) The grayscale noise star image with a size of 512×512 and a channel number of 1 is used as input. After the first layer of two-dimensional convolution with a stride of 2 and an activation function of ReLU, the feature matrix F1 with a size of 256×256 and a channel number of 8 is output.
[0058] (4) The feature matrix F1 in step 3 is sent to the first star image residual structure. It is first dimensionalized by 24 1×1 convolution kernels, then convolved by 24 3×3 convolution kernels, and then the attention mechanism is used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, 8 1×1 convolution kernels are used to reduce the dimension and the number of channels. The activation function is the ReLU function, and the output is a feature matrix F2 with a size of 256×256 and a number of channels of 8.
[0059] (5) The feature matrix F2 in step 4 is sent to the second star image residual structure. It is first dimensionalized by 24 1×1 convolution kernels to increase the number of channels, and then convolved by 24 3×3 convolution kernels. Then, the attention mechanism is used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, 8 1×1 convolution kernels are used to reduce the dimension and the number of channels. The activation function is the ReLU function, and the output is a feature matrix F3 with a size of 128×128 and a number of channels of 8.
[0060] (6) The feature matrix F3 in step 5 is sent to the third star image residual structure. It is first upgraded by 24 1×1 convolution kernels to increase the number of channels, and then convolved by 24 3×3 convolution kernels. Then, the attention mechanism is used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, 8 1×1 convolution kernels are used to reduce the dimension and the number of channels. The activation function is the ReLU function, and the output is a feature matrix F4 with a size of 64×64 and 8 channels.
[0061] (7) The feature matrix F4 in step 6 is sent to the fourth star image residual structure. It is first upgraded by 24 1×1 convolution kernels to increase the number of channels, and then convolved by 24 3×3 convolution kernels. Then, the attention mechanism is used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, 8 1×1 convolution kernels are used to reduce the dimension and the number of channels. The activation function is the ReLU function, and the output is a feature matrix F5 with a size of 32×32 and a number of channels of 8.
[0062] (8) The feature matrix F5 in step 7 is sent to the fifth star image residual structure. It is first upgraded by 48 1×1 convolution kernels to increase the number of channels, and then convolved by 48 3×3 convolution kernels. Then, the attention mechanism is used to assign higher weights to the star image area in the feature matrix and lower weights to the background. Finally, 16 1×1 convolution kernels are used to reduce the dimension and the number of channels. The activation function is the ReLU function, and the output is a feature matrix F6 with a size of 16×16 and 16 channels.
[0063] (9) Finally, F6 in step 8 is passed through a two-dimensional convolution layer consisting of 64 convolution kernels to obtain an output feature matrix F7 with a size of 16×16 and 64 channels.
[0064] (10) The feature matrix obtained in the star image feature extraction backbone network is fused, F7 and F5 are upsampled to obtain F7' and F5' of the same size as F2, and F7', F5' and F2 are superimposed pixel by pixel to obtain F7", F5", and then F7" and F5" are superimposed pixel by pixel again to obtain the final prediction feature matrix P.
[0065] (11) The feature matrix P is sent to the region generation network of the improved Faster R-CNN to obtain a series of candidate boxes for star image targets.
[0066] In order to further illustrate the calculation process, the present invention uses the satellite Figure 8 The star image centroid extraction process is used as an example for illustration. The other star image centroid extraction steps are the same. The process includes the following steps:
[0067] (1) After classification and regression network, the predicted coordinate data is output, i.e., the sub-star Figure 8 The area where the central star image is located, (x1, y1) is the coordinate of the upper left corner of the prediction area, and (x2, y2) is the coordinate of the lower right corner of the prediction area.
[0068] (2) The predicted coordinate data is transformed. The four sub-star maps processed in parallel all belong to the same star map. The coordinates obtained by the first sub-map remain unchanged. The horizontal coordinate of the second sub-map is added by 512 (the sub-star map size is 512×512), the vertical coordinate of the third sub-map is added by 512, and the horizontal and vertical coordinates of the fourth sub-map are both added by 512. The area range of the sub-map coordinates in the original image can be obtained and projected into the original image.
[0069] (3) Output the image of the star image area in the original image contaminated by noise, such as Fig.13 As shown, the pixel size is 15×15 (select sub-star Figure 8 The processing process of one star image area is described in detail, and the processing steps of other star image areas are the same.
[0070] (4) Use the grayscale centroid method based on pixel screening to obtain the centroid coordinates of the star image. First, set Fig.13 Center of the star image area is the initial coordinate; the initial coordinate Grayscale value of the pixel Set as the threshold; compare the gray value of each pixel in the area with the initial coordinates one by one Grayscale value of the pixel Contrast, gray value is greater than The pixels are retained to obtain a filtered pixel set, and the pixels are used for the grayscale centroid algorithm, such as Fig.14 For each retained pixel, and Add to the corresponding sum variable, and divide the sum variable by the sum of the grayscale values of all pixels Get the centroid of the star image coordinate and coordinate , that is, the coordinates of the centroid of the star image are obtained, and the coordinates of the centroid of the star image in the original image are obtained by adding the position after coordinate transformation (817.671, 637.044). According to the above steps, the coordinates of the centroid of all star images are calculated.
[0071] The present invention can extract all the star image coordinates with a small error compared to the accurate star image coordinates. Fig.10 and Fig.11 As shown, the horizontal coordinate error and the column coordinate error are about 0.03 pixels, and the distance error between the centroid position and the standard centroid position is 0.04 pixels.
Claims
1. A fast star image extraction method for star sensors based on improved Faster R-CNN, characterized in that: The following steps are involved: S11. Construct an improved Faster R-CNN network, whose structure includes a star image feature extraction backbone network, a feature fusion network, a region generation network, and a classification and regression network; S12. split the noise-contaminated star map of 64k×64k size into four sub-star maps of 32k×32k size, and send the four sub-star maps to the star image feature extraction backbone network; S13. Take each sub-star image with a size of 32k×32k and a channel number of 1 as input, and pass it through a two-dimensional convolution layer with a stride of 2, a convolution kernel size of 3×3, and an activation function of ReLU, and output a feature matrix F1 with a size of 16k×16k and a channel number of 8; S14. Send the feature matrix F1 in step S13 to the first star image residual structure to obtain a feature matrix F2 with an output size of 16k×16k and a channel number of 8; S15. Send the feature matrix F2 in step S14 to the second star image residual structure to obtain a feature matrix F3 with an output size of 8k×8k and a channel number of 8; S16. Send the feature matrix F3 in step S15 to the third star image residual structure to obtain a feature matrix F4 with an output size of 4k×4k and a channel number of 8; S17. Send the feature matrix F4 in step S16 to the fourth star image residual structure to obtain a feature matrix F5 with an output size of 2k×2k and a channel number of 8; S18. Send the feature matrix F5 in step S17 to the fifth star image residual structure to obtain a feature matrix F6 with a size of k×k and a number of channels of 16; S19. The feature matrix F6 in step S18 is fed into a two-dimensional convolutional layer with a stride of 1, a convolution kernel size of 1×1, and an activation function of ReLU, and an output feature matrix F7 with a size of k×k and a number of channels of 64 is obtained; S110. The obtained feature matrix is subjected to feature fusion, and F7 obtained in step S19 is subjected to upsampling operation with F5 obtained in step S17 to obtain F7' and F5' of the same size as F2 in step S14, and F7', F5' and F2 are respectively superimposed pixel by pixel to obtain F7", F5", and then F7" and F5" are superimposed pixel by pixel to obtain the final prediction feature matrix P; S111. Send the feature matrix P into the region generation network to obtain a series of candidate frames of star image targets; S112. After the classification and regression network, the predicted coordinate data is output, that is, the area range of the star image in the sub-star map; S113. Transform the predicted coordinate data to obtain the coordinates of the area range of the star image in the original image. The four sub-star images processed in parallel all belong to the same star image. The horizontal and vertical coordinates of the star image area in the first sub-image remain unchanged. The horizontal coordinate of the second sub-image is added to the size of the sub-star image, and the vertical coordinate remains unchanged. The vertical coordinate of the third sub-image is added with the size of the sub-star image, and the horizontal coordinate remains unchanged; the vertical and horizontal coordinates of the fourth sub-star image are added with the size of the sub-star image to obtain the coordinates of the area range of the star image in the original image; S114. Outputting the star image region image in the original image; S115. Use the grayscale centroid method based on pixel screening to obtain the centroid coordinates of the star image.
2. The method for fast star image extraction based on a star sensor using an improved Faster R-CNN according to claim 1, characterized in that: The star image feature extraction backbone network has a total of 7 convolutional layers, of which 5 convolutional layers are composed of star image residual structures and 2 convolutional layers are composed of two-dimensional convolutions; the star image residual structure is composed of a convolution dimension increase layer, a channel-by-channel convolution layer, an attention mechanism layer and a convolution dimension reduction layer, the feature matrix is first dimensionally increased by n 1×1 convolution kernels, and then channel-by-channel convolution is performed with n 3×3 convolution kernels, and then a channel attention mechanism and a spatial attention mechanism are used to assign a higher weight to the star image area in the feature matrix and a lower weight to the background, and finally m 1×1 convolution kernels are used for dimension reduction, and the structure uses a ReLU activation function; the values of n and m are hyperparameters and can be adjusted according to actual conditions; the star image feature extraction backbone network is used to accurately extract the features of star images in the star map.
3. The method for fast star image extraction of a star sensor based on an improved Faster R-CNN according to claim 1, characterized in that: The feature fusion device includes an upsampling operation and a pixel superposition operation. The upsampling operation increases the low-resolution feature matrix to a high-resolution one through the nearest neighbor method, so that the sizes of two feature matrices with different resolutions are restored to be consistent, and corresponding pixel superposition operations are performed on feature matrices of the same size. The feature fusion device is used to increase the amount of context information contained in the feature matrix.
4. The method for fast star image extraction based on improved Faster R-CNN of claim 1, characterized in that: The region generation network uses anchor frames of three sizes [8, 8], [10, 10], [12, 12] and an aspect ratio of [1:1] to perform convolution operations on the feature matrix to obtain the probability that each anchor frame contains the foreground or background and the corresponding position offset. These results are used to generate a series of candidate frames for subsequent classification and regression networks; the region generation network is used to screen the target area and output the candidate target area and the corresponding predicted position.
5. The method for fast star image extraction of a star sensor based on an improved Faster R-CNN according to claim 1, characterized in that: The classification and regression network includes region of interest pooling, classification and bounding box regression; the function of the region of interest pooling is to pool the features of the predicted area calculated by the region generation network to a fixed dimension to meet the feature dimension requirements of the subsequent network; the function of the classification and bounding box regression is to classify the candidate areas in the feature matrix based on the screening results of the region generation network using a fully connected layer, and at the same time more accurately calculate the position of the star image target, and output the classification probability and predicted position of the star image target.
6. The method for fast star image extraction of a star sensor based on an improved Faster R-CNN according to claim 1, characterized in that: The steps of the grayscale centroid method based on pixel screening are as follows: S61. Set the center of the star image area (x i ,y i ) is the initial coordinate; S62. Set the initial coordinate (x i ,y i ) The gray value of the pixel G i Set as comparison threshold; S63. Pixel comparison, compare the gray value of each pixel with the initial coordinate (x i ,y i ) The gray value of the pixel G i In contrast, the gray value is greater than G i The pixels are retained; S64. Obtain the filtered pixel set, and use the pixel points for the grayscale centroid algorithm. The calculation formula of the grayscale centroid method is as follows: Among them, X c and Y c are the X and Y coordinates of the object's center of mass in the image, X and Y are the coordinates of each pixel in the image, and I is the grayscale value of the pixel.
Citation Information
Patent Citations
Method for extracting star images from star chart
CN102903105A
Real-time star image coordinate extraction method of star sensor with multi-output image sensor
CN103983264A
Star image coordinate extraction method adopting row and column clustering parallel
CN112348053A
Star point extraction method based on attitude information
CN115655263A
Rapid star point extraction method based on gray level distribution histogram
CN115717887A
