Skip to main content
HAL-INSERM logoLink to HAL-INSERM
. Author manuscript; available in PMC: 2009 Apr 6.
Published in final edited form as: Med Image Comput Comput Assist Interv. 2008;11(Pt 2):171–179. doi: 10.1007/978-3-540-85990-1_21

Rician noise removal by non-Local Means filtering for low signal-to-noise ratio MRI: applications to DT-MRI

Nicolas Wiest-Daesslé 1,*, Sylvain Prima 1, Pierrick Coupé 1, Sean Patrick Morrissey 1,2, Christian Barillot 1
PMCID: PMC2665702  PMID: 18982603

Abstract

Diffusion-Weighted MRI (DW-MRI) is subject to random noise yielding measures that are different from their real values, and thus biasing the subsequently estimated tensors. The Non-Local Means (NLMeans) filter has recently been proposed to denoise MRI with high signal-to-noise ratio (SNR). This filter has been shown to allow the best restoration of image intensities for the estimation of diffusion tensors (DT) compared to state-of-the-art methods. However, for DW-MR images with high b-values (and thus low SNR), the noise, which is strictly Rician-distributed, can no longer be approximated as additive white Gaussian, as implicitly assumed in the classical formulation of the NLMeans. High b-values are typically used in high angular resolution diffusion imaging (HARDI) or q-space imaging (QSI), for which an optimal restoration is critical. In this paper, we propose to adapt the NLMeans filter to Rician noise corrupted data. Validation is performed on synthetic data and on real data for both conventional MR images and DT images. Our adaptation outperforms the original NLMeans filter in terms of peak-signal-to-noise ratio (PSNR) for DW-MRI.

Keywords: Algorithms; Artifacts; Diffusion Magnetic Resonance Imaging; methods; Humans; Image Enhancement; methods; Image Interpretation, Computer-Assisted; methods; Magnetic Resonance Imaging; methods; Reproducibility of Results; Sensitivity and Specificity

1. Introduction

In MRI the data are acquired as complex values which are corrupted by Johnson noise. This noise is well modeled by a Gaussian probability density function in the real and imaginary parts of the complex data. The scanner usually only provides the magnitude of the complex data. In this magnitude image, the initial Gaussian noise in complex space is nonlinearly transformed and the resulting noise is Rician-distributed. This noise induces a bias in the MR intensities, which on average are overestimated compared to their true, unknown value. However, when the SNR is high, the Rician distribution can be conveniently approximated by a Gaussian distribution.

In previous works [1, 2], the non-local means (NLMeans) filter has been applied to conventional MRI and DW-MRI with high SNR and allows the best restoration of image intensities for DT images compared to state-of-the-art methods. The quality of image restoration was compared for three variants of the NLMeans filter and with the anisotropic diffusion (AD) and total variation (TV) method.

However, for DW-MR images with high b-values, the signal is very much attenuated, which yields low SNR values. The noise can no longer be approximated as additive white Gaussian, as implicitly assumed in the classical formulation of the NLMeans. High b-values are typically used in high angular resolution diffusion imaging (HARDI) or q-space imaging (QSI), for which an optimal restoration is critical.

In this paper, we adapt the NLMeans filter to Rician noise corrupted data and we show that our new version outperforms the previously proposed NLMeans filter. In Section 3, we give an overview of the NLMeans filter and the adaptation to Rician distributed noise, and in Section 4, we describe the experiments for the validation of the method on synthetic and real data.

2. Related work

Some methods have been proposed to correct the Rician bias, but most often assume either that 1) the complex data is available (which is not common on clinical scanners, and most importantly useless in case of DW data, due to the motion-induced phase shifts) or that 2) several measures of diffusion induced attenuation are performed at each voxel (which is not realistic in clinical settings) (see Sijbers et al. [3] and references therein). These techniques are thus not applicable at hand, but two remarks can be made. First, there are usually much more DW images to be acquired than what is required to estimate a 6-parameter tensor, or even higher-order representations of diffusion (multiple tensors, spherical harmonics, etc.). Second, most voxels in the image are very likely to exhibit the same diffusion properties as many others in the image (for instance, but not exclusively, voxels in a spatial neighbourhood of the voxel under study). In a word, there is always some (often hidden) redundancy of information in the DW data that could/should be used to explicitly tackle the Rician noise in both estimation and regularisation steps.

In fact, little has been proposed to do so. In DTI, most estimation schemes are based on least squares (LS) regression and variants (linear, non-linear, robust, etc.) on the intensities (or their logarithm), which implicitly considers the underlying noise as Gaussian [4, 5]. In parallel, techniques have been developed to regularize such LS-estimated tensor images [611]. It is noteworthy that some of these methods tried to couple estimation and regularisation, but still with an implicit Gaussian assumption on the noise [6], until a recent paper showed how to combine the two tasks with a Rician assumption [11]. Two other attempts have been made to account for the Rician noise to estimate the DT image [12] or to regularize the DW data [13]. The last work experimentally found the regularisation to be more efficient on DWI before tensor estimation compared to the opposite. This is the approach we follow in this paper.

3. Method

3.1. The non-local means filter

The NLMeans filter [1, 14] relies on the redundancy of information contained in the images to remove noise. The filter restores the intensity of the voxel xi by computing a weighted average of all voxels intensities in the image I.

In the following, we make a few heuristic, intuitive remarks and show how they underlie the original NLMeans algorithm. Then we show how to adapt the NLMeans to Rician-corrupted data.

Gaussian NLMeans

Let us suppose that we have an MR image corrupted by i.i.d. Gaussian noise Inline graphic(0, σ2). If we are given a homogeneous region with n voxels v1, …, vn (or equivalently, n measures of the same voxel value), a probabilistic interpretation is to see the voxel values x1, …, xn as the realisations of n independent random variables Xi following the same Gaussian law Inline graphic (μ, σ2). A natural way to restore the value x of voxel v in this region is then to replace it by the average x^=i1nxi. This estimate is very satisfying as it is the maximum likelihood (ML) estimate of x. It can then be noted that, given some weights wi, Ei wiXi) = μ, even if wi1n, provided Σi wi = 1.

In practice, no such homogeneous region is available at hand, and several measures of the same voxel value are rarely acquired. However, if one has a way to evaluate the likelihood of each voxel value in the overall image (or in a search volume V) to have been drawn from the same distribution as the current voxel v, and to reflect this likelihood in a weight wi, then the voxel value x can be restored, using the abovementioned remark, as:

NLMG(x)=xiVwixi. (1)

The idea of the NLMeans filter is to weigh each voxel value xi in V in the restoration of x using the similarity (in terms of intensity) between their spatial neighbourhoods N and Ni of size S as follows:

wi=1Z(i)e1Sk=1Sykzk2h (2)

where Z(i) is a normalization constant with Z(i) = Σi wi, yk and zk are the values of the k-th voxels in the neighbourhoods N and Ni, and h acts as a filtering parameter (for more details see [1] and Fig. 1). The filtering parameter h is related to the noise variance σ2 [15], and is estimated using the pseudo-residual technique proposed by Gasser et al. [16].

Fig. 1. NLMeans principle: A two-dimensional illustration.

Fig. 1

The restored value of voxel v with value x is a weighted average of all intensities xi of voxels vi in the search volume V. The weight wi is based on the similarity of the intensities in cubic neighbourhoods N and Ni around v and vi.

Rician NLMeans

In case of Rician noise, there is no closed-form for the ML estimate of the true signal μ given n such measures xi [3]. However, the even order moments of the Rician law have very simple expressions. In particular, the second-order moment is: E(Xi2)=μ2+2σ2 where σ2 is the variance of the Gaussian noise of complex MRI data. The measured value of xi2 (and that of xi) is thus usually overestimated compared to its true, unknown value, which is termed the Rician bias in the following. Using the same remark as in the Gaussian case, that is E(iwiXi2)=μ2+2σ2 it then seems natural to restore x as iwixi22σ2, the weights wi being carefully chosen and summing to 1. The voxel value x can be restored as:

NLMR(x)=(xiVwixi2)2σ2, (3)

where σ2is the noise variance. As noted by others in case of i.i.d. random variables Xi and with wi=1n, the term under the square root has a non-null probability to be negative, which decreases when n is large [3]. In such cases the restored value is set to zero. In practice, on real data, negative values are mainly found in the background of the images.

Multiple techniques can be used to estimate the variance of the noise. Fillard et al. [11] estimate the variance by the computation of the average of the squared signal in the background, assuming the true signal to be null in that area and reusing the second-order moment of the Rician p.d.f. According to Landman et al. [12] this approach is not correct due to zero padding in the Fourier transform performed in the scanner. They propose another method requiring multiple acquisitions, which is not desired in clinical settings. Thus we simply estimated the noise variance using the pseudo-residual technique [16]. An online version of both filters (NLMG and NLMR) is available for testing on our website: http://www.irisa.fr/visages/benchmarks/.

4. Validation and results

In this section, we propose a validation of the NLMR filter in comparison with the previously proposed NLMeans [1] called NLMG in the following. In a first part we compare the quality of both filters in terms of PSNR, on synthetic data corrupted by Rician noise. In a second part, a visual assessment of the filters applied on real images is performed.

4.1. Generation of Rician noise

Given a noise-free image, we generated Rician-corrupted data as follows. For each voxel x of the image, we computed s as:

s=(x2+nr)2+(x2+ni)2 (4)

where nr and ni ~ Inline graphic(0, σ2). The value s is the realisation of a random variable with a Rician p.d.f. with parameters x and σ.

4.2. Validation on synthetic data

A ground truth image was selected and corrupted with Rician noise of known variance, and the PSNR between the reference and denoised image was computed. In these experiments the filtering parameter h (Eq. 2) was set to the noise variance, i.e. h = σ.

Synthetic MRI

The comparison was performed on the total head area and on specific brain tissues for both BrainWeb’s T1w and T2w MR images. Figure 2 displays the PSNR curves on the BrainWeb T1w (resp. T2w) MRI for the different tissues classes. The graph on the left displays the PSNR of the complete head and the graph on the right displays the graph of PSNR for the Gray Matter (GM), White Matter (WM) and Cerebro-Spinal Fluid (CSF) versus the standard deviation σ of the noise, for both filters.

Fig. 2.

Fig. 2

PSNR of synthetic T1w images at different Rician noise levels. Left: PSNR in the head. Right: PSNR in WM, GM and CSF.

These graphs clearly indicate that the NLMR filter outperforms the NLMG filter in terms of PSNR values for both tested MR images. For low noise variance the performance of the NLMR is very close to that of the NLMG which was expected because for high SNR the Rician noise is almost Gaussian distributed.

Synthetic Diffusion tensors

The application of our filter can remove the need for averaging in HARDI acquisitions and thus allows faster acquisition which will make the HARDI acquisition clinically more feasible. A synthetic DT field was created [6] using anisotropic tensor with different orientations. The DW images were reconstructed using the Stejskal-Tanner [17] equation: Si=S0ebgiTDgi.

In order to simulate DW-MRI with low SNR values, Rician noise was added to the synthetic DWI and a high b-value (3000 s.mm−2) was selected. The gradient directions gi were taken from a real MR acquisition with 80 directions. In order to compare the ground truth with the resulting denoised tensor fields at different SNR, a Log-Euclidean RMS was used [18]. The NLMR is closer to the reference tensor image than the NLMG for the different noise levels (Figure 4).

Fig. 4.

Fig. 4

Left: Diffusion tensor RMS comparison of the NLMG and NLMR on synthetic data. Right: a) Synthetic tensor field, b) noisy tensor field, c) NLMG, d) NLMR.

4.3. Results on real data

In this section, we applied the NLMR filter on real data for both conventional (T1w and T2w) and DW-MRI data.

T1w and T2w MRI

In the experiments with real conventional MRI data, the behaviour of both filters are quite similar due to the high SNR values of the images acquired in a clinical context. Figure 5 displays a close-up of an acquisition, and the NLMG and NLMR filtered version of a T2w MRI. A visual inspection shows a difference between the original version and the two filtered versions. However the two filtered images are visually quite similar.

Fig. 5.

Fig. 5

Close-up of a T2w MR image. Left: Acquired Data, Middle: NLMG, Right: NLMR

Diffusion-Weighted MRI

In this section, we focus on DW-MRI at high b-value (3000 s.mm2) and with 200 different directions. The experiments on 10 subjects display a higher FA for NLMR in highly anisotropic regions of the brain compared to the estimation of the tensors on both native data and NLMG filtered data (Fig. 6).

Fig. 6.

Fig. 6

Color Map of diffusion tensor main orientation weighted by the fractional anisotropy. Left: Acquired data, Middle: NLMG, Right: NLMR. The Fractional anisotropy of the data is higher in the Rician NLMeans version. The orientations seem in agreement with the known brain anatomy.

5. Discussion and Conclusion

For conventional MRI the Rician NLMeans filter outperforms the previous version of the NLMeans filter. A comparison between the two approaches will be performed in a near future. Previous work showed that this filter is the best one for denoising MRI when compared with state-of-the-art filters [1, 2]. Both NLMeans filters preserve the edges and small structures of the brain such as vessels or multiple sclerosis lesions. Using other arguments, Manjón et al. [19] have recently derived another formula to denoise Rician-corrupted data while removing the bias. Essentially, they proposed to remove 2σ2 to the squared restored value (using the Gaussian NLMeans) while we remove it from the restored squared value (using the Gaussian NLMeans). These results on DW-MRI are very important as there is increasing research interest for higher b-values since they have clear advantages compared to lower b-values for angular discrimination (QBalls, ODF) especially in clinical settings for strokes [20] or Alzheimer’s disease [21]. These clinical results could be even further improved with the restoration of the data. The impact of the NLMR version for HARDI data is evaluated in Descoteaux et al. [22].

Fig. 3.

Fig. 3

PSNR of synthetic T2w images at different Rician noise levels. Left: PSNR in the head. Right: PSNR in the WM, GM and CSF.

Acknowledgments

Nicolas Wiest-Daesslé is supported by a grant from the ARSEP (French association for research on multiple sclerosis (Association pour la Recherche sur la Sclérose en Plaques).

References

  • 1.Coupé P, et al. An Optimized Blockwise Non Local Means Denoising Filter for 3D Magnetic Resonance Images. Transactions on Medical Imaging. 2008;27(4):425–441. doi: 10.1109/TMI.2007.906087. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Wiest-Daesslé N, et al. Non-local means variants for denoising of diffusion-weighted and diffusion tensor MRI. MICCAI’2007. 2007:344–351. doi: 10.1007/978-3-540-75759-7_42. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Sijbers J, den Dekker AJ. Maximum likelihood estimation of signal amplitude and noise variance from MR data. Magn Reson Med. 2004 Mar;51(3):586–594. doi: 10.1002/mrm.10728. [DOI] [PubMed] [Google Scholar]
  • 4.Koay CG, et al. A unifying theoretical and algorithmic framework for least squares methods of estimation in diffusion tensor imaging. J Magn Reson. 2006 Sep;182(1):115–125. doi: 10.1016/j.jmr.2006.06.020. [DOI] [PubMed] [Google Scholar]
  • 5.Chang LC, et al. RESTORE: robust estimation of tensors by outlier rejection. Magn Reson Med. 2005 May;53(5):1088–1095. doi: 10.1002/mrm.20426. [DOI] [PubMed] [Google Scholar]
  • 6.Tschumperlé D, Deriche R. Variational frameworks for DT-MRI estimation, regularization and visualization. ICCV’03. 2003 Oct;:116–121. [Google Scholar]
  • 7.Coulon O, et al. Diffusion tensor magnetic resonance image regularization. Med Image Anal. 2004 Mar;8(1):47–67. doi: 10.1016/j.media.2003.06.002. [DOI] [PubMed] [Google Scholar]
  • 8.Chefd’hotel C, et al. Regularizing flows for constrained matrix-valued images. Journal of Mathematical Imaging and Vision. 2004;20(1–2):147–162. [Google Scholar]
  • 9.Pennec X, et al. A Riemannian framework for tensor computing. International Journal of Computer Vision. 2006 Jan;66(1):41–66. [Google Scholar]
  • 10.Castaño-Moraga C, et al. A Riemannian approach to anisotropic filtering of tensor fields. Signal Processing. 2007 Feb;87(2):263–276. [Google Scholar]
  • 11.Fillard P, et al. Clinical DT-MRI estimation, smoothing, and fiber tracking with log-Euclidean metrics. IEEE TMI. 2007 Nov;26(11):1472–1482. doi: 10.1109/TMI.2007.899173. [DOI] [PubMed] [Google Scholar]
  • 12.Landman B, et al. Diffusion Tensor Estimation by Maximizing Rician Likelihood. In: Lew M, et al., editors. ICCV’07. Rio de Janeiro; Brazil: Oct, 2007. pp. 1–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Basu S, et al. Rician Noise Removal in Diffusion Tensor MRI. MICCAI’2006. 2006:117–125. doi: 10.1007/11866565_15. [DOI] [PubMed] [Google Scholar]
  • 14.Buades A, et al. A review of image denoising algorithms, with a new one. Multiscale Modeling & Simulation. 2005;4(2):490–530. [Google Scholar]
  • 15.Kervrann C, et al. Bayesian non-local means filter, image redundancy and adaptive dictionaries for noise removal. Springer. 2007:520–532. [Google Scholar]
  • 16.Gasser T, et al. Residual variance and residual pattern in non linear regression. Biometrika. 1986;73(3):625–633. [Google Scholar]
  • 17.Stejskal EO, Tanner JE. Spin Diffusion Measurements: Spin Echoes in the Presence of a Time-Dependent Field Gradient. The Journal of Chemical Physics. 1965;42(1):288–292. [Google Scholar]
  • 18.Arsigny V, et al. Fast and simple calculus on tensors in the Log-Euclidean framework. MICCAI’05. 2005 Oct;3749:115–122. doi: 10.1007/11566465_15. [DOI] [PubMed] [Google Scholar]
  • 19.Manjón JV, et al. MRI denoising using Non-Local Means. Medical Image Analysis. 2008 doi: 10.1016/j.media.2008.02.004. In Press, Corrected Proof. [DOI] [PubMed] [Google Scholar]
  • 20.Keiko T, et al. Usefulness of high-b-value diffusion-weighted imaging in acute cerebral infarction. European Radiology. 2007 May;17(5):1212–1220. doi: 10.1007/s00330-006-0397-9. [DOI] [PubMed] [Google Scholar]
  • 21.Yoshiura T, et al. High b value diffusion-weighted imaging is more sensitive to white matter degeneration in Alzheimer’s disease. NeuroImage. 2003 Sep;20(1):413–419. doi: 10.1016/s1053-8119(03)00342-2. [DOI] [PubMed] [Google Scholar]
  • 22.Descoteaux M, et al. Impact of Rician Adapted Non-Local Means Filtering on HARDI. MICCAI’2008. 2008 doi: 10.1007/978-3-540-85990-1_15. [DOI] [PubMed] [Google Scholar]

RESOURCES