WO2014082441A1 - Noise elimination method and apparatus - Google Patents

Noise elimination method and apparatus Download PDF

Info

Publication number
WO2014082441A1
WO2014082441A1 PCT/CN2013/077669 CN2013077669W WO2014082441A1 WO 2014082441 A1 WO2014082441 A1 WO 2014082441A1 CN 2013077669 W CN2013077669 W CN 2013077669W WO 2014082441 A1 WO2014082441 A1 WO 2014082441A1
Authority
WO
WIPO (PCT)
Prior art keywords
noise
signal
pixel point
neighborhood
standard deviation
Prior art date
Application number
PCT/CN2013/077669
Other languages
French (fr)
Chinese (zh)
Inventor
钱沄涛
叶敏超
韩明臣
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014082441A1 publication Critical patent/WO2014082441A1/en

Links

Classifications

    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20076Probabilistic image processing

Definitions

  • the present invention relates to image processing technology, and in particular, to a noise cancellation method and apparatus, and belongs to the field of communication technologies. Background technique
  • Image denoising has always been a hot research issue in the field of image processing.
  • Traditional image denoising methods are mostly based on the idea of spatial local filtering, such as mean filtering, Gaussian filtering, and bilateral filtering.
  • the spatial local filtering is based on the assumption that the pixel points adjacent to the spatial position generally have relatively similar gray values, and the noise is removed by weighting the gray value of the pixel points and the gray value of the neighboring pixel points.
  • the assumption that the pixel points adjacent to the spatial position generally have relatively similar gray values is only applicable to the smooth portion of the image, but not to the detail portion of the image (edge, strong texture region, etc.), so the local filtering method easily leads to image details. Lost.
  • the non-local mean denoising algorithm mainly uses the redundant information of a large number of self-similar blocks in the digital image, and calculates the similarity measure of the neighborhood of the pixel to be denoised and the pixel of the search area to calculate the pixel of the search area.
  • the algorithm has very good effects on denoising performance and image texture and edge information preservation, but it is based on signal-independent Gaussian noise assumption.
  • a noise cancellation method including:
  • the variance stabilization transform is implemented by using the following formula:
  • the acquiring, by the hybrid noise model, a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled, to obtain an estimated noise standard deviation function includes:
  • a random sampling consistency algorithm RANSAC is used to perform curve fitting on the ( ⁇ , ⁇ ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
  • the original noise-free signal corresponding to the first signal is the estimated noise standard deviation function.
  • the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
  • the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • the neighboring window of the pixel point i to be denoised and the pixel point j of the search area is downsampled; wherein i and j are natural numbers;
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • a noise canceling apparatus including:
  • An estimation module configured to acquire a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model, to obtain an estimated noise standard deviation function
  • a variance stabilization transformation module configured to perform a variance stabilization transformation on the first signal according to the estimated noise standard deviation function, to obtain a second signal whose noise is signal-independent noise; and a denoising module, configured to The two signals are denoised;
  • the variance stabilization inverse transform module performs inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
  • the variance stabilization transformation is implemented by using the following formula:
  • ( x ) is the estimated noise standard deviation function
  • c is the transformed constant standard deviation
  • ⁇ s ⁇ is the transformed current pixel gray value
  • the estimating module is configured to: perform wavelet domain analysis on the first signal, and obtain (X, ⁇ scatter diagram;
  • a random sampling consistency algorithm RANSAC is used to perform curve fitting on the ( ⁇ , ⁇ ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
  • the original noiseless signal corresponding to the first signal is the estimated noise standard deviation function.
  • the denoising module is configured to traverse the second signal in the following manner Each pixel point:
  • the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
  • the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • the denoising module is configured to traverse the second signal in the following manner Each pixel point:
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • the noise standard deviation function is estimated by using the mixed noise model, and the noise standard deviation function is used to perform the variance stabilization transformation to remove the noise signal. It is converted to a signal with signal-independent noise so that it can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
  • FIG. 1 is a schematic flow chart of a noise cancellation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram showing the principle of noise parameter estimation based on wavelet domain analysis
  • Figure 3 is an example of a ( ⁇ , ⁇ ) scatter plot
  • FIG. 4 is a schematic diagram showing the results of curve fitting directly to the ( ⁇ , ⁇ ) scatter plot shown in FIG. 3;
  • FIG. 5 is a schematic diagram showing the result of curve fitting using the RANSAC pair ( ⁇ , ⁇ ) scatter plot;
  • FIG. 7 is a schematic structural diagram of a noise canceling apparatus according to another embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flow chart of a noise cancellation method according to an embodiment of the present invention. As shown in Figure 1, the noise cancellation method includes:
  • the mixed noise model for sensor imaging is a Poisson-Gaussian mixed noise model, as shown in the following equation (1):
  • y x + v p (x) + v G Formula ( 1) where y is the signal containing the mixed noise (ie the first signal), eg the image imaged by the sensor, X is the original noiseless signal, is signal dependent
  • the Poisson noise component is a signal-independent Gaussian noise component.
  • Var ⁇ ) ax Equation (3)
  • v ar (o the noise variance of the Poisson noise component.
  • equations (4) and (5) are satisfied.
  • ⁇ 2 ⁇ + ⁇ Equation (6)
  • ⁇ 2 is the noise variance of the mixed noise
  • a and b are noise parameters, which can be implemented in any way, for example, based on wavelet domain analysis for noise parameter estimation.
  • Figure 2 is a schematic diagram of the principle of noise parameter estimation based on wavelet domain analysis. As shown in FIG. 2, a two-dimensional discrete wavelet transform is performed on the image y to obtain four different wavelet coefficient subgraphs of W A , W H , W v and W D , where W A is an approximate coefficient and W H is a horizontal detail.
  • W v is the vertical detail, W D is the diagonal detail; the gradient of each pixel in the ⁇ subgraph is compared with the preset gradient value, and the pixel with the larger gradient in the W A subgraph is removed, leaving Smooth area; image to be included in the smooth area
  • the noise parameters a and b are fixed for the fixed sensor, the noise parameters a and b can be estimated based on some images taken by the sensor, and the estimated noise parameters a and b are stored for execution. Called directly after subsequent image denoising.
  • VST Variance Stabilizing Transformation
  • the variance stabilization transformation is achieved, for example, by the following formula (8):
  • is the estimated noise standard deviation function
  • c is the transformed constant standard deviation, which can be any value greater than 0, for example set to 0.01
  • t is the current pixel point, execution variance Stabilize the gray value before the transform
  • / VST (0 is the current pixel point, and the gray value after the variance is stabilized.
  • any denoising method based on Gaussian noise can be used for denoising, for example, an image denoising method using non-local mean.
  • the inverse transform of the variance stabilization transform is used to map the grayscale values back, thereby obtaining an image after the noise is cancelled for the image y, and thus, the denoising processing for the image y with the mixed noise is completed.
  • variance stabilization transformation may also take other manners different from the formula (8), as long as the signal correlation variance can be changed to a signal-independent variance, which is not limited in the embodiment of the present invention, for example, the following formula is adopted.
  • the noise standard deviation function is estimated by using the mixed noise model, and the noise standard deviation function is used to perform the variance stabilization transform, and the signal to be cancelled is converted into a signal.
  • a noise-independent signal that can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
  • the process of obtaining the parameter estimated value of the noise standard deviation function of the first signal to be cancelled is optimized.
  • the noise parameter estimation is performed based on the wavelet domain analysis, and after obtaining the ( ⁇ , ⁇ ) scattergram, the random sampling consistency algorithm (RANSAC) is used to perform curve fitting on the ( ⁇ , ⁇ ) scatter plot to obtain Noise parameters a and b.
  • RANSAC random sampling consistency algorithm
  • curve fitting a ( ⁇ , ⁇ ) scatter plot using RANSAC includes the following steps:
  • Step 1 Randomly select two points and fit the noise model curve
  • Step 2 Check whether the fitted noise model curve satisfies " ⁇ 0 and 6 ⁇ 0. If not, repeat step 1;
  • Step 3 In all points, the point where the distance from the fitted curve is less than the given threshold is calculated. The number of such points is referred to as the inner point in the text. If the number of internal points exceeds the number of internal points obtained by the previous iteration, it is recorded as the maximum number of internal points.
  • Step 4 Calculate the number of iterations required based on the maximum number of interior points.
  • Step 5 Iterate steps 1 to 4 until the number of iterations is sufficient.
  • Step 6 Re-model the model with all the interior points in the noise model curve with the largest number of points.
  • Figure 3 is an example of a ( ⁇ , ⁇ ) scatter plot
  • Figure 4 is a schematic diagram of the result of curve fitting directly to the ( ⁇ , ⁇ ) scatter plot shown in Figure 3
  • Figure 5 is a RANSAC pair ( ⁇ , ⁇ ) Schematic diagram of the results of curve fitting for scatter plots. It can be seen from Fig. 3-5 that the curve fitting of the ( ⁇ , ⁇ ) scatter plot by RANSAC significantly improves the robustness of the noise parameter estimation, thus effectively improving the noise cancellation performance.
  • the process of performing the denoising of the signal (i.e., the second signal) after performing the variance stabilization conversion is optimized.
  • the existing non-local mean image denoising method is used to perform denoising on the signal after performing the variance stabilization transformation, by establishing a neighborhood of the pixel to be denoised and the pixel of the search area.
  • the similarity measure calculates the similarity weight of each pixel in the search area and the pixel to be denoised, and then performs weighted averaging on the pixels in the search area, thereby calculating a new gray value of the pixel to be denoised, that is, going Gray value after noise.
  • the gray value after denoising the pixel to be denoised is calculated by the following formula (12):
  • the gray value after denoising the pixel point i; ⁇ is the neighborhood similarity of the pixel point i with the pixel point j in the J pixel points of the search area; ⁇ ) is calculated by the following formula (13):
  • Equation (13) N is the neighborhood of pixel i; ⁇ is the neighborhood of pixel j; h is the filter depth control parameter, which is generally determined by the noise variance; Z (0 is the normalization constant, satisfied)
  • Z() ⁇ w( , 7)
  • Option 1 Optimize the number of times the neighborhood similarity is calculated
  • the neighborhood similarity between the pixel point i and the pixel point j is determined to be 0;
  • the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • the ratio of the gray mean value of the neighborhood of the pixel point i to the neighborhood of the pixel point j is defined, as in the following formula (15):
  • Equation ( 16) G (0 is the gradient direction of the pixel point i; is the gradient direction of the pixel point j; ⁇ , ⁇ ) is the angle between the pixel point i and the gradient direction of the pixel point j.
  • the neighborhood similarity calculation formula shown in equation (13) is reduced to the following formula (17): when ⁇ ⁇ ⁇ , ⁇ ⁇ 2 ⁇ ⁇ , ⁇ ⁇ ⁇
  • Option 2 Optimize the complexity of calculating neighborhood similarity
  • the calculation is performed by downsampling of the neighborhood window. Due to the continuity of the image, the weighted distance of the downsampled neighborhood approximates the weighted distance of the original neighborhood.
  • represents the downsampling of the neighborhood window.
  • FIG. 6 is a schematic structural diagram of a noise canceling apparatus according to an embodiment of the present invention. As shown in FIG. 6, the noise canceling device 60 includes:
  • the estimating module 61 is configured to obtain, according to the mixed noise model, a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled, to obtain an estimated noise standard deviation function;
  • the variance stabilization conversion module 62 is configured to perform a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise; and a denoising module 63, configured to Decoding the second signal;
  • the variance stabilization inverse transform module 64 performs inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
  • the noise canceling apparatus based on the mixed noise model, has a mixture
  • the noise-compensated signal is used to estimate the noise standard deviation function, and the noise standard deviation function is used to perform the variance stabilization transformation, and the signal to be cancelled is converted into a signal with signal-independent noise, thereby being able to utilize any signal-independent noise-based denoising.
  • the method performs denoising. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
  • the variance stabilization conversion is realized by the following formula:
  • ( x ) is the estimated noise standard deviation function
  • c is the transformed constant standard deviation, and is the current pixel gray value before the transformation, and is the current pixel gray value after the transformation.
  • the estimating module is configured to: perform wavelet domain analysis on the first signal, and acquire a ( ⁇ , ⁇ ) scattergram;
  • a random sampling consistency algorithm RANSAC is used to perform curve fitting on the ( ⁇ , ⁇ ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
  • the original noiseless signal corresponding to the first signal is the estimated noise standard deviation function.
  • the denoising module is configured to traverse the pixels of the second signal in the following manner:
  • the neighborhood similarity between the pixel point i and the pixel point j is determined to be 0;
  • the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • the denoising module is configured to traverse the pixels of the second signal in the following manner: Downsampling the neighborhood window of the pixel point i to be denoised and the pixel point j of the search area; wherein i and j are both natural numbers;
  • the denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
  • FIG. 7 is a schematic structural diagram of a noise canceling apparatus according to another embodiment of the present invention.
  • the noise canceling device 70 includes a memory 71 and a processor 72, wherein:
  • a set of program codes is stored in the memory 71, and the processor 72 is configured to call the program code stored in the memory 71 for performing the following operations:
  • the noise standard deviation function is estimated by the mixed noise model based on the mixed noise model, and the variance standardization function is performed by using the noise standard deviation function to convert the signal to be cancelled into a signal.
  • a noise-independent signal that can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Embodiments of the present invention provide a noise elimination method and apparatus. The method comprises: based on a mixed noise model, acquiring a parameter estimated value of a noise standard deviation function of a first signal of the noise to be eliminated, so as to obtain an estimated noise standard deviation function; performing variance stabilizing transformation on the first signal according to the estimated noise standard deviation function, so as to obtain a second signal of the noise serving as the signal-independent noise; performing denoising on the second signal; performing inverse transformation to the variance stabilizing transformation on the denoised second signal, so as to complete noise elimination on the first signal. The noise elimination method and apparatus according to the embodiments of the present invention can implement effective denosing on the mixed noise comprising a signal-dependent noise component and a signal-independent noise component.

Description

噪声消除方法及装置 本申请要求于 2012 年 11 月 30 日提交中国专利局、 申请号为 201210504221.3、 发明名称为"噪声消除方法及装置 "的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域  The present invention claims priority to Chinese Patent Application No. 201210504221.3, entitled "Noise Cancellation Method and Apparatus", filed on November 30, 2012, the entire contents of which are incorporated by reference. In this application. Technical field
本发明涉及图像处理技术, 尤其涉及一种噪声消除方法及装置, 属于 通信技术领域。 背景技术  The present invention relates to image processing technology, and in particular, to a noise cancellation method and apparatus, and belongs to the field of communication technologies. Background technique
图像去噪一直是图像处理领域的热点研究问题。  Image denoising has always been a hot research issue in the field of image processing.
传统的图像去噪方法大多基于空域局部滤波的思想, 例如均值滤波、 高斯滤波、 双边滤波等。 空域局部滤波是基于空间位置临近的像素点一般 具有较为相似的灰度值这一假设, 通过将像素点的灰度值与邻域像素点的 灰度值作加权平均, 来去除噪声。 由于空间位置临近的像素点一般具有较 为相似灰度值的假设仅对图像的平滑部分适用, 而对图像的细节部分(边 缘、 紋理较强区域等) 不适用, 因此局部滤波方法容易导致图像细节的丢 失。  Traditional image denoising methods are mostly based on the idea of spatial local filtering, such as mean filtering, Gaussian filtering, and bilateral filtering. The spatial local filtering is based on the assumption that the pixel points adjacent to the spatial position generally have relatively similar gray values, and the noise is removed by weighting the gray value of the pixel points and the gray value of the neighboring pixel points. The assumption that the pixel points adjacent to the spatial position generally have relatively similar gray values is only applicable to the smooth portion of the image, but not to the detail portion of the image (edge, strong texture region, etc.), so the local filtering method easily leads to image details. Lost.
Buades等人在 2005年提出了一种非局部均值的图像去噪方法。 非局 部均值去噪算法主要利用数字图像中存在大量的自相似块这些冗余信息, 通过建立待去噪像素点邻域与搜索区域的像素点邻域的相似性测度, 计算 搜索区域各像素点与待去噪像素点的相似度权重, 然后对搜索区域内的像 素点进行加权平均, 从而计算得到待去噪像素点新的灰度值。 该算法在去 噪性能以及图像紋理、 边缘信息的保持上虽然具有非常好的效果, 但其基 于信号无关的高斯噪声假设。  In 2005, Buades et al. proposed a non-local mean image denoising method. The non-local mean denoising algorithm mainly uses the redundant information of a large number of self-similar blocks in the digital image, and calculates the similarity measure of the neighborhood of the pixel to be denoised and the pixel of the search area to calculate the pixel of the search area. The similarity weight with the pixel to be denoised, and then weighted and averaged the pixels in the search area, thereby calculating a new gray value of the pixel to be denoised. The algorithm has very good effects on denoising performance and image texture and edge information preservation, but it is based on signal-independent Gaussian noise assumption.
现有去噪技术大多基于信号无关的高斯噪声模型, 而在一些实际应用 场景中, 图像噪声可以是高斯噪声与信号相关噪声的混合噪声。 例如, 对 于传感器成像, 噪声模型既有信号无关的高斯噪声分量, 又有信号相关的 泊松噪声分量, 因此直接使用基于高斯噪声假设的去噪方法, 无法实现对 这种同时包含信号相关噪声分量和信号无关噪声分量的混合噪声的有效 去噪。 发明内容 针对现有技术中存在的缺陷, 本发明实施例提供一种噪声消除方法及 装置, 用于实现对同时包含信号相关噪声分量和信号无关噪声分量的混合 噪声的有效去噪。 Existing denoising techniques are mostly based on signal-independent Gaussian noise models. In some practical applications, image noise can be mixed noise of Gaussian noise and signal-related noise. For example, for sensor imaging, the noise model has both signal-independent Gaussian noise components and signal-related The Poisson noise component, therefore, directly using the denoising method based on the Gaussian noise hypothesis, can not achieve effective denoising of such mixed noise including both signal-related noise components and signal-independent noise components. SUMMARY OF THE INVENTION In view of the deficiencies in the prior art, embodiments of the present invention provide a noise cancellation method and apparatus for implementing effective denoising of mixed noise including both signal-related noise components and signal-independent noise components.
第一方面, 提供一种噪声消除方法, 包括:  In a first aspect, a noise cancellation method is provided, including:
基于混合噪声模型, 获取待消除噪声的第一信号的噪声标准差函数的 参数估计值, 以获得估计的噪声标准差函数;  Obtaining a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model to obtain an estimated noise standard deviation function;
根据估计的噪声标准差函数, 对所述第一信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号;  Performing a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise;
对所述第二信号进行去噪;  Denoising the second signal;
对去噪后的第二信号进行所述方差稳定化变换的反变换, 完成对所述 第一信号的噪声消除。  Performing an inverse transform of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
在第一方面的第一种可能的实现方式中, 所述方差稳定化变换是通过 如下公式实现的:
Figure imgf000004_0001
In a first possible implementation manner of the first aspect, the variance stabilization transform is implemented by using the following formula:
Figure imgf000004_0001
其中, ( 为所述估计的噪声标准差函数, c为变换后的恒定标准差, 为变换前当前像素灰度值, ^s^)为变换后当前像素灰度值。  Where (for the estimated noise standard deviation function, c is the transformed constant standard deviation, the current pixel gray value before the transform, ^s^) is the current pixel gray value after the transform.
在第一方面的第一种可能的实现方式中, 所述基于混合噪声模型, 获 取待消除噪声的第一信号的噪声标准差函数的参数估计值, 以获得估计的 噪声标准差函数, 包括:  In a first possible implementation manner of the first aspect, the acquiring, by the hybrid noise model, a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled, to obtain an estimated noise standard deviation function, includes:
对所述第一信号进行小波域分析, 获取 (χ,σ)散点图;  Performing wavelet domain analysis on the first signal to obtain a (χ, σ) scatter plot;
采用随机抽样一致性算法 RANSAC, 对所述 (χ,σ)散点图进行曲线拟 合, 获取第一噪声参数 a和第二噪声参数 b, 且: A random sampling consistency algorithm RANSAC is used to perform curve fitting on the (χ, σ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
Figure imgf000004_0002
Figure imgf000004_0002
其中, 为所述第一信号对应的原始无噪声信号, 为所述估计的 噪声标准差函数。 结合第一方面或第一方面的第一或第二种可能的实现方式, 在第一方 面的第三种可能的实现方式中, 所述对所述第二信号进行去噪, 包括按照 以下方式遍历所述第二信号的各像素点: The original noise-free signal corresponding to the first signal is the estimated noise standard deviation function. In conjunction with the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the performing the demodulating the second signal, Traversing the pixels of the second signal:
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断所述像素点 i与所述 像素点 j的梯度方向的夹角是否小于等于预设夹角; 其中 i和 j均为自然 数;  Determining, by a ratio of a grayscale mean of a neighborhood of the pixel point i to be denoised and a neighborhood of the pixel point j of the search area, whether the difference from 1 is less than or equal to a preset difference; and determining the pixel point i and Whether the angle of the gradient direction of the pixel point j is less than or equal to a preset angle; wherein i and j are both natural numbers;
若两者中的至少一个判断为否, 则将所述像素点 i与所述像素点 j的 邻域相似度确定为 0;  If at least one of the two is judged as no, the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算所述像素点 i与所述像素 点 j的邻域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
结合第一方面或第一方面的第一或第二种可能的实现方式, 在第一方 面的第四种可能的实现方式中, 所述对所述第二信号进行去噪, 包括按照 以下方式遍历所述第二信号的各像素点:  In conjunction with the first aspect or the first or second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the performing, Traversing the pixels of the second signal:
对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 其中 i和 j均为自然数;  The neighboring window of the pixel point i to be denoised and the pixel point j of the search area is downsampled; wherein i and j are natural numbers;
根据所述像素点 i的下采样邻域的灰度值, 和所述像素点 j的下采样 邻域的灰度值, 计算所述像素点 i与所述像素点 j的邻域相似度;  Calculating a neighborhood similarity between the pixel point i and the pixel point j according to a gray value of a downsampled neighborhood of the pixel point i and a gray value of a downsampled neighborhood of the pixel point j;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
第二方面, 提供一种噪声消除装置, 包括:  In a second aspect, a noise canceling apparatus is provided, including:
估计模块, 用于基于混合噪声模型, 获取待消除噪声的第一信号的噪 声标准差函数的参数估计值, 以获得估计的噪声标准差函数;  An estimation module, configured to acquire a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model, to obtain an estimated noise standard deviation function;
方差稳定化变换模块, 用于根据估计的噪声标准差函数, 对所述第一 信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号; 去噪模块, 用于对所述第二信号进行去噪;  a variance stabilization transformation module, configured to perform a variance stabilization transformation on the first signal according to the estimated noise standard deviation function, to obtain a second signal whose noise is signal-independent noise; and a denoising module, configured to The two signals are denoised;
方差稳定化反变换模块, 对去噪后的第二信号进行所述方差稳定化变 换的反变换, 完成对所述第一信号的噪声消除。 在第二方面的第一种可能的实现方式中, 所述方差稳定化变换是通过 如下公式实现的:
Figure imgf000006_0001
The variance stabilization inverse transform module performs inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal. In a first possible implementation manner of the second aspect, the variance stabilization transformation is implemented by using the following formula:
Figure imgf000006_0001
其中, (x)为所述估计的噪声标准差函数, c为变换后的恒定标准差, 为变换前当前像素灰度值, ^s^)为变换后当前像素灰度值。 Where ( x ) is the estimated noise standard deviation function, c is the transformed constant standard deviation, is the current pixel gray value before the transform, and ^s^) is the transformed current pixel gray value.
在第二方面的第二种可能的实现方式中, 所述估计模块用于: 对第一信号进行小波域分析, 获取 (X, ^散点图;  In a second possible implementation manner of the second aspect, the estimating module is configured to: perform wavelet domain analysis on the first signal, and obtain (X, ^ scatter diagram;
采用随机抽样一致性算法 RANSAC , 对所述 (χ, σ)散点图进行曲线拟 合, 获取第一噪声参数 a和第二噪声参数 b, 且: A random sampling consistency algorithm RANSAC is used to perform curve fitting on the (χ, σ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
Figure imgf000006_0002
Figure imgf000006_0002
其中, 为所述第一信号对应的原始无噪声信号, 为所述估计的 噪声标准差函数。  Wherein, the original noiseless signal corresponding to the first signal is the estimated noise standard deviation function.
结合第二方面或第二方面的第一或第二种可能的实现方式, 在第二方 面的第三种可能的实现方式中, 所述去噪模块用于按照以下方式遍历所述 第二信号的各像素点:  With reference to the second aspect, or the first or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the the denoising module is configured to traverse the second signal in the following manner Each pixel point:
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断所述像素点 i与所述 像素点 j的梯度方向的夹角是否小于等于预设夹角; 其中 i和 j均为自然 数;  Determining, by a ratio of a grayscale mean of a neighborhood of the pixel point i to be denoised and a neighborhood of the pixel point j of the search area, whether the difference from 1 is less than or equal to a preset difference; and determining the pixel point i and Whether the angle of the gradient direction of the pixel point j is less than or equal to a preset angle; wherein i and j are both natural numbers;
若两者中的至少一个判断为否, 则将所述像素点 i与所述像素点 j的 邻域相似度确定为 0 ;  If at least one of the two is judged to be no, the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算所述像素点 i与所述像素 点 j的邻域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
结合第二方面或第二方面的第一或第二种可能的实现方式, 在第二方 面的第四种可能的实现方式中, 所述去噪模块用于按照以下方式遍历所述 第二信号的各像素点:  With reference to the second aspect, or the first or the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the the denoising module is configured to traverse the second signal in the following manner Each pixel point:
对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 其中 i和 j均为自然数; 根据所述像素点 i的下采样邻域的灰度值, 和所述像素点 j的下采样 邻域的灰度值, 计算所述像素点 i与所述像素点 j的邻域相似度; Downsampling the neighborhood window of the pixel point i to be denoised and the pixel point j of the search area; wherein i and j are both natural numbers; Calculating a neighborhood similarity between the pixel point i and the pixel point j according to a gray value of a downsampled neighborhood of the pixel point i and a gray value of a downsampled neighborhood of the pixel point j;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
根据本发明实施例提供的噪声消除方法及装置, 通过基于混合噪声模 型, 对具有混合噪声的信号进行噪声标准差函数估计, 并利用噪声标准差 函数进行方差稳定化变换, 将待消除噪声的信号转换为具有信号无关噪声 的信号, 从而能够利用任意基于信号无关噪声假设的去噪方法进行去噪。 因此, 实现了对于同时包含信号相关噪声分量和信号无关噪声分量的混合 噪声的有效消除。 附图说明  According to the noise cancellation method and apparatus provided by the embodiment of the present invention, the noise standard deviation function is estimated by using the mixed noise model, and the noise standard deviation function is used to perform the variance stabilization transformation to remove the noise signal. It is converted to a signal with signal-independent noise so that it can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的中的技术方案, 下面将 对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来 讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and obviously, the attached in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为本发明实施例的噪声消除方法的流程示意图;  1 is a schematic flow chart of a noise cancellation method according to an embodiment of the present invention;
图 2为基于小波域分析进行噪声参数估计的原理示意图;  2 is a schematic diagram showing the principle of noise parameter estimation based on wavelet domain analysis;
图 3为 (χ,σ)散点图的一个示例;  Figure 3 is an example of a (χ, σ) scatter plot;
图 4为直接对图 3所示的 (χ,σ)散点图进行曲线拟合的结果示意图; 图 5为采用 RANSAC对 (χ,σ)散点图进行曲线拟合的结果示意图; 图 6为本发明一个实施例的噪声消除装置的结构示意图;  4 is a schematic diagram showing the results of curve fitting directly to the (χ, σ) scatter plot shown in FIG. 3; FIG. 5 is a schematic diagram showing the result of curve fitting using the RANSAC pair (χ, σ) scatter plot; A schematic structural diagram of a noise canceling apparatus according to an embodiment of the present invention;
图 7为本发明另一个实施例的噪声消除装置的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of a noise canceling apparatus according to another embodiment of the present invention. detailed description
图 1为本发明实施例的噪声消除方法的流程示意图。 如图 1所示, 该 噪声消除方法包括:  FIG. 1 is a schematic flow chart of a noise cancellation method according to an embodiment of the present invention. As shown in Figure 1, the noise cancellation method includes:
101, 基于混合噪声模型, 获取待消除噪声的第一信号的噪声标准差 函数的参数估计值, 以获得估计的噪声标准差函数;  101. Acquire, according to the mixed noise model, a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled, to obtain an estimated noise standard deviation function;
102, 根据估计的噪声标准差函数, 对所述第一信号进行方差稳定化 变换, 以获得噪声为信号无关噪声的第二信号; 102. Perform variance reconstruction on the first signal according to an estimated noise standard deviation function. Transforming to obtain a second signal whose noise is signal-independent noise;
103, 对所述第二信号进行去噪;  103. Perform denoising on the second signal.
104, 对去噪后的第二信号进行所述方差稳定化变换的反变换, 完成 对所述第一信号的噪声消除。  104. Perform inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
下文中, 以传感器成像的混合噪声模型为例, 对上述歩骤 101-104进 行详细说明。  In the following, the above-mentioned steps 101-104 will be described in detail by taking the mixed noise model of sensor imaging as an example.
具体地,传感器成像的混合噪声模型为泊松-高斯混合噪声模型,如下 述公式 (1) 所示:  Specifically, the mixed noise model for sensor imaging is a Poisson-Gaussian mixed noise model, as shown in the following equation (1):
y = x + vp(x) + vG 公式 (1) 其中, y为含有混合噪声的信号 (即第一信号) , 例如为传感器成像 的图像, X是原始无噪声信号, 是信号相关的泊松噪声成分, 是信 号无关的高斯噪声成分。 y = x + v p (x) + v G Formula ( 1) where y is the signal containing the mixed noise (ie the first signal), eg the image imaged by the sensor, X is the original noiseless signal, is signal dependent The Poisson noise component is a signal-independent Gaussian noise component.
对于泊松噪声成分, 满足以下公式 (2) 和 (3) :  For the Poisson noise component, the following formulas (2) and (3) are satisfied:
—(x + Vp) ~ P (—x)  —(x + Vp) ~ P (—x)
a a 公式 (2) a a formula (2)
Var^) = ax 公式 (3) 其中, var(o为泊松噪声成分的噪声方差。 对于高斯噪声成分, 满足以下公式 (4) 和 (5) Var^) = ax Equation (3) where, v ar (o is the noise variance of the Poisson noise component. For Gaussian noise components, the following equations (4) and (5) are satisfied.
公式 (4) Formula (4)
^o) = b 公式 (5) 其中, Var ^为高斯噪声成分的噪声方差。 ^o) = b Equation ( 5) where Var ^ is the noise variance of the Gaussian noise component.
因此, 混合噪声的噪声方差满足以下公式 (6) :  Therefore, the noise variance of the mixed noise satisfies the following formula (6):
σ2 =αχ + δ 公式 (6) 其中, σ2为混合噪声的噪声方差; a和 b为噪声参数, 其可以采用任 意方式来实现, 例如基于小波域分析进行噪声参数估计。 σ 2 =αχ + δ Equation (6) where σ 2 is the noise variance of the mixed noise; a and b are noise parameters, which can be implemented in any way, for example, based on wavelet domain analysis for noise parameter estimation.
图 2为基于小波域分析进行噪声参数估计的原理示意图。如图 2所示, 对图像 y进行二维离散小波变换, 获得 WA、 WH、 Wv和 WD四个不同的 小波系数子图, 其中 WA为近似系数, WH为水平细节, Wv为垂直细节, WD为对角线细节; 将\\^子图中各像素点的梯度与预设的梯度值相比较, 去掉 WA子图中梯度较大的像素点, 留下平滑区域; 将平滑区域包括的像 素点根据灰度划分成 N个水平集 S2, ... ..., SN, 其中不同的水平集对 应不同的灰度范围; 在每个水平集 ( i=[ l, N] ) 中利用 WA估计 x,, 利 用 WD估计 并使用曲线拟合的方法,对所获得的 (χ,σ)散点图进行拟合, 得到噪声参数 a和 。 Figure 2 is a schematic diagram of the principle of noise parameter estimation based on wavelet domain analysis. As shown in FIG. 2, a two-dimensional discrete wavelet transform is performed on the image y to obtain four different wavelet coefficient subgraphs of W A , W H , W v and W D , where W A is an approximate coefficient and W H is a horizontal detail. W v is the vertical detail, W D is the diagonal detail; the gradient of each pixel in the \\^ subgraph is compared with the preset gradient value, and the pixel with the larger gradient in the W A subgraph is removed, leaving Smooth area; image to be included in the smooth area The prime points are divided into N level sets S 2 , ..., S N according to the gray scale, wherein different level sets correspond to different gray scale ranges; in each level set (i=[ l, N] ) Using W A to estimate x, using W D estimation and using curve fitting, the obtained (χ, σ) scatter plot is fitted to obtain the noise parameter a and .
此外, 由于对于固定传感器, 噪声参数 a和 b是固定的, 因此可以根 据传感器拍摄的一些图像, 对噪声参数 a和 b进行估计, 并将估计获得的 噪声参数 a和 b进行存储, 以在进行后续图像去噪时直接调用。  In addition, since the noise parameters a and b are fixed for the fixed sensor, the noise parameters a and b can be estimated based on some images taken by the sensor, and the estimated noise parameters a and b are stored for execution. Called directly after subsequent image denoising.
根据估计获得的噪声参数 a和 b, 即可获得如以下公式(7 )所示的估 计的噪声标准差函数:  Based on the estimated noise parameters a and b, the estimated noise standard deviation function as shown in the following formula (7) can be obtained:
σ(χ) = fax + b 公式 ( 7 ) 获得噪声标准差函数后, 对图像 y进行方差稳定化变换 (Variance Stabilizing Transformation, VST ) 。 其中, 方差稳定化变换的作用, 是通 过灰度值的非线性映射, 将信号相关、 方差变动的噪声转变为信号无关、 方差恒定的噪声, 变换后的图像(即第二信号)的噪声可认为是高斯噪声。  σ(χ) = fax + b Equation (7) After obtaining the noise standard deviation function, the image y is subjected to Variance Stabilizing Transformation (VST). Among them, the effect of the variance stabilization transformation is to convert the noise of signal correlation and variance variation into noise with signal independence and constant variance through nonlinear mapping of gray values, and the noise of the transformed image (ie, the second signal) can be It is considered to be Gaussian noise.
方差稳定化变换例如通过以下公式 (8 ) 来实现:  The variance stabilization transformation is achieved, for example, by the following formula (8):
,VST ( = " -dx , VST ( = " -dx
ά^ 公式 (8 ) 其中, ^χ)为估计的噪声标准差函数; c为变换后的恒定标准差, 其 可以是大于 0的任意数值, 例如设置为 0.01 ; t为当前像素点, 执行方差 稳定化变换前的灰度值; /VST(0为当前像素点, 执行方差稳定化变换后的 灰度值。 ά^ Equation (8) where ^χ) is the estimated noise standard deviation function; c is the transformed constant standard deviation, which can be any value greater than 0, for example set to 0.01; t is the current pixel point, execution variance Stabilize the gray value before the transform; / VST (0 is the current pixel point, and the gray value after the variance is stabilized.
执行方差稳定化变换后, 可以使用基于高斯噪声的任意去噪方法进行 去噪, 例如采用非局部均值的图像去噪方法等。  After performing the variance stabilization transformation, any denoising method based on Gaussian noise can be used for denoising, for example, an image denoising method using non-local mean.
完成去噪后, 再使用方差稳定化变换的反变换, 将灰度值映射回来, 从而获得对图像 y消除噪声后的图像, 至此, 完成对具有混合噪声的图像 y的去噪处理。  After the denoising is completed, the inverse transform of the variance stabilization transform is used to map the grayscale values back, thereby obtaining an image after the noise is cancelled for the image y, and thus, the denoising processing for the image y with the mixed noise is completed.
其中, 方差稳定化变换的反变换与方差稳定化变换的关系满足以下公 式 (9 ) : Wherein, the inverse transformation of the variance stabilization transformation and the variance stabilization transformation satisfy the following formula (9):
IVST( ^ /VST( 公式 ( 9 ) 对于泊松-高斯混合噪声模型,方差稳定化变换的反变换的表达式例如 以下公式 (10) 和 (11 公式 (10)
Figure imgf000010_0001
公式 (11 ) 需要说明的是:在上述过程中,虽然以传感器成像的泊松 -高斯混合噪 声为例, 对上述实施例的噪声消除方法的具体过程进行了说明, 但本领域 的技术人员能够理解, 对于任意满足噪声方差为信号强度的单调函数的混 合噪声, 均可以通过上述实施例的噪声消除方法进行噪声消除。
IVST( ^ /VST( Equation ( 9 ) For the Poisson-Gaussian mixed noise model, the inverse transformation of the variance stabilization transformation is eg The following formulas (10) and (11 formulas (10)
Figure imgf000010_0001
Formula (11) It should be noted that in the above process, although the Poisson-Gaussian mixed noise of the sensor imaging is taken as an example, the specific process of the noise canceling method of the above embodiment is explained, but those skilled in the art can It is understood that noise cancellation can be performed by the noise cancellation method of the above embodiment for any mixed noise that satisfies the monotonic function whose noise variance is the signal strength.
此外, 方差稳定化变换的具体实现方式也可以采取与公式 (8 ) 不同 的其它方式, 只要能够将信号相关方差变为信号无关方差即可, 本发明实 施例中不做限制, 例如采用以下公式实现方差稳定化变换:  In addition, the specific implementation of the variance stabilization transformation may also take other manners different from the formula (8), as long as the signal correlation variance can be changed to a signal-independent variance, which is not limited in the embodiment of the present invention, for example, the following formula is adopted. Implement the variance stabilization transformation:
根据上述实施例的噪声消除方法, 通过基于混合噪声模型, 对具有混 合噪声的信号进行噪声标准差函数估计, 并利用噪声标准差函数进行方差 稳定化变换, 将待消除噪声的信号转换为具有信号无关噪声的信号, 从而 能够利用任意基于信号无关噪声假设的去噪方法进行去噪。 因此, 实现了 对于同时包含信号相关噪声分量和信号无关噪声分量的混合噪声的有效 消除。 According to the noise canceling method of the above embodiment, the noise standard deviation function is estimated by using the mixed noise model, and the noise standard deviation function is used to perform the variance stabilization transform, and the signal to be cancelled is converted into a signal. A noise-independent signal that can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
进一歩地, 在上述实施例的噪声消除方法的基础上, 对获取待消除噪 声的第一信号的噪声标准差函数的参数估计值的过程进行优化。 具体地, 基于小波域分析进行噪声参数估计, 获取到 (χ,σ)散点图后, 采用随机抽样 一致性算法(RANSAC) , 对 (χ,σ)散点图进行曲线拟合, 以获取噪声参数 a禾口 b。  Further, on the basis of the noise canceling method of the above embodiment, the process of obtaining the parameter estimated value of the noise standard deviation function of the first signal to be cancelled is optimized. Specifically, the noise parameter estimation is performed based on the wavelet domain analysis, and after obtaining the (χ, σ) scattergram, the random sampling consistency algorithm (RANSAC) is used to perform curve fitting on the (χ, σ) scatter plot to obtain Noise parameters a and b.
更为具体地, 采用 RANSAC对 (χ,σ)散点图进行曲线拟合包括以下歩 骤:  More specifically, curve fitting a (χ, σ) scatter plot using RANSAC includes the following steps:
歩骤 1、 随机选择两点, 拟合噪声模型曲线;  Step 1. Randomly select two points and fit the noise model curve;
歩骤 2、 检查所拟合的噪声模型曲线是否满足《≥0且 6≥0, 若不满足, 重复执行歩骤 1 ;  Step 2: Check whether the fitted noise model curve satisfies "≥0 and 6≥0. If not, repeat step 1;
歩骤 3、 在所有点中, 统计离拟合曲线的距离小于给定阈值的点 (下 文中将这种点称为内点)的数目。若内点数超过前面迭代所获得的内点数, 则记录为最大内点数。 Step 3. In all points, the point where the distance from the fitted curve is less than the given threshold is calculated. The number of such points is referred to as the inner point in the text. If the number of internal points exceeds the number of internal points obtained by the previous iteration, it is recorded as the maximum number of internal points.
歩骤 4、 根据最大内点数计算需要的迭代次数。  Step 4. Calculate the number of iterations required based on the maximum number of interior points.
歩骤 5、 迭代歩骤 1〜4, 直到迭代次数足够。  Step 5. Iterate steps 1 to 4 until the number of iterations is sufficient.
歩骤 6、 用内点数最多的噪声模型曲线中的所有内点重新进行模型拟 合。  Step 6. Re-model the model with all the interior points in the noise model curve with the largest number of points.
图 3为 (χ,σ)散点图的一个示例;图 4为直接对图 3所示的 (χ,σ)散点图 进行曲线拟合的结果示意图; 图 5为采用 RANSAC对 (χ,σ)散点图进行曲 线拟合的结果示意图。根据图 3-5可以看出,通过采用 RANSAC对 (χ,σ)散 点图进行曲线拟合, 显著提高了噪声参数估计的鲁棒性, 从而有效提高了 噪声消除性能。  Figure 3 is an example of a (χ, σ) scatter plot; Figure 4 is a schematic diagram of the result of curve fitting directly to the (χ, σ) scatter plot shown in Figure 3; Figure 5 is a RANSAC pair (χ, σ) Schematic diagram of the results of curve fitting for scatter plots. It can be seen from Fig. 3-5 that the curve fitting of the (χ, σ) scatter plot by RANSAC significantly improves the robustness of the noise parameter estimation, thus effectively improving the noise cancellation performance.
进一歩地, 在上述实施例的噪声消除方法的基础上, 对执行方差稳定 化变换后的信号 (即第二信号) 进行去噪的过程进行优化。  Further, on the basis of the noise canceling method of the above embodiment, the process of performing the denoising of the signal (i.e., the second signal) after performing the variance stabilization conversion is optimized.
具体地, 利用现有的非局部均值的图像去噪方法对执行方差稳定化变 换后的信号, 进行去噪时, 是通过建立待去噪像素点的邻域与搜索区域的 像素点的邻域的相似性测度, 计算搜索区域各像素点与待去噪像素点的相 似度权重, 然后对搜索区域内的像素点进行加权平均, 从而计算得到待去 噪像素点新的灰度值, 即去噪后的灰度值。  Specifically, the existing non-local mean image denoising method is used to perform denoising on the signal after performing the variance stabilization transformation, by establishing a neighborhood of the pixel to be denoised and the pixel of the search area. The similarity measure calculates the similarity weight of each pixel in the search area and the pixel to be denoised, and then performs weighted averaging on the pixels in the search area, thereby calculating a new gray value of the pixel to be denoised, that is, going Gray value after noise.
待去噪像素点去噪后的灰度值通过以下公式 (12) 计算:  The gray value after denoising the pixel to be denoised is calculated by the following formula (12):
NL(v)( =∑w( , 7)v(i)  NL(v)( =∑w( , 7)v(i)
^ 公式 (12) 其中, 像素点 i为待去噪的像素点; 像素点 j为搜索区域中的像素点; I为执行方差稳定化变换后的图像的全部像素点; ν( 为像素点 j的灰度值;  ^ Equation (12) where pixel i is the pixel to be denoised; pixel j is the pixel in the search region; I is the pixel of the image after performing the variance-constant transformation; ν (for pixel j Gray value
为像素点 i去噪后的灰度值; κ , 为像素点 i与搜索区域的 J个像 素点中的像素点 j的邻域相似度; ^)通过以下公式 (13 ) 计算:  The gray value after denoising the pixel point i; κ is the neighborhood similarity of the pixel point i with the pixel point j in the J pixel points of the search area; ^) is calculated by the following formula (13):
1 ||ν(Ν ;·)— v(N ||l。 1 ||ν(Ν ; ·)— v(N ||l.
w(i, j) = e hl w(i, j) = e hl
z« 公式(13 ) 其中, N,为像素点 i的邻域; ^为像素点 j的邻域; h为滤波深度控 制参数, 一般由噪声方差确定; Z(0为归一化常数, 满足以下公式(14) : Z( ) =∑w( , 7)  z« Equation (13) where N is the neighborhood of pixel i; ^ is the neighborhood of pixel j; h is the filter depth control parameter, which is generally determined by the noise variance; Z (0 is the normalization constant, satisfied) The following formula (14): Z() = ∑w( , 7)
1 公式(14) 本发明实施例中, 提供以下两种对上述基于非局部均值的图像去噪方 法进行优化的方案: 1 formula (14) In the embodiment of the present invention, the following two schemes for optimizing the image denoising method based on the non-local mean are provided:
方案一: 对计算邻域相似度的次数进行优化;  Option 1: Optimize the number of times the neighborhood similarity is calculated;
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断像素点 i与像素点 j 的梯度方向的夹角是否小于等于预设夹角;  Determining, by the ratio of the grayscale mean of the neighborhood of the pixel point i to be denoised and the neighborhood of the pixel j of the search area, whether the difference from 1 is less than or equal to the preset difference; and determining the pixel point i and the pixel point j Whether the angle of the gradient direction is less than or equal to the preset angle;
若两者中的至少一个判断为否, 则将像素点 i与像素点 j的邻域相似 度确定为 0;  If at least one of the two is judged as no, the neighborhood similarity between the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算像素点 i与像素点 j的邻 域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和像素点 j的灰度值, 计算得到所述像素点 i的 去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
具体地, 在方案一中, 定义像素点 i的邻域与像素点 j的邻域的灰度 均值之比, 如以下公式 (15) 所式:  Specifically, in the first scheme, the ratio of the gray mean value of the neighborhood of the pixel point i to the neighborhood of the pixel point j is defined, as in the following formula (15):
w(N,)  w(N,)
公式 (15) 其中, N,为像素点 i的邻域; ^为像素点 j的邻域; N,)为像素点 i 的邻域的灰度均值; ^.)为像素点 j的邻域的灰度均值; ^, 为^与^的 灰度均值之比;  Equation (15) where N is the neighborhood of pixel i; ^ is the neighborhood of pixel j; N,) is the gray mean of the neighborhood of pixel i; ^.) is the neighborhood of pixel j Gray mean value; ^, is the ratio of the gray mean of ^ and ^;
还定义像素点 i与像素点 j的梯度方向的夹角, 如以下公式 (16) 所 式
Figure imgf000012_0001
公式 (16) 其中, G(0为像素点 i的梯度方向; 为像素点 j的梯度方向; ^·, ·) 为像素点 i与像素点 j的梯度方向的夹角。
Also defining the angle between the pixel point i and the gradient direction of the pixel point j, as expressed by the following formula (16)
Figure imgf000012_0001
Equation ( 16) where G (0 is the gradient direction of the pixel point i; is the gradient direction of the pixel point j; ^·, ·) is the angle between the pixel point i and the gradient direction of the pixel point j.
对于邻域的灰度均值相差较大, 或者梯度方向差异较大的像素点, 不 计算其邻域相似度, 直接认为是 0。 基于该思想, 结合上述定义, 将公式 ( 13) 所示的邻域相似度计算公式化简为以下公式 (17) : 当 ηι≤ι^, ≤η2Άθ ,β≤ζFor a pixel with a large difference in gray mean values in the neighborhood or a large difference in the gradient direction, the neighborhood similarity is not calculated and is directly considered to be 0. Based on this idea, combined with the above definition, the neighborhood similarity calculation formula shown in equation (13) is reduced to the following formula (17): when ηι ≤ ι^, ≤ η 2 Ά θ , β ≤ ζ
Figure imgf000012_0002
其他 公式 ( 17) 其中, η ;;2和^均为根据需要预先设置的数值, 其中; ^为小于 1的 正数, 例如设置为 0.9; 为大于 1的数值, 例如设置为 1.1 ; 为小于等 于 90度的角度值, 例如设置为 60度。
Figure imgf000012_0002
Other formulas ( 17) Where η ;; 2 and ^ are both values set in advance according to needs, where ^ is a positive number less than 1, for example set to 0.9; a value greater than 1, for example set to 1.1; an angle less than or equal to 90 degrees The value, for example, is set to 60 degrees.
通过上述方案一, 能够有效降低计算邻域相似度的次数。  Through the foregoing scheme 1, the number of times of calculating the neighborhood similarity can be effectively reduced.
方案二: 对计算邻域相似度的复杂度进行优化;  Option 2: Optimize the complexity of calculating neighborhood similarity;
对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 根据像素点 i的下采样邻域的灰度值, 和像素点 j的下采样邻域的灰 度值, 计算像素点 i与像素点 j的邻域相似度。  Decoding the denoised pixel point i and the neighborhood window of the pixel j of the search area; according to the gray value of the downsampled neighborhood of the pixel point i, and the gray value of the downsampled neighborhood of the pixel point j, The neighborhood similarity between the pixel point i and the pixel point j is calculated.
具体地, 在方案二中, 利用邻域窗口的下采样来执行计算。 由于图像 的连续性, 下采样邻域的加权距离近似于原邻域的加权距离。  Specifically, in the second scheme, the calculation is performed by downsampling of the neighborhood window. Due to the continuity of the image, the weighted distance of the downsampled neighborhood approximates the weighted distance of the original neighborhood.
基于该思想, 将公式 (13 ) 所示的邻域相似度计算公式化简为以下公 式 (18 ) :  Based on this idea, the neighborhood similarity calculation formula shown in equation (13) is reduced to the following formula (18):
||ν( -Ν, )-ν( -Ν, )|| α ||ν( -Ν, )-ν( -Ν, )|| α
其中, Ν表示邻域窗口的下采样。 Where Ν represents the downsampling of the neighborhood window.
通过上述方案二, 能够大幅减少邻域相似度的计算的复杂度。  Through the above scheme 2, the computational complexity of the neighborhood similarity can be greatly reduced.
上述方案一和方案二既可以单独使用, 也可以结合使用, 本发明实施 例中做限制。  The foregoing solution 1 and solution 2 may be used alone or in combination, and are limited in the embodiment of the present invention.
图 6为本发明一个实施例的噪声消除装置的结构示意图。如图 6所示, 该噪声消除装置 60包括:  FIG. 6 is a schematic structural diagram of a noise canceling apparatus according to an embodiment of the present invention. As shown in FIG. 6, the noise canceling device 60 includes:
估计模块 61, 用于基于混合噪声模型, 获取待消除噪声的第一信号的 噪声标准差函数的参数估计值, 以获得估计的噪声标准差函数;  The estimating module 61 is configured to obtain, according to the mixed noise model, a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled, to obtain an estimated noise standard deviation function;
方差稳定化变换模块 62, 用于根据估计的噪声标准差函数, 对所述第 一信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号; 去噪模块 63, 用于对所述第二信号进行去噪;  The variance stabilization conversion module 62 is configured to perform a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise; and a denoising module 63, configured to Decoding the second signal;
方差稳定化反变换模块 64,对去噪后的第二信号进行所述方差稳定化 变换的反变换, 完成对所述第一信号的噪声消除。  The variance stabilization inverse transform module 64 performs inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
上述实施例的噪声消除装置消除噪声的具体流程与上述实施例的噪 声消除方法相同, 故此处不再赘述。  The specific flow of the noise canceling apparatus of the above embodiment for eliminating noise is the same as that of the noise canceling method of the above embodiment, and therefore will not be described herein.
根据上述实施例的噪声消除装置, 通过基于混合噪声模型, 对具有混 合噪声的信号进行噪声标准差函数估计, 并利用噪声标准差函数进行方差 稳定化变换, 将待消除噪声的信号转换为具有信号无关噪声的信号, 从而 能够利用任意基于信号无关噪声假设的去噪方法进行去噪。 因此, 实现了 对于同时包含信号相关噪声分量和信号无关噪声分量的混合噪声的有效 消除。 The noise canceling apparatus according to the above embodiment, based on the mixed noise model, has a mixture The noise-compensated signal is used to estimate the noise standard deviation function, and the noise standard deviation function is used to perform the variance stabilization transformation, and the signal to be cancelled is converted into a signal with signal-independent noise, thereby being able to utilize any signal-independent noise-based denoising. The method performs denoising. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
进一歩地, 在上述实施例的噪声消除装置中, 所述方差稳定化变换是 通过如下公式实现的:  Further, in the noise canceling apparatus of the above embodiment, the variance stabilization conversion is realized by the following formula:
其中, (x)为所述估计的噪声标准差函数, c为变换后的恒定标准差, 为变换前当前像素灰度值, 为变换后当前像素灰度值。 Where ( x ) is the estimated noise standard deviation function, c is the transformed constant standard deviation, and is the current pixel gray value before the transformation, and is the current pixel gray value after the transformation.
进一歩地, 在上述实施例的噪声消除装置中, 所述估计模块用于: 对第一信号进行小波域分析, 获取 (χ, σ)散点图;  Further, in the noise canceling apparatus of the above embodiment, the estimating module is configured to: perform wavelet domain analysis on the first signal, and acquire a (χ, σ) scattergram;
采用随机抽样一致性算法 RANSAC , 对所述 (χ, σ)散点图进行曲线拟 合, 获取第一噪声参数 a和第二噪声参数 b, 且: A random sampling consistency algorithm RANSAC is used to perform curve fitting on the (χ, σ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
Figure imgf000014_0001
Figure imgf000014_0001
其中, 为所述第一信号对应的原始无噪声信号, 为所述估计的 噪声标准差函数。  Wherein, the original noiseless signal corresponding to the first signal is the estimated noise standard deviation function.
进一歩地, 在上述实施例的噪声消除装置中, 所述去噪模块用于按照 以下方式遍历所述第二信号的各像素点:  Further, in the noise canceling apparatus of the above embodiment, the denoising module is configured to traverse the pixels of the second signal in the following manner:
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断像素点 i与像素点 j 的梯度方向的夹角是否小于等于预设夹角; 其中 i和 j均为自然数;  Determining, by the ratio of the grayscale mean of the neighborhood of the pixel point i to be denoised and the neighborhood of the pixel j of the search area, whether the difference from 1 is less than or equal to the preset difference; and determining the pixel point i and the pixel point j Whether the angle of the gradient direction is less than or equal to a preset angle; wherein i and j are natural numbers;
若两者中的至少一个判断为否, 则将像素点 i与像素点 j的邻域相似 度确定为 0;  If at least one of the two is judged as no, the neighborhood similarity between the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算像素点 i与像素点 j的邻 域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和像素点 j的灰度值, 计算得到所述像素点 i的 去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
进一歩地, 在上述实施例的噪声消除装置中, 所述去噪模块用于按照 以下方式遍历所述第二信号的各像素点: 对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 其中 i和 j均为自然数; Further, in the noise canceling apparatus of the above embodiment, the denoising module is configured to traverse the pixels of the second signal in the following manner: Downsampling the neighborhood window of the pixel point i to be denoised and the pixel point j of the search area; wherein i and j are both natural numbers;
根据像素点 i的下采样邻域的灰度值, 和像素点 j的下采样邻域的灰 度值, 计算像素点 i与像素点 j的邻域相似度;  Calculating the neighborhood similarity between the pixel point i and the pixel point j according to the gray value of the downsampling neighborhood of the pixel point i and the gray value of the downsampling neighborhood of the pixel point j;
根据所述邻域相似度和像素点 j的灰度值, 计算得到所述像素点 i的 去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
图 7为本发明另一个实施例的噪声消除装置的结构示意图。如图 7所 示, 该噪声消除装置 70包括存储器 71和处理器 72, 其中:  FIG. 7 is a schematic structural diagram of a noise canceling apparatus according to another embodiment of the present invention. As shown in Figure 7, the noise canceling device 70 includes a memory 71 and a processor 72, wherein:
存储器 71中存储一组程序代码, 且处理器 72用于调用存储器 71中 存储的程序代码, 用于执行以下操作:  A set of program codes is stored in the memory 71, and the processor 72 is configured to call the program code stored in the memory 71 for performing the following operations:
基于混合噪声模型, 获取待消除噪声的第一信号的噪声标准差函数的 参数估计值, 以获得估计的噪声标准差函数;  Obtaining a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model to obtain an estimated noise standard deviation function;
根据估计的噪声标准差函数, 对所述第一信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号;  Performing a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise;
对所述第二信号进行去噪;  Denoising the second signal;
对去噪后的第二信号进行所述方差稳定化变换的反变换, 完成对所述 第一信号的噪声消除。  Performing an inverse transform of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
上述实施例的噪声消除装置消除噪声的具体流程与上述实施例的噪 声消除方法相同, 故此处不再赘述。  The specific flow of the noise canceling apparatus of the above embodiment for eliminating noise is the same as that of the noise canceling method of the above embodiment, and therefore will not be described herein.
根据上述实施例的噪声消除装置, 通过基于混合噪声模型, 对具有混 合噪声的信号进行噪声标准差函数估计, 并利用噪声标准差函数进行方差 稳定化变换, 将待消除噪声的信号转换为具有信号无关噪声的信号, 从而 能够利用任意基于信号无关噪声假设的去噪方法进行去噪。 因此, 实现了 对于同时包含信号相关噪声分量和信号无关噪声分量的混合噪声的有效 消除。  According to the noise canceling apparatus of the above embodiment, the noise standard deviation function is estimated by the mixed noise model based on the mixed noise model, and the variance standardization function is performed by using the noise standard deviation function to convert the signal to be cancelled into a signal. A noise-independent signal that can be denoised using any denoising method based on signal-independent noise assumptions. Therefore, an effective cancellation of mixed noise including both signal-dependent noise components and signal-independent noise components is achieved.
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 歩骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的歩 骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存 储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk. It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 Claim
1、 一种噪声消除方法, 其特征在于, 包括: A noise cancellation method, comprising:
基于混合噪声模型, 获取待消除噪声的第一信号的噪声标准差函数的 参数估计值, 以获得估计的噪声标准差函数;  Obtaining a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model to obtain an estimated noise standard deviation function;
根据估计的噪声标准差函数, 对所述第一信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号;  Performing a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise;
对所述第二信号进行去噪;  Denoising the second signal;
对去噪后的第二信号进行所述方差稳定化变换的反变换, 完成对所述 第一信号的噪声消除。  Performing an inverse transform of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
2、 根据权利要求 1所述的噪声消除方法, 其特征在于, 所述方差稳 定化变换是通过如下公式实现的:
Figure imgf000017_0001
2. The noise canceling method according to claim 1, wherein the variance stabilization transform is implemented by the following formula:
Figure imgf000017_0001
其中, 为所述估计的噪声标准差函数, c为变换后的恒定标准差, 为变换前当前像素灰度值, 为变换后当前像素灰度值。  Wherein, for the estimated noise standard deviation function, c is the transformed constant standard deviation, which is the current pixel gray value before the transformation, and is the current pixel gray value after the transformation.
3、 根据权利要求 1所述的噪声消除方法, 其特征在于, 所述基于混 合噪声模型, 获取待消除噪声的第一信号的噪声标准差函数的参数估计 值, 以获得估计的噪声标准差函数, 包括:  The noise cancellation method according to claim 1, wherein the parameter estimation value of the noise standard deviation function of the first signal of the noise to be cancelled is obtained based on the mixed noise model to obtain an estimated noise standard deviation function. , including:
对所述第一信号进行小波域分析, 获取 (χ, σ)散点图;  Performing a wavelet domain analysis on the first signal to obtain a (χ, σ) scattergram;
采用随机抽样一致性算法 RANSAC , 对所述 (χ, σ)散点图进行曲线拟 合, 获取第一噪声参数 a和第二噪声参数 b, 且: A random sampling consistency algorithm RANSAC is used to perform curve fitting on the (χ, σ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
Figure imgf000017_0002
Figure imgf000017_0002
其中, 为所述第一信号对应的原始无噪声信号, 为所述估计的 噪声标准差函数。  Wherein, the original noiseless signal corresponding to the first signal is the estimated noise standard deviation function.
4、根据权利要求 1 -3任一所述的噪声消除方法, 其特征在于, 所述对 所述第二信号进行去噪, 包括按照以下方式遍历所述第二信号的各像素 点:  The noise canceling method according to any one of claims 1 to 3, wherein the denoising the second signal comprises traversing each pixel of the second signal in the following manner:
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断所述像素点 i与所述 像素点 j的梯度方向的夹角是否小于等于预设夹角; 其中 i和 j均为自然 数; Determining, by a ratio of a grayscale mean of a neighborhood of the pixel point i to be denoised and a neighborhood of the pixel point j of the search area, whether the difference from 1 is less than or equal to a preset difference; and determining the pixel point i and Whether the angle of the gradient direction of the pixel point j is less than or equal to a preset angle; wherein i and j are both natural Number
若两者中的至少一个判断为否, 则将所述像素点 i与所述像素点 j的 邻域相似度确定为 0;  If at least one of the two is judged as no, the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算所述像素点 i与所述像素 点 j的邻域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
5、根据权利要求 1-3任一所述的噪声消除方法, 其特征在于, 所述对 所述第二信号进行去噪, 包括按照以下方式遍历所述第二信号的各像素 点:  The noise canceling method according to any one of claims 1-3, wherein the denoising the second signal comprises traversing each pixel of the second signal in the following manner:
对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 其中 i和 j均为自然数;  The neighboring window of the pixel point i to be denoised and the pixel point j of the search area is downsampled; wherein i and j are natural numbers;
根据所述像素点 i的下采样邻域的灰度值, 和所述像素点 j的下采样 邻域的灰度值, 计算所述像素点 i与所述像素点 j的邻域相似度;  Calculating a neighborhood similarity between the pixel point i and the pixel point j according to a gray value of a downsampled neighborhood of the pixel point i and a gray value of a downsampled neighborhood of the pixel point j;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
6、 一种噪声消除装置, 其特征在于, 包括:  6. A noise canceling device, comprising:
估计模块, 用于基于混合噪声模型, 获取待消除噪声的第一信号的噪 声标准差函数的参数估计值, 以获得估计的噪声标准差函数;  An estimation module, configured to acquire a parameter estimation value of a noise standard deviation function of the first signal of the noise to be cancelled based on the mixed noise model, to obtain an estimated noise standard deviation function;
方差稳定化变换模块, 用于根据估计的噪声标准差函数, 对所述第一 信号进行方差稳定化变换, 以获得噪声为信号无关噪声的第二信号;  a variance stabilization transformation module, configured to perform a variance stabilization transformation on the first signal according to the estimated noise standard deviation function to obtain a second signal whose noise is signal-independent noise;
去噪模块, 用于对所述第二信号进行去噪;  a denoising module, configured to perform denoising on the second signal;
方差稳定化反变换模块, 对去噪后的第二信号进行所述方差稳定化变 换的反变换, 完成对所述第一信号的噪声消除。  The variance stabilization inverse transform module performs inverse transformation of the variance stabilization transform on the denoised second signal to complete noise cancellation on the first signal.
7、 根据权利要求 6所述的噪声消除装置, 其特征在于, 所述方差稳 定化变换是通过如下公式实现的:
Figure imgf000018_0001
7. The noise canceling apparatus according to claim 6, wherein the variance stabilization conversion is implemented by the following formula:
Figure imgf000018_0001
其中, 为所述估计的噪声标准差函数, c为变换后的恒定标准差, 为变换前当前像素灰度值, 为变换后当前像素灰度值。  Wherein, for the estimated noise standard deviation function, c is the transformed constant standard deviation, which is the current pixel gray value before the transformation, and is the current pixel gray value after the transformation.
8、 根据权利要求 6所述的噪声消除装置, 其特征在于, 所述估计模 块用于: 8. The noise canceling apparatus according to claim 6, wherein said estimating mode The block is used to:
对第一信号进行小波域分析, 获取 (χ, σ)散点图;  Perform wavelet domain analysis on the first signal to obtain a (χ, σ) scatter plot;
采用随机抽样一致性算法 RANSAC , 对所述 (χ, σ)散点图进行曲线拟 合, 获取第一噪声参数 a和第二噪声参数 b, 且: A random sampling consistency algorithm RANSAC is used to perform curve fitting on the (χ, σ) scatter plot to obtain a first noise parameter a and a second noise parameter b, and:
Figure imgf000019_0001
Figure imgf000019_0001
其中, 为所述第一信号对应的原始无噪声信号, (x)为所述估计的 噪声标准差函数。 Wherein, the original noise-free signal corresponding to the first signal, ( x ) is the estimated noise standard deviation function.
9、根据权利要求 6-8任一所述的噪声消除装置, 其特征在于, 所述去 噪模块用于按照以下方式遍历所述第二信号的各像素点:  The noise canceling apparatus according to any one of claims 6-8, wherein the denoising module is configured to traverse each pixel of the second signal in the following manner:
判断待去噪的像素点 i的邻域与搜索区域的像素点 j的邻域的灰度均 值之比, 与 1的差值是否小于等于预设差值; 并判断所述像素点 i与所述 像素点 j的梯度方向的夹角是否小于等于预设夹角; 其中 i和 j均为自然 数;  Determining, by a ratio of a grayscale mean of a neighborhood of the pixel point i to be denoised and a neighborhood of the pixel point j of the search area, whether the difference from 1 is less than or equal to a preset difference; and determining the pixel point i and Whether the angle of the gradient direction of the pixel point j is less than or equal to a preset angle; wherein i and j are both natural numbers;
若两者中的至少一个判断为否, 则将所述像素点 i与所述像素点 j的 邻域相似度确定为 0 ;  If at least one of the two is judged to be no, the neighborhood similarity of the pixel point i and the pixel point j is determined to be 0;
若两者均判断为是, 则根据预设公式, 计算所述像素点 i与所述像素 点 j的邻域相似度;  If both are judged as YES, the neighborhood similarity between the pixel point i and the pixel point j is calculated according to a preset formula;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
10、 根据权利要求 6-8任一所述的噪声消除装置, 其特征在于, 所述 去噪模块用于按照以下方式遍历所述第二信号的各像素点:  The noise canceling apparatus according to any one of claims 6-8, wherein the denoising module is configured to traverse each pixel of the second signal in the following manner:
对待去噪的像素点 i和搜索区域的像素点 j的邻域窗口进行下采样; 其中 i和 j均为自然数;  The neighboring window of the pixel point i to be denoised and the pixel point j of the search area is downsampled; wherein i and j are natural numbers;
根据所述像素点 i的下采样邻域的灰度值, 和所述像素点 j的下采样 邻域的灰度值, 计算所述像素点 i与所述像素点 j的邻域相似度;  Calculating a neighborhood similarity between the pixel point i and the pixel point j according to a gray value of a downsampled neighborhood of the pixel point i and a gray value of a downsampled neighborhood of the pixel point j;
根据所述邻域相似度和所述像素点 j的灰度值, 计算得到所述像素点 i的去噪后的灰度值。  The denoised gray value of the pixel point i is calculated according to the neighborhood similarity and the gray value of the pixel point j.
PCT/CN2013/077669 2012-11-30 2013-06-21 Noise elimination method and apparatus WO2014082441A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012105042213A CN102968770A (en) 2012-11-30 2012-11-30 Method and device for eliminating noise
CN201210504221.3 2012-11-30

Publications (1)

Publication Number Publication Date
WO2014082441A1 true WO2014082441A1 (en) 2014-06-05

Family

ID=47798898

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/077669 WO2014082441A1 (en) 2012-11-30 2013-06-21 Noise elimination method and apparatus

Country Status (2)

Country Link
CN (1) CN102968770A (en)
WO (1) WO2014082441A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784733A (en) * 2020-07-06 2020-10-16 深圳市安健科技股份有限公司 Image processing method, device, terminal and computer readable storage medium
CN113129235A (en) * 2021-04-22 2021-07-16 深圳市深图医学影像设备有限公司 Medical image noise suppression algorithm
CN113598786A (en) * 2021-09-03 2021-11-05 青岛雅斯生物科技有限公司 Electrocardio monitoring devices
CN117408890A (en) * 2023-12-14 2024-01-16 武汉泽塔云科技股份有限公司 Video image transmission quality enhancement method and system
CN117788570A (en) * 2024-02-26 2024-03-29 山东济矿鲁能煤电股份有限公司阳城煤矿 Bucket wheel machine positioning method and system based on machine vision

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968770A (en) * 2012-11-30 2013-03-13 华为技术有限公司 Method and device for eliminating noise
US10726525B2 (en) * 2017-09-26 2020-07-28 Samsung Electronics Co., Ltd. Image denoising neural network architecture and method of training the same
CN108171118B (en) * 2017-12-05 2020-10-02 东软集团股份有限公司 Blink signal data processing method and device, readable storage medium and electronic equipment
CN110730280B (en) * 2018-07-17 2021-08-31 瑞昱半导体股份有限公司 Noise equalization method and noise removal method
CN108899041B (en) * 2018-08-20 2019-12-27 百度在线网络技术(北京)有限公司 Voice signal noise adding method, device and storage medium
CN109345489A (en) * 2018-10-31 2019-02-15 福州大学 Error diffusion method based on image pixel neighborhood grayscale information
CN111667428A (en) * 2020-06-05 2020-09-15 北京百度网讯科技有限公司 Noise generation method and device based on automatic search

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923775A (en) * 1996-04-04 1999-07-13 Eastman Kodak Company Apparatus and method for signal dependent noise estimation and reduction in digital images
US20040008904A1 (en) * 2003-07-10 2004-01-15 Samsung Electronics Co., Ltd. Method and apparatus for noise reduction using discrete wavelet transform
CN101582984A (en) * 2009-04-14 2009-11-18 公安部物证鉴定中心 Method and device for eliminating image noise
CN102117482A (en) * 2011-04-13 2011-07-06 西安电子科技大学 Non-local mean image denoising method combined with structure information
CN102968770A (en) * 2012-11-30 2013-03-13 华为技术有限公司 Method and device for eliminating noise

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3956926B2 (en) * 2003-09-24 2007-08-08 アイシン精機株式会社 Road lane detection device
JP3864945B2 (en) * 2003-09-24 2007-01-10 アイシン精機株式会社 Road lane detection device
CN102663396B (en) * 2012-03-09 2013-12-18 华中科技大学 Method for automatically detecting rice milky ripe stage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923775A (en) * 1996-04-04 1999-07-13 Eastman Kodak Company Apparatus and method for signal dependent noise estimation and reduction in digital images
US20040008904A1 (en) * 2003-07-10 2004-01-15 Samsung Electronics Co., Ltd. Method and apparatus for noise reduction using discrete wavelet transform
CN101582984A (en) * 2009-04-14 2009-11-18 公安部物证鉴定中心 Method and device for eliminating image noise
CN102117482A (en) * 2011-04-13 2011-07-06 西安电子科技大学 Non-local mean image denoising method combined with structure information
CN102968770A (en) * 2012-11-30 2013-03-13 华为技术有限公司 Method and device for eliminating noise

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784733A (en) * 2020-07-06 2020-10-16 深圳市安健科技股份有限公司 Image processing method, device, terminal and computer readable storage medium
CN111784733B (en) * 2020-07-06 2024-04-16 深圳市安健科技股份有限公司 Image processing method, device, terminal and computer readable storage medium
CN113129235A (en) * 2021-04-22 2021-07-16 深圳市深图医学影像设备有限公司 Medical image noise suppression algorithm
CN113598786A (en) * 2021-09-03 2021-11-05 青岛雅斯生物科技有限公司 Electrocardio monitoring devices
CN117408890A (en) * 2023-12-14 2024-01-16 武汉泽塔云科技股份有限公司 Video image transmission quality enhancement method and system
CN117408890B (en) * 2023-12-14 2024-03-08 武汉泽塔云科技股份有限公司 Video image transmission quality enhancement method and system
CN117788570A (en) * 2024-02-26 2024-03-29 山东济矿鲁能煤电股份有限公司阳城煤矿 Bucket wheel machine positioning method and system based on machine vision

Also Published As

Publication number Publication date
CN102968770A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
WO2014082441A1 (en) Noise elimination method and apparatus
Zhang et al. An edge-guided image interpolation algorithm via directional filtering and data fusion
CN108921800B (en) Non-local mean denoising method based on shape self-adaptive search window
CN107172322B (en) Video noise reduction method and device
KR20170058277A (en) Method for upscaling noisy images, and apparatus for upscaling noisy images
CN103533214A (en) Video real-time denoising method based on kalman filtering and bilateral filtering
CN104103041B (en) Ultrasonoscopy mixed noise Adaptive Suppression method
CN108932699B (en) Three-dimensional matching harmonic filtering image denoising method based on transform domain
JP2004362578A (en) Weighted overcomplete denoising
Zhang et al. Image denoising and zooming under the linear minimum mean square-error estimation framework
CN110533608B (en) Image banding noise suppression method and device, electronic device and storage medium
CN107085826B (en) Image super-resolution reconstruction method based on weighted overlap non-local regression prior
CN113222853B (en) Progressive infrared image noise reduction method based on noise estimation
CN111724318B (en) Image denoising method based on mixed high-order partial differential equation model
CN105741255A (en) Image fusion method and device
CN116385312A (en) Low-illumination image denoising method based on phase correlation
CN111652810A (en) Image denoising method based on wavelet domain singular value differential model
CN109191391B (en) Attenuation parameter self-adaptive non-local mean image noise reduction method
Wei et al. Image denoising based on improved gaussian mixture model
Zhao et al. Image restoration under significant additive noise
KR100468862B1 (en) Apparatus for noise reduction in image and Method thereof
CN104166961B (en) The fuzzy core method of estimation that low-rank for blindly restoring image approaches
Yang et al. A multi-frame adaptive super-resolution method using double channel and regional pixel information
CN112927169A (en) Remote sensing image denoising method based on wavelet transformation and improved weighted nuclear norm minimization
CN112686814A (en) Affine low-rank based image denoising method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13859267

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13859267

Country of ref document: EP

Kind code of ref document: A1