Ground-based star map processing method based on gaussian process regression and hartley transform
By accelerating the calculation of Gaussian process regression (GPR) through sliding window and discrete Hartley transform, the problems of high computational cost and artifacts in star image processing are solved, achieving fast and accurate star image denoising and segmentation, and improving the efficiency of space target recognition and astronomical navigation.
Patent Information
- Application Number
- CN202611444315.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-24
AI Technical Summary
Existing star map processing methods based on Gaussian process regression (GPR) are computationally intensive and difficult to process quickly when dealing with large batches of high-precision star maps. They also suffer from sub-map edge artifacts and cannot effectively remove Gaussian background noise and stray light, which affects the performance of space target recognition and detection.
We employ a sliding window method and discrete Hartley transform, combined with fast Hartley transform to accelerate the calculation of Gaussian process regression (GPR). By establishing the foreground and background estimation matrices of the star map, we use Hartley transform and differential operators to process the star map, performing fast denoising and star point segmentation, and suppressing artifacts and residual star points.
It achieves fast and accurate star map denoising and star point segmentation, effectively handles Gaussian background noise and stray light, improves the performance of space target recognition and optical astronomical navigation, and reduces navigation latency and the computational burden of target detection.
Smart Images

Figure CN123160376A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer vision image recognition technology, specifically to a ground-based star map processing method based on Gaussian process regression and Hartley transform. Background Technology
[0002] The star map preprocessing method based on Gaussian process regression (GPR) utilizes GPR to estimate and differiate the foreground and background of the star map, resulting in a denoised star map. This type of method effectively suppresses complex background noise in star maps. Its key idea is to use GPR to estimate the foreground and background of the star map. Existing GPR-based star map foreground and background estimation principles work by estimating the foreground and background based on the correlation between pixels in the image and by setting different hyperparameters. Current implementations of this method first calculate the foreground and background estimation matrices according to a kernel function, then divide the obtained star map into small sub-images. The foreground and background estimation matrices are then multiplied by the foreground and background estimation matrices on the left, yielding the foreground and background estimates for each sub-image. Finally, the sub-images are combined into a larger image. However, because existing methods use a fixed segmentation method to divide the sub-images, artifacts can occur. Furthermore, the computationally intensive nature of Gaussian Process Regression (GPR) makes it difficult for existing methods to quickly process large amounts of star image data when using GPR-based star image processing methods. For example, ground-based telescope observations often yield a large number of high-resolution star images with stray light interference, but traditional filtering methods struggle to handle complex backgrounds such as stray light. Moreover, existing GPR-based star image preprocessing methods are computationally too demanding, hindering the rapid processing of large batches of high-precision star images and impacting the method's performance in space target recognition and detection.
[0003] The Discrete Hartley Transform (DHT) is a signal processing method that maps the original signal to the Hartley domain through a Hartley transform. It then uses simple computations in the Hartley domain to perform equivalent complex computations in the time domain, such as integration and differentiation. The Hartley Transform only involves computations in the real number domain, requiring little memory and offering fast computation speed. The Fast Hartley Transform (FHT) is a fast computational algorithm for the Discrete Hartley Transform (DHT).
[0004] This invention, when conducting astronomical observations on the Earth's surface, replaces the fixed segmentation method with a sliding sub-image selection method: For any pixel in the image, a matrix window centered on that pixel is selected. This matrix window serves as the sampling region for Gaussian Process Regression (GPR). Using GPR, the foreground and background values at that pixel are estimated based on this sampling region. By sliding this matrix window through all pixels in the image, foreground and background estimates are obtained, further denoising is achieved. Since the sampling region selected during pixel estimation is always centered on the pixel being estimated, there is no situation where the pixel being estimated is exactly at the edge of the sub-image. Therefore, this invention solves the sub-image edge artifact problem present in existing solutions.
[0005] To address the problems of existing star map processing methods based on Gaussian Process Regression (GPR), this invention, based on the aforementioned sliding subgraph selection method, further introduces a frequency domain method, combining Hartley transform with GPR. By leveraging the mature Fast Hartley transform method, the computation speed of GPR is accelerated, alleviating the computational burden of traditional GPR-based star map processing methods. This enables the rapid processing of large numbers of high-precision star maps, enhancing the application of this method in fields such as space target recognition. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention aims to provide a ground-based star map processing method based on Gaussian process regression and Hartley transform. This method processes star map data by establishing a star map foreground estimation matrix, a star map background estimation matrix, and Gaussian process regression hyperparameters to remove interference noise. Using a sliding window method and discrete Hartley transform, it automatically performs fast star map denoising and star / background segmentation, along with rapid computation of the Gaussian process regression star map processing algorithm. This effectively processes Gaussian background noise and stray light in star maps, yielding denoised images and star masks, which are better suited for optical astronomical navigation or space target detection.
[0007] Specifically, on the one hand, the present invention provides a ground-based star map processing method based on Gaussian process regression and Hartley transform, which includes the following steps: S1: Create the star map foreground estimation matrix And star map background estimation matrix Perform a Hartley transform and output the star map foreground estimation matrix and discrete Hartley transform parameters. And star map background estimation matrix Discrete Hartley transform parameters ; S2: Obtain the star map to be processed A star point mask is obtained through thresholding, and the centroid coordinates of the star points in the star map are calculated. Based on the output of S1, a discrete Hartley transform of the star map foreground estimation matrix is obtained by replacing linear convolution with circular convolution. ;Discrete Hartley transform results of the foreground estimation matrix of the traversal star map Perform an inverse Hartley transform to obtain the star map foreground estimation map. The discrete Hartley transform result of the star map background estimation matrix is obtained. And star map background estimation map ; S3: Star map foreground estimation obtained from S2 And star map background estimation map The gradients in the horizontal and vertical directions are obtained using differential operators. Thresholding is performed to obtain the star map artifact mask. The star points indicated by the halo mask are clipped to suppress star map background artifacts; the remaining star points are also clipped to obtain the star map background after artifact suppression and removal of remaining star points. ; S4: Obtain the star map foreground estimation from S2 And star map background estimation in S3 Differential analysis yields a star map with Gaussian and non-uniform noise removed. Set the first threshold. Second threshold Binarization is performed to obtain the first star point mask. Second star point mask ; for the second star point mask Morphological operations are performed to obtain the second star-shaped morphological mask. To form a star map star point mask The star map image reconstruction results are obtained.
[0008] Preferably, S1 specifically comprises: S11: Obtain the kernel function Star map size Sampling area size According to the kernel function Creating a star map foreground estimation matrix using Gaussian process regression hyperparameters And star map background estimation matrix ; S12: Estimation matrix for the star map foreground And star map background estimation matrix Perform Hartley transform; output the star map foreground estimation matrix and discrete Hartley transform parameters. And star map background estimation matrix Discrete Hartley transform parameters .
[0009] Preferably, S2 specifically comprises: S21: Obtain the star map to be processed A star point mask is obtained through thresholding, and the star point mask and the denoising result are used to calculate the centroid coordinates of the star points in the star map. S22: Obtain the star map to be processed Using circular convolution instead of linear convolution yields the discrete Hartley transform result of the star map foreground estimation matrix. The discrete Hartley transform result of the star map background estimation matrix is obtained. ; S23: Discrete Hartley Transform Results of the Foreground Estimation Matrix for Traversal Star Chart The discrete Hartley transform parameter sequence of each row Divided into Perform an inverse Hartley transform on the foreground of the star map to obtain an estimated foreground image. The star map background estimation map is obtained. .
[0010] Preferably, in S22, circular convolution is used instead of linear convolution to obtain the discrete Hartley transform result of the star map foreground estimation matrix. Specifically: ; in, The result of the discrete Hartley transformation of the star map foreground estimation matrix; The result of the discrete Hartley transformation of the star map estimation matrix; The column numbers are the foreground estimation matrix numbers for the star map. The altitude of the star chart; The row number is the foreground estimation matrix of the star map. For element-wise multiplication; Discretize the Hartley transform parameters of the star map foreground estimation matrix; Discrete Hartley transform parameters for the star map background estimation matrix; This represents the width of the star map.
[0011] Preferably, the star map foreground estimation matrix in S22 is a discrete Hartley transform result. Discrete Hartley Transform Results of Star Map Background Estimation Matrix It can also be determined using radial basis kernel functions, specifically: ; ; ; in, The result of discrete Hartley transformation of the star map background estimation matrix.
[0012] Preferably, in step S23, an inverse Hartley transform is performed on the foreground of the star map, specifically as follows: ; in, for The discrete Hartley inverse transform sequence; for The discrete Hartley inverse transform sequence; for The discrete Hartley inverse transform sequence; The star map element number; For modulo operation; It is a sine function; The discrete Hartley transform parameter sequence; This is the first butterfly transform sequence extracted according to frequency. This is the second butterfly transform sequence extracted according to frequency; This is the parameter for pi.
[0013] Preferably, S3 specifically comprises: S31: Suppress star map background artifacts; use differential operators to calculate the estimated star map background. Gradients; processing star map foreground estimation maps separately. And star map background estimation map This yields the gradients along the horizontal and vertical axes. Take the absolute value and perform thresholding to obtain the star map artifact mask. The star points indicated by the halo mask are limited to suppress artifacts; S32: Suppress residual star points; appropriately limit the residual star points to prevent holes in the center of star points in the differential star map image, resulting in a star map background after suppressing artifacts and residual star points. .
[0014] Preferably, the gradients in the horizontal and vertical directions of S31 Specifically: ; ; in, This is a gradient star diagram along the horizontal axis. This is a gradient star diagram along the vertical axis. This is a two-dimensional convolution operation; For the Sobel operator in the horizontal direction; For the Sobel operator along the vertical axis; This is the matrix for estimating the background of the star map.
[0015] Preferably, S4 specifically comprises: S41: Foreground estimation based on star map And star map background estimation The star map foreground estimation map and the star map background estimation map are subtracted to obtain a star map with Gaussian noise and non-uniform noise removed. ; S42: Determine the star point mask; set the first threshold. For differential star map images Binarization is performed to obtain the first star-shaped mask. Set a second threshold. For differential star map images Binarization is performed to obtain the second star point mask. ; for the second star point mask Morphological operations are performed to obtain the second star-shaped morphological mask. Morphological operations are performed to construct star map star point masks. .
[0016] Preferably, the star map and star point mask in S42 for: ; ; ; in, For star map point masking; For the second star-shaped mask; Use the first star point mask; The first threshold; This is a conditional function; For the second star point mask; This is the second threshold.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention can process star map data based on input star map data, establish star map foreground estimation matrix, star map background estimation matrix and Gaussian process regression (GPR) hyperparameters, remove interference noise in star map, and has the advantages of fast, accurate, programmatic and reliable solution.
[0018] (2) This invention uses the sliding window method and Discrete Hartley Transform (DHT) to automatically complete fast star map denoising and star point and background segmentation with the help of computer programming, and to quickly solve the star map processing algorithm of Gaussian Process Regression (GPR), which provides convenience for the fast processing of the Gaussian Process Regression (GPR) method.
[0019] (3) The present invention can effectively process Gaussian background noise and stray light in star charts to obtain clear denoised images and accurate star point masks. It can be used for optical astronomical navigation or space target detection. In astronomical navigation, star chart preprocessing is performed quickly to segment the required navigation stars and reduce navigation delay. In space target detection, star chart processing is completed quickly to capture moving targets and obtain star point masks and denoised images. Gray-scale centroid positioning is performed with the help of masks and denoised images. The photometric change period of the target is calculated in real time to obtain the real-time rotational motion of the target. Attached Figure Description
[0020] Figure 1 This is a control block diagram of the ground-based star map processing method based on Gaussian process regression and Hartley transform of the present invention; Figure 2 This is a flowchart of the Gaussian process regression (GPR) method and the ground-based star map processing method of Hartley transform in the embodiments of the present invention; Figure 3 This is a schematic diagram of the star map, sampling area, and pixels in the sampling area in an embodiment of the present invention; Figure 4 This is a flow graph of the radix-2 Fast Hartley Transform (FHT) butterfly transform signal extracted by frequency in an embodiment of the present invention; Figure 5 This is a schematic diagram of the star map and the Fast Hartley Transform (FHT) row sequence extracted by time in an embodiment of the present invention. Figure 6 This is a time-decimated radix-2 Fast Hartley Transform (FHT) butterfly transform signal flow graph in an embodiment of the present invention; Figure 7 This is a diagram of the human-computer interaction interface for the ground-based star map processing method using Gaussian process regression and Hartley transform in an embodiment of the present invention. Figure 8 This is an example star map original image from an embodiment of the present invention; Figure 9 The diagram shows the result of a conventional fixed segmentation method in an embodiment of the present invention. Figure 10 This is a diagram illustrating the processing effect of the present invention in an embodiment of the invention; Figure 11 This is a graph showing the initialization time and calculation speed results in an embodiment of the present invention; Figure 12 This is a graph showing the average preprocessing time and calculation speed results in an embodiment of the present invention; Figure 13 The graph shows the average total time and calculation speed results in the embodiments of the present invention. Detailed Implementation
[0021] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0022] This invention proposes a ground-based star map processing method based on Gaussian process regression and Hartley transform, such as... Figure 1 As shown, a Hartley transform is performed on the estimation matrices of the star map foreground and background; the star map to be processed is input, and the star map foreground and background are processed in the Hartley domain; star map background estimation processing is performed; the star map image processing result is obtained for astronomical navigation; the main flow of the technical solution in this embodiment of the invention is as follows: Figure 2 As shown, the process mainly consists of the following four steps: creating the star map foreground and background estimation matrices, calculating the star map foreground and background, post-processing the star map background, and calculating the star point mask. The denoised star map is then binarized to obtain the star point mask. The star point mask and denoised image can be used for centroid localization of star points, which plays a crucial role in the identification and observation of space targets and astronomical navigation. The specific implementation plan is described below in four steps, S1 to S4. S1 is the preparatory work before processing; if the star map shooting conditions have not changed, it only needs to be performed once before processing the star map. S2 to S4 are performed cyclically to process multiple star maps. Specifically, the following steps are included: S1: Perform a Hartley transformation on the estimated matrices of the star map foreground and background.
[0023] S11: Create the star map foreground and background estimation matrices. The input variable is the kernel function. Star map size Sampling area size The output variable is the star map foreground estimation matrix. And star map background estimation matrix .
[0024] Before processing the star chart, the selected kernel function is first used. Calculating the star map foreground estimation matrix using Gaussian process regression (GPR) hyperparameters. And star map background estimation matrix Kernel function The kernel function must be of the radial basis type, meaning that the value of the kernel function depends only on the distance between the estimated point and the sampling point, so that the subsequent steps are valid.
[0025] The original size of the star map is [size missing]. The size of the sampling region matrix is The coordinates of the star map sampling points are The coordinates of the star map pixels to be estimated are: Based on the existing Gaussian process regression calculation formula, determine the star map foreground estimation matrix. And star map background estimation matrix for: ; in, This is the foreground estimation matrix for the star map; Estimate the background matrix for the star map; The first covariance matrix of the star map foreground; The first covariance matrix of the star map background; This is the matrix transpose operator; The second covariance matrix of the star map foreground; The second covariance matrix of the star map background; The standard deviation of the noise in the foreground of the star chart; The standard deviation of the star map background noise; A unit square matrix; This is the matrix transpose symbol.
[0026] Appendix Figure 3 This is a schematic diagram of the star map, sampling area, and star map sampling points, showing the positional relationship between the star map, sampling area, and sampling points.
[0027] The four covariance matrices in the above formula The elements are denoted as follows: Specifically: ; in, These are elements of the second covariance matrix of the star map foreground; The elements of the second covariance matrix of the star map background; The first covariance matrix element of the star map foreground; The first covariance matrix element of the star map background; For kernel functions; Foreground hyperparameters of the star map; Hyperparameters for the star map background; For the first The coordinates of each pixel; For the first The coordinates of each pixel; The coordinates of the pixel to be estimated; The first index of the pixel, with a value range of ; The second index of the pixel, with a value range of... .
[0028] S12: Estimation matrix for the star map foreground And star map background estimation matrix Perform a Hartley transformation. The input variable is the star map foreground estimation matrix obtained in S11. And star map background estimation matrix The output variables are the star map foreground estimation matrix and the discrete Hartley transform parameters. And star map background estimation matrix Discrete Hartley transform parameters .
[0029] Traditional methods will estimate the foreground matrix from the star map. Star map background estimation matrix Multiplying the star map by the sub-images obtained from segmenting the large star map yields the star map foreground and background estimates. This method performs calculations entirely in the spatial domain, providing a more intuitive physical meaning, but it is computationally intensive. The maximum computational cost of the star map is In this embodiment of the invention, a frequency domain method is used to complete the subsequent star map foreground and background estimation through Hartley transform, which can reduce the computational load to [missing information]. .
[0030] Calculating Gaussian process regression (GPR) using Hartley transform first requires calculating the star map foreground estimation matrix. And star map background estimation matrix The discrete Hartley transform parameters are denoted as the star map foreground estimation matrix and the discrete Hartley transform parameters. And star map background estimation matrix Discrete Hartley transform parameters The following uses the star map foreground estimation matrix. For example, the discrete Hartley transform parameters of the star map foreground estimation matrix are described in detail. The calculation method, star map background estimation matrix, discrete Hartley transform parameters The calculation method is the same.
[0031] Take the foreground estimation matrix of the star map The middle column has a total of Each element rearranges the column elements into a star chart foreground estimation matrix column recombination matrix. The shape of the matrix is consistent with the size of the sampling region in S11, that is... During rearrangement, the order of elements should correspond to the order of the star map pixel coordinates in S11. Correspondingly, the column reconstructed matrix of the star map foreground estimation matrix is obtained. Next, the elements are filled into a matrix with the same shape as the estimated star map for calculating the discrete Hartley transform parameters; a matrix of size is created. Star chart foreground matrix Reorganize the star map foreground estimation matrix into columns. The elements in the matrix are filled into the star map foreground matrix according to the following rules. In the middle section: fill from the bottom right to the top left, fill from the bottom left to the top right, fill from the top right to the bottom left, and fill from the top left to the bottom right. The program execution code in this embodiment of the invention is as follows: Line 1: A_prime_f[0:n / 2,0:m / 2] = kernel_f[n / 2:n,m / 2:m]; Line 2: A_prime_f[-n / 2:end,0:m / 2] = kernel_f[0:n / 2,m / 2:m]; Line 3: A_prime_f[0:n / 2,-m / 2:end] = kernel_f[n / 2:n,0:m / 2]; Line 4: A_prime_f[-n / 2:end,-m / 2:end] = kernel_f[0:n / 2,0:m / 2].
[0032] Next, the star map foreground matrix The Fast Hartley Transform (FHT) with frequency decimation is used to obtain the star map foreground estimation matrix and discrete Hartley transform parameters. The Fast Hartley Transform (FHT) in this step uses either radix-2 or radix-4, but the radix of the FHT in subsequent steps must be the same as that in this step; it cannot be changed arbitrarily, otherwise the order of elements will be disordered. Note that this traversal process should use in-place computation to reduce memory usage. (Star chart foreground matrix) And star map foreground estimation matrix column reorganization matrix No calculations need to be retained. For example... Figure 4 The diagram shown is a radix-2 Fast Hartley Transform (FHT) butterfly transform signal flow graph extracted by frequency in an embodiment of the present invention. The key step of the Fast Hartley Transform (FHT) is the butterfly transform, specifically the radix-2 Fast Hartley Transform (FHT) butterfly transform extracted by frequency.
[0033] The following uses the radix-2 Fast Hartley Transform (FHT) with frequency decimation as an example to illustrate the discrete Hartley transform parameters of the foreground estimation matrix in a star graph. Detailed calculation method: First, traverse the foreground matrix of the star map. For each of the rows, let it be denoted as The two lengths are calculated according to the butterfly transformation shown in the following formula. sequence Specifically: ; in, This is the first star map butterfly transformation sequence extracted according to time. This is the second star map butterfly transformation sequence extracted according to time. The row sequence of the foreground matrix of the star map; The star map element number indicates the first... Each element has a value. ; This represents the width of the star map; It is a cosine function; It is a sine function; This is the parameter for pi.
[0034] like Figure 5 The diagram shown is a star map and a time-decimated Fast Hartley Transform (FHT) row sequence in an embodiment of the present invention; the first star map butterfly transform sequence obtained by the above formula... Second Star Chart Butterfly Transformation Sequence Recursively segment the sequence until the short sequence length is 4. Then, sequentially apply the Discrete Hartley Transform (DHT) to the short sequence to obtain the desired result. Discrete Hartley transform parameter sequence extracted by frequency Traverse all rows in the same way. After completing the traversal, traverse all columns in the same way. After completing the column traversal, you will obtain the discrete Hartley transform parameters of the star map foreground estimation matrix. .
[0035] Then calculate the star map background estimation matrix using the same method. The discrete Hartley transform parameters are used to obtain the star map background estimation matrix after the Hartley transform. .
[0036] S2: Input the star map to be processed, and process the foreground and background in the Hartley domain. Existing methods perform calculations entirely in the spatial domain, resulting in high computational cost and slow processing speed. This invention proposes a method for calculating the GPR in the Hartley domain, significantly reducing computational cost and improving computational efficiency. Therefore, it is necessary to first perform a Hartley transformation on the star map, transforming it to the Hartley domain for foreground and background estimation. After the estimation is completed, post-processing is performed to transform it back to the spatial domain, as shown in S3, to obtain the foreground and background estimates.
[0037] S21: Input star map; obtain star map to be processed. The star map size is Obtain the star map size as follows: The star map pixel coordinates and star map pixels are denoted as follows: The pixel values of the star map are recorded as By processing the pixel values of the star map, noise in the star map pixel values is suppressed, effective signals are retained, and a star point mask is obtained through thresholding. The star point mask and the denoising results are used to calculate the centroid coordinates of the star points in the star map.
[0038] S22: Determine the foreground and background of the star chart in the Hartley region. The input variable is the star chart to be processed obtained in S21. and star chart size Star map foreground estimation matrix Discrete Hartley transform parameters And star map background estimation matrix Discrete Hartley transform parameters The output variable is the star map foreground estimation matrix and the discrete Hartley transform result. Discrete Hartley Transform Results of Star Map Background Estimation Matrix .
[0039] The input star map to be processed The Fast Hartley Transform (FHT) based on frequency decimation yields the discrete Hartley transform results for the star map estimation matrix. The Fast Hartley Transform (FHT) is performed in either radix-2 or radix-4 form. Radix-2 and radix-4 refer to the computation method of FHT. The radix-2 FHT recursively divides a long sequence into shorter sequences for computation, with each recursion dividing the long sequence into two shorter sequences, hence the name radix-2. Similarly, the radix-4 FHT divides a long sequence into shorter sequences for computation, with each recursion dividing a long sequence into four shorter sequences, hence the name radix-4. A larger radix results in faster recursion and higher computational efficiency, but the complexity of the program increases rapidly with the radix, and the image size it can accommodate also decreases. Therefore, this invention only considers radix-2 and radix-4 cases. Note that the size of the radix selected in this case should be consistent with the size of the radix selected in S12, and the computation method is the same as in S12 using the star map foreground matrix. Determine the discrete Hartley transform parameters of the star map foreground estimation matrix. The method is the same.
[0040] Since the sliding sampling window is a matrix centered on any star map pixel, and because the radial basis function is constrained, the sliding window scheme can be equivalent to a convolution operation. Accelerating the convolution through the Hartley transform can speed up the calculation of Gaussian process regression (GPR). Existing methods for accelerating estimation using the Hartley transform involve discretizing the Hartley transform parameters of the star map foreground estimation matrix. Taking foreground estimation as an example, background estimation follows the same logic as the discrete Hartley transform result of the star map estimation matrix. To accelerate convolution operations using the existing Hartley transform, circular convolution is used instead of linear convolution to obtain the discrete Hartley transform result of the star map foreground estimation matrix. Satisfy the following formula: ; in, The result of the discrete Hartley transformation of the star map foreground estimation matrix; The result of the discrete Hartley transformation of the star map estimation matrix; The column numbers are the foreground estimation matrix numbers for the star map. The altitude of the star chart; The row number is the foreground estimation matrix of the star map. This is an element-wise product.
[0041] In this embodiment of the invention, since a radial basis kernel function is used, the discrete Hartley transform parameters of the star map foreground estimation matrix are... It has symmetry, therefore it has Therefore, the discrete Hartley transform results of the foreground estimation and background estimation matrices are... and It can be found in a simpler way, specifically: ; ; The above formula is an optimization of the formula mentioned above, based on the properties of the radial basis kernel function, making the formula significantly simpler.
[0042] S23: Perform an inverse Hartley transform on the star map foreground and background. Existing Hartley transform methods typically use the same transformation algorithm for both the forward and inverse transforms. Since the element order changes during the transformation, an element rearrangement step is required, increasing computational complexity. This invention proposes using a symmetrical Hartley transform algorithm for both the forward and inverse transforms; that is, the forward transform uses a frequency-based decimation algorithm, and the inverse transform uses a time-based decimation algorithm. Because these two methods are symmetrical, the elements are transformed back to their normal order after the forward and inverse transforms, eliminating the need for an element rearrangement step and simplifying the computation process. The input variable is the star map foreground estimation matrix, and the output variable is the discrete Hartley transform result. Discrete Hartley Transform Results of Star Map Background Estimation Matrix The output variable is the star map foreground estimation map. And star map background estimation map .
[0043] Discrete Hartley transform results of the star map foreground estimation matrix Discrete Hartley Transform Results of Star Map Background Estimation Matrix Perform a time-decimated Fast Hartley Transform (FHT) inverse transform. The time-decimated basis can be chosen as either basis 2 or basis 4, but it should be consistent with the basis in S12. Figure 6 This is a time-decimated radix-2 Fast Hartley Transform (FHT) butterfly transform signal flow graph in an embodiment of the present invention, representing the time-decimated Fast Hartley Transform (FHT) butterfly transform.
[0044] The calculation process is illustrated using the radix-2 Fast Hartley Transform (FHT) with time-decimation as an example: First, the star map foreground estimation matrix is traversed to discretize the Hartley Transform results. For any row of the discrete Hartley transform parameter sequence The discrete Hartley transform parameter sequence Divided into two short sequences Specifically: ; in, This is the first butterfly transform sequence extracted according to frequency. This is the second butterfly transform sequence extracted according to frequency; The row sequence of the discrete Hartley transform parameters of the star map foreground estimation matrix; the result of the discrete Hartley transform of the star map foreground estimation matrix. row sequence; In order to be in The row sequence of the discrete Hartley transform result of the star map foreground estimation matrix at the location; In order to be in The row sequence of the discrete Hartley transform result of the star map foreground estimation matrix at the location.
[0045] Let the discrete Hartley transform parameter sequence be... The inverse discrete Hartley transform is Calculate according to butterfly transformation Specifically: ; in, for The discrete Hartley inverse transform sequence; for The discrete Hartley inverse transform sequence; for Discrete Hartley inverse transform sequence; For modulo operation; It is a sine function.
[0046] and If the length is greater than 4, continue recursively; after completing the row traversal, traversing by the same column will traverse all columns, and the result of the traversal is the star map foreground estimation map. Discrete Hartley transform results for the background estimation map The inverse Discrete Hartley Transform (DHT) is calculated in the same manner to obtain the star map background estimation map. .
[0047] S3: Star map background estimation processing. Existing methods directly subtract the foreground and background of the star map to obtain the denoised star map. If there are residual stars in the background, it will affect the denoising effect. This invention improves upon this by processing the background, including amplitude limiting, to suppress residual stars in the background and prevent them from affecting the final denoised image, thus improving the denoising effect. The input variable is the estimated star map background. The input variable is the estimated star map background image after suppressing residual star points. .
[0048] S31: Suppress star map background artifacts. Use differential operators such as the Sobel operator and the Laplace operator to calculate the estimated star map background. The gradient. Taking the Sobel operator as an example, the Sobel operators in the horizontal and vertical directions are as follows: ; in, For the Sobel operator in the horizontal direction; is the Sobel operator in the vertical direction.
[0049] Process the star map foreground estimation map separately And star map background estimation map This yields the gradients along the horizontal and vertical axes. Specifically: ; ; in, This is a gradient star diagram along the horizontal axis. This is a gradient star diagram along the vertical axis. This is a two-dimensional convolution operation.
[0050] Gradient star map Take the absolute value and perform thresholding, the threshold of which should be specified according to the artifact intensity estimated from the background; thus obtaining the star map artifact mask. The star points indicated by the halo mask are clipped. The clipping value should be close to most pixel values of the star map background, such as the average value of the star map background, to suppress artifacts. The pseudocode for this process is as follows: gradient = differential(I_b); mask0 = threshold(abs(gradient), thresh); clip(I_b[mask0 == 1], 0, mag0); S32: Suppress residual star points. To suppress residual star points, appropriate clipping is applied to prevent holes in the center of star points in the differential star map image, resulting in a star map background after suppressing artifacts and residual star points. The pseudocode is: I_b' = clip(I_b, 0, mag1); S4: Obtain the processed star map image for astronomical navigation. The input variable is the denoised image. The output variable is the star mask. .
[0051] S41: Difference the estimated foreground and background of the star map to obtain a star map with Gaussian and non-uniform noise removed. The star map image, as one of the results of star map processing, is formulated as follows: ; in, This is a star map difference image; This is a foreground estimation plot for a star map; Estimation of the star map background.
[0052] S42: Determine the star point mask.
[0053] Set the first threshold This threshold means that pixels above this threshold are considered star points. The threshold should be selected by the user through testing, taking into account factors such as the brightness of the target object in the star map, the nature of the shooting equipment, and the shooting environment. This applies to differential star map images. Binarization is performed to obtain the first star-shaped mask. for: ; in, Use the first star point mask; The first threshold; This is a conditional judgment function.
[0054] Set a second threshold This threshold means that pixels above this threshold are more likely to be star-shaped pixels, but there may be a small amount of noise with grayscale values above this threshold. The method for selecting this threshold is the same as... The selection method for differential star map images Binarization is performed to obtain the second star point mask. for: ; in, For the second star point mask; This is the second threshold.
[0055] Then apply the second star point mask Morphological operations are performed to obtain the second star-shaped morphological mask. Eliminate the second threshold The resulting minor noise; masking the first star point Second star point morphology mask Perform morphological operations to construct star map star point masks for: ; in, For star map point masking; This is a mask for the second star point shape.
[0056] The pseudocode for the above process is ones([3,3]), which represents a matrix with dimensions of 3×3 and all elements equal to 1. Here, the kernel for the image morphology opening operation is specifically defined as follows: mask1 = threshold(I_d, thresh1); mask2 = threshold(I_d, thresh2); mask2 = open(mask2, ones([3,3])); mask_s = mask1 | mask2.
[0057] This star map and star point mask indicates the position and approximate outline of the stars, separating them from the night sky. Difference image with star map Both are results of star map processing. Utilizing star map difference images... And star map star point mask The process involves locating the centroids of stars, and then, based on the distribution of these centroids, identifying the current sky region through subsequent star image recognition. This sky region information is used for pose determination in astronomical navigation. It can also determine the presence of moving targets in the image by analyzing the relationships between multiple frames, facilitating the tracking of dynamic star targets. The resulting star image processing data is then obtained. Then, the centroids of stars and moving targets are extracted from the processed star map mask, and their line-of-sight vectors are obtained. These vectors are then matched with the star database and the moving target database to obtain the star ephemeris of the stars and the moving targets. The camera attitude is determined by using multiple stars in combination. The location of the base station is determined by using the ephemeris and line-of-sight vectors of multiple satellites (≥3 in this example) and the multi-line-of-sight cross-positioning method, thus completing the entire astronomical navigation process.
[0058] like Figure 7The diagram shows the user interface of the ground-based star map processing method using Gaussian process regression and Hartley transform in this embodiment of the invention. The GUI program, written according to S1-S4, can perform fast star map preprocessing using methods such as radix-2 Fast Hartley Transform (FHT) and radix-4 Fast Hartley Transform (FHT). The usage method is as follows: First, click the "Choose File" button to enter the file selection interface, and select a star map in .jpg, .png, .bmp, or .fitz format. The star map name must be in ASCII and conform to the operating system requirements. After loading the star map, a prompt box in the upper left corner will display: "The file name has been loaded!". After loading the star map, clicking the "Display" button next to it will display the loaded star map. If the star map resolution exceeds 8 bits, it will default to displaying grayscale values in the range of 0~255. The second step is star map denoising, with three options: the existing Gaussian Process Regression (GPR) method (Original GPR term); the Radix-2 Fast Hartley Transform (FHT) accelerated GPR method (FHT R2 GPR term); and the Radix-4 Fast Hartley Transform (FHT) accelerated GPR method (FHT R4 GPR term). After selecting a method, click the "Process" button. Once processing is complete, the upper left corner will display "Processing completely." Clicking the "Display" button next to it will then show the denoised star map. The third step is binarization. Click the "Threshold" button for binarization segmentation. Once complete, the upper left corner will display "Thresholding Completely," and the number of segmented stars will be displayed after "Stars:." Clicking the "Display" button next to it will then show the segmented star mask. After processing and segmentation are complete, click the "Save" button at the bottom to save the currently displayed results. The "Hide" button is used to hide the processing results. When no star map image is displayed, the area displaying the image will show a "No Image" message.
[0059] Experimental testing has shown that this scheme has significant advantages over existing fixed-segmentation methods for processing star maps. For example... Figure 8 The image shown is an example star map from an embodiment of the present invention, serving as the initial image for comparing processing effects. It is an actual star map image. Processing was performed according to both existing fixed sub-image segmentation methods and the method described in this invention. Figure 9 The figure shown is a result diagram of the processing method of the existing fixed segmentation method in an embodiment of the present invention. Figure 9 As can be seen, when the star points are near the boundary, the existing fixed segmentation processing method produces obvious artifacts and errors. For example... Figure 10The diagram shown illustrates the processing effect of using the present invention in an embodiment of the invention. Figure 8 , Figure 9 and Figure 10 Corresponding to the same local area, this local area is located at the boundary of two subgraphs of the fixed segmentation processing method, from the attached Figure 10 The method described in this invention does not have this problem, and the processing results are clearly displayed.
[0060] Regarding the comparison of computational complexity between existing methods and this invention, the test was conducted on a standard computer with a CPU clock speed of 3.3GHz and 16GB of memory. The test data consisted of six sets of images of different sizes: 128×128, 256×256, 512×512, 1024×1024, 2048×2048, and 4096×4096, with each set containing more than 15 images. The test parameters included initialization time, average preprocessing time, and average total time. Figure 11 This diagram illustrates the initialization time and computation speed results in an embodiment of the invention. Initialization time refers to the time required to solve for the foreground and background estimation matrices and the Discrete Hartley Transform (DHT) before processing begins. This step only needs to be performed once before each run. Figure 12 This is a graph showing the average preprocessing time and calculation speed results in an embodiment of the present invention. The average preprocessing time refers to the average time required to process each image during the operation. Figure 13 This image shows the average total time and calculation speed results in an embodiment of the present invention. The average total time refers to the total time from the start of the run to the end, divided by the number of images in each group. The testing methods include existing fixed sub-image segmentation methods and the present invention, wherein the present invention uses both radix-2 Fast Hartley Transform (FHT) and radix-4 Fast Hartley Transform (FHT). (See attached...) Figure 11 , Figure 12 and Figure 13 Compared with existing fixed subgraph segmentation methods, the present invention significantly reduces the initialization time, average processing time, and average total time, indicating that the present invention can greatly reduce the computational load of the Gaussian process regression (GPR) star graph processing method.
[0061] The beneficial effects of this invention are as follows: This invention proposes a ground-based star map processing method based on Gaussian process regression and Hartley transform, which can process star map data and remove interference noise from the star map; automatically complete fast star map denoising and star point and background segmentation; effectively process Gaussian background noise and stray light in the star map to obtain denoised images and star point masks, which can be used for optical astronomical navigation or space target detection; in astronomical navigation, this method can quickly perform star map preprocessing, segment to obtain the required navigation stars, and reduce navigation latency; in ground-based star map observation tasks, this method can quickly complete star map processing to capture moving targets and obtain star point masks and denoised images. After preprocessing, the gray-scale centroid method is used to locate the target using the mask and denoised image, and the centroid motion trajectory of the observed target is calculated in real time, thereby obtaining the real-time displacement motion of the target; using the mask and the original star map, the observed target is segmented, and by calculating the gray value of the target, the photometric change period of the target is calculated in real time, thereby obtaining the real-time rotation motion of the target.
[0062] The embodiments described above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made by those skilled in the art to the technical solutions of the present invention without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.
Claims
1. A ground-based star map processing method based on Gaussian process regression and Hartley transform, characterized in that: It includes: S1: create star map foreground estimation matrix and star map background estimation matrix , perform Hartley transform, output star map foreground estimation matrix discrete Hartley transform parameters and star map background estimation matrix discrete Hartley transform parameters ; S2: Obtain the star map to be processed A star point mask is obtained through thresholding, and the centroid coordinates of the star points in the star map are calculated. Based on the output of S1, a discrete Hartley transform of the star map foreground estimation matrix is obtained by replacing linear convolution with circular convolution. ;Discrete Hartley transform results of the foreground estimation matrix of the traversal star map Perform an inverse Hartley transform to obtain the star map foreground estimation map. The discrete Hartley transform result of the star map background estimation matrix is obtained. And star map background estimation map ; S3: Star map foreground estimation obtained from S2 And star map background estimation map The gradients in the horizontal and vertical directions are obtained using differential operators. Thresholding is performed to obtain the star map artifact mask. The star points indicated by the halo mask are clipped to suppress star map background artifacts; the remaining star points are also clipped to obtain the star map background after artifact suppression and removal of remaining star points. ; S4: Obtain the star map foreground estimation from S2 And star map background estimation in S3 Differential analysis yields a star map with Gaussian and non-uniform noise removed. Set the first threshold. Second threshold Binarization is performed to obtain the first star point mask. Second star point mask ; For the second star point mask Morphological operations are performed to obtain the second star-shaped morphological mask. To form a star map star point mask The star map image reconstruction results are obtained.
2. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 1, characterized in that: S1 specifically refers to: S11: Obtain the kernel function Star map size Sampling area size According to the kernel function Creating a star map foreground estimation matrix using Gaussian process regression hyperparameters And star map background estimation matrix ; S12: Estimation matrix for the star map foreground And star map background estimation matrix Perform a Hartley transform; Output star map foreground estimation matrix and discrete Hartley transform parameters And star map background estimation matrix Discrete Hartley transform parameters .
3. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 1, characterized in that: S2 specifically refers to: S21: Obtain the star map to be processed A star point mask is obtained through thresholding, and the star point mask and the denoising result are used to calculate the centroid coordinates of the star points in the star map. S22: Obtain the star map to be processed Using circular convolution instead of linear convolution yields the discrete Hartley transform result of the star map foreground estimation matrix. The discrete Hartley transform result of the star map background estimation matrix is obtained. ; S23: Discrete Hartley Transform Results of the Foreground Estimation Matrix for Traversal Star Chart The discrete Hartley transform parameter sequence of each row Divided into Perform an inverse Hartley transform on the foreground of the star map to obtain an estimated foreground image. Obtain the star map background estimation map .
4. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 3, characterized in that: In S22, circular convolution is used instead of linear convolution to obtain the discrete Hartley transform result of the star map foreground estimation matrix. Specifically: ; in, The result of the discrete Hartley transformation of the star map foreground estimation matrix; The result of the discrete Hartley transformation of the star map estimation matrix; The column numbers are the foreground estimation matrix numbers for the star map. The altitude of the star chart; The row number is the foreground estimation matrix of the star map. For element-wise multiplication; Discretize the Hartley transform parameters of the star map foreground estimation matrix; Discrete Hartley transform parameters for the star map background estimation matrix; This represents the width of the star map.
5. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 3, characterized in that: Discrete Hartley transform result of the star map foreground estimation matrix in S22 Discrete Hartley Transform Results of Star Map Background Estimation Matrix It can also be determined using radial basis kernel functions, specifically: ; ; ; in, The result of discrete Hartley transformation of the star map background estimation matrix.
6. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 3, characterized in that: In S23, an inverse Hartley transform is performed on the foreground of the star map, specifically as follows: ; in, for The discrete Hartley inverse transform sequence; for The discrete Hartley inverse transform sequence; for The discrete Hartley inverse transform sequence; The star map element number; For modulo operation; It is a sine function; The discrete Hartley transform parameter sequence; This is the first butterfly transform sequence extracted according to frequency. This is the second butterfly transform sequence extracted according to frequency; This is the parameter for pi.
7. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 1, characterized in that: S3 specifically refers to: S31: Suppress star map background artifacts; use differential operators to calculate the estimated star map background. Gradients; processing star map foreground estimation maps separately. And star map background estimation map This yields the gradients along the horizontal and vertical axes. Take the absolute value and perform thresholding to obtain the star map artifact mask. The star points indicated by the halo mask are limited to suppress artifacts; S32: Suppress residual star points; appropriately limit the residual star points to prevent holes in the center of star points in the differential star map image, resulting in a star map background after suppressing artifacts and residual star points. .
8. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 7, characterized in that: Gradients in the horizontal and vertical directions of S31 Specifically: ; ; in, This is a gradient star diagram along the horizontal axis. This is a gradient star diagram along the vertical axis. This is a two-dimensional convolution operation; For the Sobel operator in the horizontal direction; For the Sobel operator along the vertical axis; This is the matrix for estimating the background of the star map.
9. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 1, characterized in that: S4 specifically refers to: S41: Foreground estimation based on star map And star map background estimation The star map foreground estimation map and the star map background estimation map are subtracted to obtain a star map with Gaussian noise and non-uniform noise removed. ; S42: Determine the star point mask; set the first threshold. For differential star map images Binarization is performed to obtain the first star-shaped mask. Set a second threshold. For differential star map images Binarization is performed to obtain the second star point mask. ; For the second star point mask Morphological operations are performed to obtain the second star-shaped morphological mask. Morphological operations are performed to construct star map star point masks. .
10. The ground-based star map processing method based on Gaussian process regression and Hartley transform according to claim 9, characterized in that: Star map and star point mask in S42 for: ; ; ; in, For star map point masking; For the second star-shaped mask; Use the first star point mask; The first threshold; This is a conditional function; For the second star point mask; This is the second threshold.
