Multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference map denoising method considering residual constraint
By taking into account the residual constraints of the multi-scale Bayes adaptive threshold wavelet transform method, combined with Bayesian estimation and soft and hard threshold function fusion models, the problem of difficult noise removal in the denoising of marine geomagnetic anomaly benchmark maps is solved, and high precision and Highly stable denoising effect improves navigation accuracy.
Patent Information
- Application Number
- CN202410729418.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology is difficult to completely remove the noise when denoising the marine geomagnetic anomaly reference map, resulting in unsatisfactory navigation accuracy. Commonly used denoising methods such as Gaussian filtering and wavelet transform have problems with edge information loss or artifacts.
The multi-scale Bayes adaptive threshold wavelet transform method that takes into account the residual constraints is adopted. Through Bayesian estimation threshold iterative calculation and soft and hard threshold function fusion models, combined with the entropy method and regularization terms, the wavelet coefficients and decomposition scales are optimized to improve decomposition. Noise accuracy and stability.
It effectively removes noise, retains image details, and improves the accuracy, signal-to-noise ratio, structural similarity and smoothness of geomagnetic matching navigation, which is significantly better than traditional algorithms.
Smart Images

Figure CN118534553A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of marine geophysical data processing, and in particular is a multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference map denoising method taking into account residual constraints. Background Art
[0002] With the increasingly complex electromagnetic confrontation environment in modern warfare, satellite navigation is extremely vulnerable to interference and destruction during wartime. In order to improve the anti-interference ability of weapon platform navigation, geomagnetic matching navigation has received increasing attention. Due to the stability of the geomagnetic field and the fact that it is not affected by geographical location or weather factors, it is a passive detection signal with very strong concealment, and can be used as an auxiliary navigation method during wartime. Geomagnetic matching navigation uses real-time collected magnetic anomaly data to match with the existing geomagnetic anomaly reference map for accurate positioning, so it has high requirements for the accuracy of the geomagnetic anomaly reference map.
[0003] The marine geomagnetic anomaly reference map is achieved by obtaining the geomagnetic anomaly data of the area through ship-borne magnetic measurement or aerial magnetic measurement. During the process, it is necessary to make corrections for diurnal variation, ship magnetic effect, position reduction and instrument error. Although various error corrections have been made, the noise effects caused by these errors are difficult to completely remove. In addition, magnetic data from different periods, different instruments and different voyages will be used in the process of drawing the geomagnetic anomaly reference map, which will lead to unavoidable noise effects. Therefore, it is necessary to effectively filter the noise in the geomagnetic anomaly reference map to improve the accuracy of geomagnetic matching navigation.
[0004] At present, the commonly used denoising methods in measurement data processing include Gaussian filtering, mean filtering, and soft and hard threshold wavelet denoising methods. Gaussian filtering is a commonly used image denoising technology with the advantages of good smoothing effect and simple calculation, but its filtering process is also a blurring process for the image, which will cause the edge information of the original image to be lost. Mean filtering has the advantages of being simple and easy to implement and preserving the overall hue and brightness of the image, but it cannot effectively remove large-amplitude outliers, resulting in image artifacts; and because mean filtering is essentially a linear smoothing filter, it will also lose the edge and texture information of the feature area during filtering. Wavelet transform was first proposed in a paper by Mallat et al. in 1989. After decades of development, it has become one of the important methods for denoising various types of data; wavelet transform has the advantages of strong adjustability, multi-scale processing, and time-frequency locality, but wavelet denoising involves multiple forward and inverse transforms, which makes the calculation amount large, and the size of the threshold, the setting of the threshold function and the selection of the wavelet basis have a great influence on the experimental results. Therefore, the appropriate threshold, threshold function and wavelet basis are the key to the denoising effect. The design of soft and hard threshold functions has also become a hot topic in current research. The soft threshold function focuses on smoothing the image and retaining the image details, while the hard threshold function can remove noise more thoroughly, but it will lose some detail information and cause a loss of accuracy. Researchers have spent a lot of effort to integrate the respective advantages of soft threshold function and hard threshold function to obtain a moderate threshold function. Whether it is a soft threshold function or a hard threshold function, the quality of their denoising effect depends on setting a threshold of appropriate size. The selection of the threshold is very critical to the quality of the denoising effect. The threshold can be determined by the minimum mean square error criterion, with the goal of minimizing the overall distortion of noise and signal. There is also a method of distinguishing wavelet coefficients from noise by analyzing the statistical characteristics of noisy data to determine the appropriate threshold. The Bayesian estimation threshold principle is a signal processing method based on Bayesian theory, which is used to determine the appropriate signal threshold in the process of wavelet transform denoising. Its basic idea is to determine the optimal threshold by maximizing the posterior probability or minimizing the expected loss. However, Bayesian threshold determination requires estimation of the probability distribution of signal and noise, but in general, this part of the prior information is difficult to obtain.
[0005] The present invention proposes to use residual information as the prior information of the Bayesian estimation threshold to iteratively estimate the threshold, and proposes a soft and hard threshold function fusion model to take into account the advantages of both soft and hard threshold functions. Considering that the geomagnetic reference map has high requirements for retaining detail information, a regularization term is introduced in the selection of wavelet coefficients to improve the accuracy of filtering. The present invention verifies the superiority of the algorithm of the present invention over the traditional algorithm through simulation data and measured data. Summary of the invention
[0006] The present invention aims to provide a multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference map denoising method taking into account residual constraints. The method is aimed at the problem that the noise data that is difficult to avoid in the process of measured data acquisition and multi-source data mapping leads to the unsatisfactory accuracy of the geomagnetic anomaly reference map, and uses an improved multi-scale wavelet transform to denoise the geomagnetic anomaly reference map. In combination with the structural characteristics of the geomagnetic anomaly reference map, an iterative multi-scale wavelet transform method is designed to obtain the statistical information of the model residual value, which is used as the prior information of the Bayes estimation threshold to obtain the optimal wavelet threshold, and the entropy method is introduced to combine the three commonly used evaluation indicators of signal-to-noise ratio, root mean square and smoothness to design a soft and hard threshold function fusion model to improve the inherent defects of a single threshold function, and a regular term is introduced in the denoising process to improve the accuracy and stability of the denoising result. The simulation data of the spherical magnetic anomaly model and the measured data of a certain sea area in the Pacific Ocean are used for denoising experiments, and compared with Gaussian filtering, mean filtering and soft and hard threshold wavelet transform algorithms. The experimental results of simulation and measured data show that the proposed method has the best denoising effect and the highest accuracy. It can better preserve image details while removing noise. The signal-to-noise ratio, structural similarity, root mean square error and smoothness of the denoised image are all optimal.
[0007] The technical solution of the present invention:
[0008] A method for denoising geomagnetic reference images based on multi-scale Bayes adaptive threshold wavelet transform taking into account residual constraints, the steps are as follows:
[0009] Step 1: Use Bayesian thresholding to denoise the noisy geomagnetic reference map to obtain statistical information of the residual, and use the obtained statistical information to preliminarily calculate the threshold value, which is used as the initial condition for the loop iteration.
[0010] Step 2: Perform multi-scale wavelet transform. In the multi-scale wavelet transform process, the following are required:
[0011] (1) Elastic Net regularization is added during wavelet transform to optimize the wavelet coefficients.
[0012] (2) Construct soft and hard threshold fusion model functions, use the entropy method to fuse the signal-to-noise ratio, root mean square and smoothness of the denoised image, use the fusion result as the combination weight to calculate the soft and hard threshold fusion function, and set a threshold θ to define the fusion strategy.
[0013] (3) Construct a binary tree model and adaptively select the optimal decomposition scale and wavelet basis function by alternately optimizing the wavelet basis and decomposition scale through depth-first search.
[0014] Step 3: Select the best denoising parameters of geomagnetic reference images of different complexity through continuous iterative loop operations, and use the signal-to-noise ratio inflection point of the denoised image as the termination condition of the iteration.
[0015] Beneficial effects of the present invention: In view of the problem that the noise data that is difficult to avoid in the process of measuring data collection and multi-source data mapping leads to the unsatisfactory accuracy of the geomagnetic anomaly reference map, a multi-scale Bayes adaptive threshold wavelet transform method for denoising the marine geomagnetic reference map that takes into account residual constraints is proposed. The present invention denoises the geomagnetic anomaly reference map by improving the multi-scale wavelet transform, and designs an iterative multi-scale wavelet transform method in combination with the structural characteristics of the marine geomagnetic anomaly reference map to obtain the statistical information of the model residual value, which is used as the prior information of the Bayes estimation threshold to obtain the optimal wavelet threshold, introduces the entropy method to combine the three commonly used evaluation indicators of signal-to-noise ratio, root mean square and smoothness, and designs a soft and hard threshold function fusion model to improve the inherent defects of the single threshold function, and introduces a regularization term in the denoising process to improve the accuracy and stability of the denoising result. The algorithm has three advantages: 1) Introducing residual information into Bayesian threshold estimation makes the prior information more accurate when estimating the Bayesian threshold, and can adaptively give an appropriate threshold based on the noise characteristics of the geomagnetic reference map; 2) Using Elastic Net regularization to limit the excessive denoising of the geomagnetic reference map by multiple wavelet changes, further improve the degree of retention of detail information for the needs of geomagnetic matching navigation, and reflect the accuracy and stability of the algorithm denoising results; 3) The wavelet basis and decomposition scale are optimized by constructing a binary tree model, and the signal-to-noise ratio is used as the judgment result, and it is proposed to use a fusion soft and hard threshold model to overcome the inherent defects of the soft and hard threshold functions. The next research goal is to design a model that is more suitable for adaptive denoising of geomagnetic reference maps, as well as a real-time geomagnetic information acquisition denoising model to improve the accuracy of geomagnetic matching navigation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Flowchart for improving the multi-scale wavelet transform algorithm.
[0017] Figure 2 The simulation data filtering effect diagrams of each algorithm when the Gaussian noise variance is 0.003. (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect diagram, (d1) the mean filtering effect diagram, (e1) the soft threshold wavelet filtering effect diagram, (f1) the hard threshold wavelet filtering effect diagram, (g1) the filtering effect diagram of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0018] Figure 3The simulation data filtering effect diagrams of each algorithm when the Gaussian noise variance is 0.005. (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect diagram, (d1) the mean filtering effect diagram, (e1) the soft threshold wavelet filtering effect diagram, (f1) the hard threshold wavelet filtering effect diagram, (g1) the filtering effect diagram of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0019] Figure 4 The simulation data filtering effect diagram of each algorithm when the Gaussian noise variance is 0.007. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect diagram, (d1) the mean filtering effect diagram, (e1) the soft threshold wavelet filtering effect diagram, (f1) the hard threshold wavelet filtering effect diagram, (g1) the filtering effect diagram of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0020] Figure 5 The simulation data filtering effect diagram of each algorithm when the variance of real Gaussian noise is 0.009. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect diagram, (d1) the mean filtering effect diagram, (e1) the soft threshold wavelet filtering effect diagram, (f1) the hard threshold wavelet filtering effect diagram, (g1) the filtering effect diagram of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0021] Figure 6 The PSNR of the simulated data image after denoising by different algorithms changes with the noise.
[0022] Figure 7 The RMSE of the simulated data image after denoising by different algorithms changes with the noise.
[0023] Figure 8 The smoothness of the simulated data image changes with the noise after denoising by different algorithms.
[0024] Fig. 9 The change of SSIM of simulated data image with noise after denoising by different algorithms.
[0025] Fig.10The results of the actual data filtering of each algorithm when the Gaussian noise variance is 0.05. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect image, (d1) the mean filtering effect image, (e1) the soft threshold wavelet filtering effect image, (f1) the hard threshold wavelet filtering effect image, (g1) the filtering effect image of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0026] Fig.11 The results of the actual data filtering of each algorithm when the Gaussian noise variance is 0.08. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect image, (d1) the mean filtering effect image, (e1) the soft threshold wavelet filtering effect image, (f1) the hard threshold wavelet filtering effect image, (g1) the filtering effect image of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0027] Fig.12 The results of the actual data filtering of each algorithm when the Gaussian noise variance is 0.11. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filtering denoising effect image, (d1) the mean filtering effect image, (e1) the soft threshold wavelet filtering effect image, (f1) the hard threshold wavelet filtering effect image, (g1) the filtering effect image of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0028] Fig.13 The filter effect diagram of the measured data of each algorithm when the Gaussian noise variance is 0.14. Among them, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with noise, (c1) the Gaussian filter denoising effect diagram, (d1) the mean filter effect diagram, (e1) the soft threshold wavelet filter effect diagram, (f1) the hard threshold wavelet filter effect diagram, (g1) the filter effect diagram of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0029] Fig.14 The figure shows the change of PSNR of measured data images with noise after denoising by different algorithms.
[0030] Fig.15 The figure shows how the RMSE of the measured data image changes with the noise after denoising by different algorithms.
[0031] Fig.16The figure shows how the smoothness of the measured data image changes with the noise after denoising using different algorithms.
[0032] Fig.17 The change of SSIM of measured data image with noise after denoising by different algorithms. DETAILED DESCRIPTION
[0033] The technical solution of the present invention will be further described below in conjunction with specific embodiments and drawings.
[0034] 1. Considering the residual Bayesian threshold model
[0035] The key to the denoising effect of multi-scale wavelet transform lies in the appropriate selection of wavelet basis, the calculation of optimal threshold and the determination of optimal decomposition scale, and the prior distribution information of parameters needs to be obtained when performing Bayesian estimation. Therefore, the present invention determines the prior information of noise distribution by designing a cyclic residual model based on the noise characteristics of magnetic reference map, and further infers the optimal information in wavelet decomposition.
[0036] First, the residual information is obtained by using the traditional Bayesian threshold wavelet transform, and the statistical distribution information is calculated using the residual, which is used as the prior distribution of the Bayesian estimate and the threshold is estimated. The new threshold is used as the update parameter to perform multi-scale wavelet transform again. The peak signal-to-noise ratio can represent the quality of the denoised image. When the peak signal-to-noise ratio of the obtained image reaches the inflection point, it is identified as the optimal threshold under the current wavelet basis and decomposition scale. The wavelet basis and decomposition scale are alternately optimized by constructing a binary tree model and using a depth-first search method until the convergence condition is reached; based on the optimal parameters calculated by the model, a regularization term is introduced to limit the impact of denoising on the magnetic image and improve the accuracy of denoising. The model can calculate the optimal wavelet basis, decomposition scale and threshold that are suitable for the noise of the target geomagnetic reference map, and ensure the reliability and accuracy of the data quality on the basis of denoising. The specific formula of the residual Bayesian wavelet threshold model is as follows:
[0037] Assume that the mean of the residual S is μ and the variance is Right now:
[0038]
[0039] Where p(S) represents the statistical distribution information of the residual S. Let X be the original image, and its distribution is σ X is the standard deviation of X, and β is the shape parameter, which is 2 here.
[0040] By calculating the prior information, we can find the threshold T that minimizes the Bayesian risk. y / X~N(X,σ S 2).
[0041] The Bayesian risk is expressed as follows:
[0042]
[0043] In the above formula, η t (y) represents the estimated value of the original image X using the observed image Y, p(y|x) represents the conditional probability density function of the original image X and the observed image Y, and p(x) represents the probability density function of the original image X. S 2 ) is the probability density function, is the estimated value of X, Y is the observed image, r(T) represents the Bayesian risk, is the error risk function. Image denoising is to use image Y to obtain the estimated value of X. In order to minimize the error risk function, we can obtain the threshold T that minimizes the Bayesian risk function. * :
[0044]
[0045] Equation 7 minimizes the Bayesian risk function derived from Equation 2-6.
[0046]
[0047] In formula 8, Y sq is the subband coefficient of the wavelet transform of the observed image Y, n represents the number of decomposition levels, s and q represent the coefficients in the horizontal and vertical directions respectively;
[0048]
[0049] T=σ S 2 / σ X (10)
[0050] Substitute equations 8 and 9 into equation 10 to calculate the optimal threshold T.
[0051] In order to improve the accuracy and stability of the denoising results, Elastic Net regularization is used to optimize the wavelet coefficients during wavelet transform. The regularization formula is as follows:
[0052] min(XL×C k ) 2 +λ1×|C k |+λ1×C k 2 (11)
[0053] Where L is the wavelet transform matrix, C krepresents the wavelet coefficient of the kth wavelet transform, λ1 and λ2 are the sparse regularization and ridge regression parameters respectively.
[0054] Figure 1 Flowchart for improving the multi-scale wavelet transform algorithm.
[0055] 2. Soft and hard threshold fusion function model
[0056] When the soft threshold function is used for denoising, the image will tend to be smooth, without ringing and pseudo-Gibbs effect. At the same time, it can better retain the detail signal and provide a higher signal-to-noise ratio. However, as the number of decomposition layers increases, the image will have blurred boundaries and distortion, and the calculation complexity is high. When the hard threshold function is used for denoising, it can retain the sharp changes of the signal, effectively filter out low-amplitude noise, and has a fast calculation speed. However, when the signal-to-noise ratio is low, signal loss is prone to occur, and artifacts will be generated. Therefore, in order to combine the advantages of the two, a soft and hard threshold function fusion model is proposed. By calculating the signal-to-noise ratio, root mean square and smoothness of the denoised image respectively, the entropy method is used for indicator fusion. The specific expression is:
[0057] F(m)=ω vrm C vrm (m)+ω vsnr C vsnr (m)+ω vs C vs (m) (12)
[0058] Where F(m) is the calculated fusion index; ω vrm ,ω vsnr ,ω vs are the weights of the root mean square error, signal-to-noise ratio and smoothness changes obtained by entropy value calculation; m represents the scale of wavelet decomposition; C vrm , C snr , C vs Respectively represent the normalized results of each quantity, and the expression is:
[0059] C vrm (m) = [vrm(m)-vrm min ] / (vrm max -vrm min ) (13)
[0060] C vsnr (m) = [vsnr(m) - vsnr min ] / (vsnr max -vsnr min ) (14)
[0061] C vs (m) = [vs(m) - vs min] / (vs max -vs min ) (15)
[0062] In the above formula, vrm represents the change in root mean square error, vsnr represents the change in signal-to-noise ratio, and vr represents the change in smoothness. Taking the change in root mean square error as an example, vrm(m) represents the change in root mean square error between scale m+1 and scale m. min Indicates the minimum root mean square error, vrm max Represents the maximum value of the root mean square error.
[0063] Taking the change in signal-to-noise ratio error as an example, the weight calculation method of the indicator is given as follows:
[0064]
[0065] In the above formula It represents the entropy value of the change in signal-to-noise ratio error, N represents the sequence length, and P represents the probability.
[0066] And set the difference threshold. When the difference between the fusion indexes of the denoised images of different function models is less than the threshold, the models are combined by calculating the fusion weights of each index. When the difference is greater than the threshold, no fusion is performed and the optimal model is used directly. The implementation process is as follows:
[0067]
[0068] Where W hard , W soft is the fusion model weight of the soft and hard threshold function, F(m) soft ,F(m) hard They are the fusion indicators calculated by soft and hard threshold functions respectively.
[0069]
[0070] In order to improve the generalization ability of the model, a threshold θ is set. When the fusion index calculated by the soft and hard threshold functions satisfies the above formula, the model fusion is not performed, and the model with the larger fusion index is directly selected.
[0071] 3. Experiment and analysis
[0072] (1) Evaluation method
[0073] In order to verify the effectiveness of the proposed multimodal Bayes adaptive threshold wavelet geomagnetic reference map denoising algorithm taking into account residuals, mean filtering, Gaussian filtering, soft threshold wavelet filtering and hard threshold wavelet filtering are used to compare and analyze with the proposed algorithm; in order to evaluate the performance of different denoising methods, four evaluation indicators including peak signal-to-noise ratio (PSNR), structural similarity index (SSIM), root mean square error (RMSE) and smoothness are used to analyze and discuss the experiments.
[0074] Peak signal-to-noise ratio can be used to evaluate the degree of distortion of the denoised image. The larger the PSNR, the better the quality of the denoised image. The PSNR calculation formula is as follows:
[0075]
[0076] Where MAX I 2 Represents the maximum value of the benchmark graph, I orig(i) is the value of the original reference image, I comp Represents the value of the processed image.
[0077] The structural similarity index can be used to compare the differences between geomagnetic reference maps to evaluate the denoising quality of images by comparing the similarity, brightness and structure between images. The larger the SSIM value, the higher the quality of image denoising. The calculation formula of SSIM can be expressed as:
[0078] SSIM(x,y)=l(x,y) α c(x,y) β s(x,y) γ (twenty three)
[0079]
[0080] Where l(x,y) represents brightness, c(x,y) represents contrast, s(x,y) represents structure, x represents the original image, and y represents the noisy image.
[0081] By calculating the root mean square error between the denoised image and the original image, the accuracy of different denoising algorithms can be reflected, and the impact of the denoising algorithm on the accuracy of the geomagnetic reference map can be verified.
[0082]
[0083] Where, X obs,i represents the value of the original reference graph, X model,i Represents the value of the baseline image after processing.
[0084] Smoothness can evaluate the image texture and degree of change of the magnetic reference image after denoising. The present invention uses a gradient calculation method to calculate the smoothness.
[0085]
[0086] Where G(x), G(y) are the gradients of the image f(x,y) in the x and y directions at the point (x,y), and g(x,y) is the smoothness of the point.
[0087] (2) Simulation experiment
[0088] The simulation experiment was conducted using the magnetic anomaly reference map generated by the spherical magnetic anomaly model, and the parameters of the sphere were set as follows: magnetic susceptibility 0.15, magnetic field intensity 50nT, sphere radius 250 meters, and burial depth 100 meters. In order to intuitively display the denoising effect, Gaussian noise with variances of 0.03, 0.05, 0.07, and 0.09 was added to the magnetic anomaly reference map generated by the spherical magnetic anomaly model, and the mean filter, Gaussian filter, soft threshold wavelet filter, and hard threshold wavelet filter were used to compare the proposed algorithm. The denoising results were analyzed to judge the ability of the five filtering algorithms to process the noise of the magnetic reference map.
[0089] Figures 2 to 5 In the figure, (a1) represents the original magnetic anomaly reference image, (b1) the magnetic anomaly reference image with added noise, (c1) the Gaussian filtering denoising effect image, (d1) the mean filtering effect image, (e1) the soft threshold wavelet filtering effect image, (f1) the hard threshold wavelet filtering effect image, (g1) the filtering effect image of the algorithm of the present invention, (a2), (b2), (c2), (d2), (e2), (f2), (g2) are the corresponding grayscale images.
[0090] Depend on Figure 1 , Figure 2 , Figure 3 , Figure 4 It can be seen that the denoising effect of mean filtering, Gaussian filtering, soft threshold wavelet filtering and hard threshold wavelet filtering decreases significantly with the increase of noise, and it is difficult to remove Gaussian noise well in the high-resolution simulated magnetic anomaly map benchmark image, and the processed image has obvious noise spots; Figure 1-Figure 4 It can be seen from (g1) and (g2) that the simulated geomagnetic anomaly reference map processed by the algorithm proposed in the present invention has clear boundaries and high smoothness, and the denoising effect is better than that of the other four algorithms.
[0091] In order to better observe the denoising effects of different algorithms on magnetic anomaly simulation benchmark images at different noise levels, the denoising capabilities of the algorithms are compared using the changes in four commonly used denoising evaluation indicators: PSNR, SSIM, RMSE, and smoothness. Figure 6-Figure 9 It can be seen that the algorithm proposed in the present invention is superior to the other four algorithms in all indicators, especially in the indicator of smoothness, which is far superior to the other denoising algorithms. Figure 6 In the curve of the model of the present invention, the curvature of PSNR decreases the slowest as the noise increases, which shows that it is less affected by the noise. Figure 7 As the noise increases, the RMSE of the model of the present invention increases the slowest. It can also be concluded that the model of the present invention is less affected by noise and has stronger robustness. Fig. 9 The similarity of the model of the present invention only decreases by 0.06% with the increase of noise, which is the lowest decrease compared with other algorithms.
[0092] The magnetic anomaly reference map has high requirements for data accuracy in geomagnetic matching navigation, and the root mean square error can better reflect the accuracy of different denoising algorithms for the original data. Figure 6 It can be seen that the root mean square error of the calculation after denoising using the algorithm of the present invention is the lowest, and the image accuracy after denoising is the highest.
[0093] (3) Measured data analysis and verification
[0094] In order to further verify the denoising effect of the algorithm in the actual situation, a geomagnetic anomaly benchmark map measured in a certain area of the Pacific Ocean was selected for denoising comparison experiments; the area size is 110km×110km, the survey line spacing is 1km, Figure 5 (a1) is the original magnetic anomaly map. To illustrate the denoising effect more intuitively, Gaussian noise with variances of 0.05, 0.08, 0.11 and 0.14 are artificially added to the original data. Mean filtering, Gaussian filtering, soft threshold wavelet filtering and hard threshold wavelet filtering are also used to conduct comparative experiments with the proposed algorithm. The denoising results are analyzed to judge the ability of the five filtering algorithms to process the noise of the magnetic reference map.
[0095] Depend on Figure 5-Figure 8 It can be seen that the denoising effect of the algorithm of the present invention in the measured magnetic anomaly reference image at different noise levels is better than that of other algorithms. After denoising by the algorithm of the present invention, the edge information of the reference image is better preserved, and the edge information of the magnetic anomaly feature is clearer. The advantages of the algorithm of the present invention can be intuitively observed in both true color and grayscale images. Figure 5-Figure 8 It can be seen from (g1) and (g2) that the algorithm of the present invention basically does not lose the details of the reference image while removing noise, and has the highest retention degree. Other methods lose a small amount of details and appear distorted.
[0096] In order to objectively analyze the denoising effect, in addition to being superior to the other four algorithms in visual effect, the denoising effect is evaluated by calculating the PSNR, SSIM, RMSE and smoothness of the denoised image. The experimental results are shown in Figure 9-12 As shown. Fig.10 and Fig.11It can be seen that the algorithm of the present invention has a lower level of smoothness on the image and maintains the highest level of accuracy, which means that the algorithm of the present invention loses less detail information on the geomagnetic reference map, while the other comparison algorithms over-denoise the geomagnetic reference map and remove detail information as noise data, resulting in lower accuracy and higher smoothness. Fig.10 It can be seen that the root mean square error of the denoising results of different algorithms is the smallest. The root mean square error of the algorithm of the present invention is the smallest, and as the noise increases, the root mean square error change rate is smaller, and its robustness to noise is better. The SSIM index can reflect the structural similarity between the denoised image and the original image. The higher the SSIM index, the better the visual effect of the reference image after denoising. It can also reflect the effect of the denoising algorithm on the detail preservation of the reference image. Fig.12 It can be seen that when the noise level continues to increase, the SSIM index of the algorithm of the present invention decreases more slowly than that of other algorithms, and the denoising effect is less affected by the noise level.
Claims
1. A multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference map denoising method taking into account residual constraints, characterized in that: Here are the steps: Step 1: De-noise the geomagnetic reference map with noise using Bayesian threshold to obtain statistical information of the residual, and use the obtained statistical information to preliminarily calculate the threshold value, which is used as the initial condition of the loop iteration; Step 2: Perform multi-scale wavelet transform. In the multi-scale wavelet transform process, the following are required: (1) Add Elastic Net regularization to optimize the wavelet coefficients during wavelet transform; (2) Construct a soft and hard threshold fusion model function, use the entropy method to fuse the signal-to-noise ratio, root mean square and smoothness of the denoised image, use the fusion result as the combination weight to calculate the soft and hard threshold fusion function, and set a threshold θ to define the fusion strategy; (3) Construct a binary tree model and optimize the wavelet basis and decomposition scale alternately through depth-first search to adaptively select the best decomposition scale and wavelet basis function; Step 3: Select the best denoising parameters of geomagnetic reference images of different complexity through continuous iterative loop operations, and use the signal-to-noise ratio inflection point of the denoised image as the termination condition of the iteration.
2. The multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference image denoising method taking into account residual constraints according to claim 1 is characterized in that: The step 1 specifically comprises: firstly, using a Bayesian threshold wavelet transform to obtain residual information from a geomagnetic reference map with noise, using the obtained residual information to calculate the statistical distribution information of the residual, using the statistical distribution information as a prior distribution of Bayesian estimation and estimating the threshold, using the threshold as an initial condition for cyclic iteration, and performing subsequent multi-scale wavelet transform; Assume that the mean of residual S is μ and the variance of residual S is Right now: Where p(S) represents the statistical distribution information of the residual S; let X be the original image, its distribution is σ X is the standard deviation of X, β is the shape parameter; By using the calculated prior information, find the threshold T that minimizes the Bayesian risk; set y / X~N(X,σ S 2 ); The Bayesian risk is expressed as follows: In the above formula, η t (y) represents the estimated value of the original image X using the observed image Y, p(y|x) represents the conditional probability density function of the original image X and the observed image Y, and p(x) represents the probability density function of the original image X; φ(x,σ S 2 ) is the probability density function number, is the estimated value of X, Y is the observed image, r(T) represents the Bayesian risk, is the error risk function. Image denoising is to use image Y to obtain the estimated value of X. In order to minimize the error risk function, the threshold T obtained by minimizing the Bayesian risk function can be obtained. * ; Equation (7) is the minimized Bayesian risk function derived from equations (2)-(6); In formula (8), Y sq is the subband coefficient of the wavelet transform of the observed image Y, n represents the number of decomposition levels, s and q represent the coefficients in the horizontal and vertical directions respectively; T=σ S 2 / s X (10) Substitute equations (8) and (9) into equation (10) to calculate the optimal threshold T.
3. The multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference image denoising method taking into account residual constraints according to claim 1, characterized in that: In step 2 (1), Elastic Net regularization is used to optimize the wavelet coefficients during wavelet transform. The regularization formula is as follows: min(XL×C k ) 2 +λ1×|C k |+λ1×C k 2 (11) Where L is the wavelet transform matrix, C k represents the wavelet coefficient of the kth wavelet transform, λ1 and λ2 are the sparse regularization and ridge regression parameters respectively.
4. The multi-scale Bayes adaptive threshold wavelet transform geomagnetic reference image denoising method taking into account residual constraints according to claim 1, characterized in that: In step 2 (2), the soft and hard threshold fusion model functions are specifically: F(m)=ω vrm C vrm (m)+ω vsnr C vsnr (m)+ω vs C vs (m) (12) Where F(m) is the calculated fusion index; ω vrm ,ω vsnr ,ω vs are the weights of the root mean square error, signal-to-noise ratio and smoothness changes obtained by entropy value calculation; m represents the scale of wavelet decomposition; C vrm , C snr , C vs They represent the normalized results of the root mean square error, signal-to-noise ratio, and smoothness obtained by entropy value calculation, and their expressions are: C vrm (m)=[vrm(m)-vrm min ] / (vrm max -vrm min ) (13) C vsnr (m)=[vsnr(m)-vsnr min ] / (vsnr max -vsnr min ) (14) C vs (m)=[vs(m)-vs min ] / (vs max -vs min ) (15) In the above formula, vrm represents the change in root mean square error, vsnr represents the change in signal-to-noise ratio, vr represents the change in smoothness, and vrm min Indicates the minimum root mean square error, vrm max Represents the maximum root mean square error, vsnr min Minimum signal-to-noise ratio, vsnr max Maximum signal-to-noise ratio, vs min Minimum smoothness, vs max Maximum smoothness; The weight calculation method of the signal-to-noise ratio error change is: In the above formula The entropy value represents the change in signal-to-noise ratio error, N represents the sequence length, and P represents the probability; The calculation method of the weight of the change in the root mean square error and the change in smoothness is the same as the calculation method of the weight of the change in the signal-to-noise ratio error; The fusion index F(m) calculated by the soft and hard threshold functions is calculated by formula (12) soft 、F(m) hard ; and set the limit difference threshold θ: When the difference between the fusion indexes of the denoised images of different function models is less than the threshold, the models are combined by calculating the fusion weights of each index. When the difference is greater than the threshold, no fusion is performed and the model with the larger fusion index is directly selected. The implementation process is as follows: Where W soft , W hard is the fusion model weight of the soft and hard threshold function, F(m) soft ,F(m) hard They are the fusion indicators calculated by soft and hard threshold functions respectively.
Citation Information
Cited By
Error detection method for electric vehicle charging equipment in high-temperature area
CN119224673A
Port equipment vibration signal processing method
CN119577345A
A method for processing vibration signals of port equipment
CN119577345B
Geomagnetic anomaly data stable downward continuation method based on SRGAN deep learning network
CN119646415A
Separation method for corrosion defect magnetic anomaly signal of pipeline with coating layer
CN120257177A
