Single natural image noise estimation method based on high-order singular value decomposition
Through high-order singular value decomposition and histogram analysis, the problems in noise estimation accuracy and computational efficiency of existing noise estimation methods are solved, and high-accuracy noise intensity estimation in a wide range of noise is achieved, especially in high-noise areas. High precision effect in case.
Patent Information
- Application Number
- CN202410664744.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-27
AI Technical Summary
Existing noise estimation methods have the problem of overestimation or underestimation. Subspace-based methods are not effective under high noise variance. Deep learning methods are computationally intensive and costly, and the assumptions are difficult to establish in practice.
A single natural image noise estimation method based on high-order singular value decomposition is adopted. Image blocks are selected through adaptive thresholds, tensor analysis and histogram analysis are performed, and high-order singular value decomposition and histogram compensation are combined to achieve accurate noise level estimation. .
This method is able to provide highly accurate noise intensity estimates over a wide range of noise, especially in high-noise situations (σ ≥ 10), which is an order of magnitude more accurate than other methods and has high computational efficiency.
Smart Images

Figure CN118552500A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of image processing, and in particular relates to a single natural image noise estimation method based on high-order singular value decomposition. Background Art
[0002] Noise interference is ubiquitous in signal acquisition, transmission and processing of actual devices. Accurate noise level estimation is a prerequisite for the normal operation of many signal processing and image processing techniques such as motion detection, edge detection, data compression, object recognition, super-resolution, image segmentation and denoising. The performance of these related technologies depends largely on the accurate prior of the noise level. However, in practical applications, the noise level is unknown. Therefore, accurate noise level estimation is a key issue in image processing.
[0003] In the current noise estimation methods, the mainstream methods include filter-based methods, subspace (image block)-based methods and deep learning methods. However, the filter-based method will inevitably over- or under-estimate the noise level; the subspace-based method is only effective under low noise variance, and its assumption is that there are uniform image blocks in the image, which is difficult to establish in practice; the deep learning-based method requires large-scale training data and has a huge amount of calculation and high cost. The present invention is based on a subspace (image block) and does not require training. In view of the problems existing in the current methods, a new method NLEHOSVD for estimating the noise level of a single noisy image based on additive white Gaussian noise (AWGN) is proposed. The method uses the high-order singular value decomposition (HOSVD) of a tensor composed of image blocks to realize a rough estimate of the noise level of the image, and then corrects the rough estimate of the image noise level by analyzing the standard deviation histogram of the image block to obtain a more accurate noise level estimate. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention discloses a single natural image noise estimation method based on high-order singular value decomposition, comprising the following steps:
[0005] Obtain a noisy image, divide the noisy image into a number of overlapping image blocks, and select the image blocks that meet the requirements through an adaptive threshold;
[0006] Reconstruct the selected image block into a third-order tensor, perform high-order singular value decomposition on the third-order tensor, and then perform tensor analysis to obtain a rough estimate of the noise;
[0007] The noise compensation amount is obtained by performing histogram analysis on the selected image blocks, thereby obtaining the final noise estimation.
[0008] Furthermore, when selecting the image blocks that meet the requirements through adaptive thresholding:
[0009] Let I be the collected clean image, I n is a noise image, represents the set of d×d image blocks into which the noisy image is cut, where is an image block of size d×d, let Ω I is the covariance matrix of I, For I n The covariance matrix of n is the covariance matrix of Gaussian white noise, then The following conditions are met:
[0010]
[0011] Where Φ is the eigenvector matrix, Λ is the matrix Ω I The diagonal characteristic matrix of E is the identity matrix, σ i For elements The standard deviation of the noise is consistent with the distribution Where Var(·) represents the variance, so the feature distribution of all image patches in Q must satisfy the property of the sum of two distributions;
[0012] Assume that the segmented image blocks include two cases, one is a uniform image block, and the characteristic matrix of this type of image block is i The eigenvalue of is close to 0 or a constant, and its eigenvalue distribution is similar to the normal distribution and contains only one peak. The other is a non-uniform image block, and the eigenvalue distribution of this type of image block contains two peaks, and the second largest peak corresponds to the noise variance.
[0013] The analysis of eigenvalues is simplified to the variance of image intensity as a measure to characterize image blocks. For image blocks in set Q, the smaller the pixel variance of the image block, the less image content the image block contains, and the larger the proportion of noise it contains. The pixel variances of the image blocks are arranged in ascending order, and the first distribution peak closest to 0 is found. The variance corresponding to this peak is used as the threshold T for selecting image blocks. v , so the set of selected image patches is:
[0014]
[0015] Where |Q t | is the set Q t The momentum.
[0016] Furthermore, a rough estimate of the noise is obtained by tensor analysis in the following way:
[0017] Based on Q t Constructing a third-order tensor The high-order singular value decomposition of this tensor is as follows:
[0018] χ≈G×1A×2B×3C
[0019] In the formula is a factor matrix and is the principal component in each mode; represents the core tensor;
[0020] χ (n) Represents the model-n-order matrix of the tensor and arranges the vectors extracted from the model-n direction of the tensor as column vectors of the result matrix, so χ (n) The covariance matrix of is expressed as:
[0021]
[0022] Where H is the orthogonal eigenvector matrix, is a diagonal eigenvalue matrix, and the noise intensity is roughly estimated by calculating the first two order expansion matrices:
[0023]
[0024] Pick The minimum eigenvalue of The minimum eigenvalue of A rough estimate of the noise is given by:
[0025]
[0026] Furthermore, the noise compensation amount and the final noise estimation are obtained in the following manner:
[0027] For the set Q t The elements in the histogram range are integers in [0, 255]. Histcount(i) represents the number of pixels with pixel value i in the histogram. Therefore, i is also an integer in the range of [0, 255]. Therefore, the energy loss caused by noise is calculated using the following formula to compensate for the loss:
[0028]
[0029] histcount(1, 254) indicates Q t The number of elements in the pixel value range [1, 254], the final noise estimate is:
[0030]
[0031] Due to the adoption of the above technical scheme, the present invention provides a single natural image noise estimation method based on high-order singular value decomposition. The method analyzes the characteristics of noise and natural images, finds a method for adaptive segmentation and selection of suitable image blocks, and converts noise intensity analysis into analysis of image pixel intensity variance; utilizes high-dimensional tensor decomposition to analyze image components and separate noise components, and simultaneously calculates noise intensity; utilizes histogram analysis to adaptively compensate for noise estimation deviation, and is very robust and accurate in estimating the intensity of Gaussian white noise; has a wide noise estimation range σ∈[0, 100], and especially when σ≥10, the accuracy of the present invention is one order of magnitude higher than other methods; and can provide accurate noise intensity for denoising methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0034] In order to make the technical solutions and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention:
[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] like Figure 1 A single natural image noise estimation method based on high-order singular value decomposition is shown, which specifically includes the following steps:
[0038] S1: Get a noisy image, divide the noisy image into several image blocks, and select the appropriate image blocks through adaptive thresholds
[0039] S2: reconstruct the selected image block into a third-order tensor, perform high-order singular value decomposition on the tensor, and then perform tensor analysis to obtain a rough estimate of the noise;
[0040] S3: performing a histogram analysis on the selected image block to obtain a noise compensation amount, and finally obtaining a final noise estimation;
[0041] In step 1, I n To represent the collected noisy images, is the set of all image blocks after the noise image is segmented, where is an image patch of size d×d.
[0042] Assume Ω I is the covariance matrix of I, For I n The covariance matrix of n is the covariance matrix of the noise, and the following relationship exists:
[0043]
[0044] Where Φ is the eigenvector matrix, Λ is the matrix Ω I The diagonal characteristic matrix of , E is the identity matrix.
[0045] For an element in the set Q For example, i for The standard deviation of the noise, σ i Obey Gaussian distribution Therefore, the feature distribution of all image blocks in Q must satisfy the property of the sum of two distributions (natural image feature distribution + noise feature distribution). Where Var(·) represents the variance.
[0046] The image blocks after the graphics are segmented include two cases: one is a uniform image block, and the characteristic matrix Λ of most or even all such image blocks is i The eigenvalues of are close to 0 or a constant, so these image blocks only show the characteristics of noise, and their eigenvalue distribution is similar to the normal distribution, containing only one peak; the second is the non-uniform image block, the eigenvalue distribution of this type of image block contains two peaks, and the second largest peak corresponds to the noise level (noise level).
[0047] In order to simplify the calculation, the present invention simplifies the analysis of eigenvalues to the variance of image pixels as a measure to characterize image blocks. For image blocks in set Q, the smaller the pixel variance of the image block, the less image content the image block contains and the larger the proportion of noise. The variances of these image blocks are sorted in ascending order, and the first distribution peak closest to 0 is found. The variance corresponding to this peak is used as the threshold T for selecting image blocks. v . Therefore, the set of selected image patches is:
[0048]
[0049] Where |Q t | for Q t The potential of the collection.
[0050] In step 2, first based on Q t Construct a third-order tensor The high-order singular value decomposition (HOSVD) of this tensor is as follows:
[0051] χ≈G×1A×2B×3C
[0052] In the formula is a factor matrix and are the principal components in each mode.
[0053] Tensor Represents a core tensor.
[0054] χ (n) Represents the n-order matrix of the tensor and arranges the vectors extracted from the model-n direction of the tensor as column vectors of the result matrix, so χ (n) The covariance matrix of can be expressed as:
[0055]
[0056] Where H is the orthogonal eigenvector matrix, is a diagonal eigenvalue matrix, and in practical applications, only the first two expansion matrices of χ are sufficient to roughly estimate the noise level, that is:
[0057]
[0058] Pick The minimum eigenvalue of The minimum eigenvalue of A rough estimate of the noise can be expressed as:
[0059]
[0060] In step 3, for the set Q t The elements in the histogram range is [0, 255]. Histcount(i) represents the number of pixels with pixel value i in the histogram, so i is also an integer in the range of [0, 255]. Therefore, the energy loss caused by noise can be compensated by the following formula:
[0061]
[0062] Where histcount(,2th) represents Q t The number of elements in the pixel value range [1,254]. Therefore, the final noise estimate is:
[0063]
[0064] Comparison of the present invention with several state-of-the-art methods shows that in most cases, the accuracy of the proposed method is the highest. In particular, when the noise standard deviation σ≥10, the performance of the proposed method is absolutely superior. The NLEHOSVD method uses tensor decomposition (HOSVD) to roughly estimate the noise level σ from a single noisy image, which is computationally efficient. After analyzing the energy loss of the AWGN-corrupted image, the histogram relationship between the clean image and the noisy image is explored, and the accuracy of the rough estimate σ is corrected by the histogram of the noisy image. In most cases, especially when σ≥10, the accuracy of the proposed method is one order of magnitude higher than that of other methods.
[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for estimating noise of a single natural image based on high-order singular value decomposition, characterized in that include: Obtain a noisy image, divide the noisy image into a number of overlapping image blocks, and select the image blocks that meet the requirements through an adaptive threshold; Reconstruct the selected image block into a third-order tensor, perform high-order singular value decomposition on the third-order tensor, and then perform tensor analysis to obtain a rough estimate of the noise; The noise compensation amount is obtained by performing histogram analysis on the selected image blocks, thereby obtaining the final noise estimation.
2. The method for estimating noise of a single natural image based on high-order singular value decomposition according to claim 1, characterized in that: When selecting matching image blocks through adaptive thresholding: Let I be the collected clean image, I n is a noise image, represents the set of d×d image blocks into which the noisy image is cut, where is an image block of size d×d, let Ω I is the covariance matrix of I, For I n The covariance matrix of n is the covariance matrix of Gaussian white noise, then The following conditions are met: Where Φ is the eigenvector matrix, Λ is the matrix Ω I The diagonal characteristic matrix of E is the identity matrix, σ i For elements The standard deviation of the noise is consistent with the distribution Where Var(·) represents the variance, so the feature distribution of all image patches in Q must satisfy the property of the sum of two distributions; Assume that the segmented image blocks include two cases, one is a uniform image block, and the characteristic matrix of this type of image block is i The eigenvalue of is close to 0 or a constant, and its eigenvalue distribution is similar to the normal distribution and contains only one peak. The other is a non-uniform image block, and the eigenvalue distribution of this type of image block contains two peaks, and the second largest peak corresponds to the noise variance. The analysis of eigenvalues is simplified to the variance of image intensity as a measure to characterize image blocks. For image blocks in set Q, the smaller the pixel variance of the image block, the less image content the image block contains, and the larger the proportion of noise it contains. The pixel variances of the image blocks are arranged in ascending order, and the first distribution peak closest to 0 is found. The variance corresponding to this peak is used as the threshold T for selecting image blocks. v , so the set of selected image patches is: where |Q t | is the set Q t The momentum.
3. The method for estimating noise of a single natural image based on high-order singular value decomposition according to claim 2, characterized in that: A rough estimate of the noise using tensor analysis is done as follows: Based on Q t Constructing a third-order tensor The high-order singular value decomposition of this tensor is as follows: χ≈G×1A×2B×3C In the formula is a factor matrix and is the principal component in each mode; represents the core tensor; χ (n) Represents the model-n-order matrix of the tensor and arranges the vectors extracted from the model-n direction of the tensor as column vectors of the result matrix, so χ (n) The covariance matrix of is expressed as: Where H is the orthogonal eigenvector matrix, is a diagonal eigenvalue matrix, and the noise intensity is roughly estimated by calculating the first two order expansion matrices: Pick The minimum eigenvalue of The minimum eigenvalue of A rough estimate of the noise is given by:
4. The method for estimating noise of a single natural image based on high-order singular value decomposition according to claim 2, characterized in that: The noise compensation amount and the final noise estimation are obtained in the following manner: For the set Q t The elements in the histogram range are integers in [0, 255]. Histcount(i) represents the number of pixels with pixel value i in the histogram. Therefore, i is also an integer in the range of [0, 255]. Therefore, the energy loss caused by noise is calculated using the following formula to compensate for the loss: histcount(1, 254) indicates Q t The number of elements in the pixel value range [1, 254], the final noise estimate is:
Citation Information
Patent Citations
Image processing device and method, data processing device and method, program, and recording medium
CN102473279A
Image noise level estimation method based on principal component analysis
CN105678774A
Elliptical search window and parameter self-adaption non-local mean value denoising method
CN108765332A
Affine low-rank-based image denoising method
CN112686814A
Hyperspectral image denoising method based on tensor high-order singular value decomposition
CN115689930A
