DOI : 10.5281/zenodo.21833351
- Open Access

- Authors : Prateek Rudresh Hanchinal, Dr. Lavanya M
- Paper ID : IJERTV15IS080004
- Volume & Issue : Volume 15, Issue 08 , August – 2026
- Published (First Online): 07-08-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Adaptive Parameter Selection in PeronaMalik Anisotropic Diffusion for MRI Image Denoising
Prateek Rudresh Hanchinal
Dept. of Electronics and Communication Engineering Maharaja Institute of Technology Mysore Karnataka, India
Dr. Lavanya M
Dept. of Electronics and Communication Engineering Maharaja Institute of Technology Mysore Karnataka, India
Abstract – Magnetic Resonance Imaging (MRI) is a widely used diagnostic modality, but acquired scans are frequently corrupted by acquisition noise that degrades clinical interpretability and downstream automated analysis. This paper presents an Adaptive PeronaMalik (APM) anisotropic diffusion framework for MRI denoising that removes the dependence of the classical algorithm on manually tuned diffusion parameters. The proposed framework couples automatic image-noise estimation with adaptive selection of the conductance coefficient and an adaptive convergence criterion that halts diffusion once pixel-wise change falls below a data-driven threshold. Six denoising strategies Gaussian filtering, Median filtering, Bilateral filtering, Non-Local Means (NLM) filtering, the classical PeronaMalik (PM) algorithm, and the proposed APM framework were implemented in Python and benchmarked on grayscale brain MRI images corrupted with synthetic Gaussian and Speckle noise. Performance was quantified using Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index Measure (SSIM), Mean Squared Error (MSE), an Edge Preservation Index (EPI), and computational runtime. Bilateral filtering attained the highest PSNR (26.17 dB) and the Median filter produced the best SSIM (0.6766), lowest MSE (49.38), and shortest runtime (1.1 ms) on the evaluated dataset. While the proposed APM framework did not surpass the classical baselines on every metric, it eliminated manual parameter tuning entirely and produced a stable, reproducible diffusion pipeline, establishing a foundation for optimization-driven and hybrid extensions.
Keywords – MRI Denoising, Anisotropic Diffusion, Perona Malik, Adaptive Parameter Selection, Noise Estimation, Image Quality Assessment.
-
INTRODUCTION
Magnetic Resonance Imaging occupies a central role in modern diagnostic radiology because it resolves soft-tissue contrast without ionizing radiation, making it indispensable for detecting neurological disorders, brain tumors, and other structural abnormalities [1]. Despite this advantage, MRI acquisition and reconstruction pipelines introduce noise predominantly thermal and Rician-distributed magnitude noise
that lowers contrast, obscures fine anatomical boundaries, and can bias both radiologist interpretation and automated analysis pipelines such as segmentation and registration.
Denoising algorithms therefore form an essential pre- processing stage in medical image analysis. The central difficulty is balancing noise suppression against structural fidelity: aggressive smoothing erases diagnostically relevant edges, while conservative smoothing leaves residual noise. Spatial filters such as Gaussian, Median, Bilateral, and Non- Local Means filtering offer different trade-offs along this axis. Among diffusion-based approaches, the PeronaMalik anisotropic diffusion model [1] remains influential because it smooths homogeneous regions while inhibiting diffusion across strong gradients, effectively preserving edges.
The practical drawback of the classical PM algorithm is its reliance on a manually chosen conductance coefficient K and a fixed iteration count, both of which are usually tuned empirically per image. This dependence limits reproducibility and makes the algorithm difficult to deploy consistently across MRI datasets with heterogeneous noise characteristics. This paper investigates an adaptive parameter-selection strategy that estimates image noise directly from pixel statistics and derives the conductance coefficient and stopping criterion automatically, removing the need for manual tuning while retaining the edge-preserving character of anisotropic diffusion.
The remainder of this paper is organized as follows. Section II reviews related work on classical and learning-based denoising. Section III describes the proposed Adaptive PeronaMalik methodology. Section IV details the experimental dataset and setup. Section V presents quantitative and qualitative results with discussion, and Section VI concludes the paper and outlines future directions.
-
LITERATURE SURVEY
Perona and Malik [1] introduced anisotropic diffusion for edge- preserving smoothing using a gradient-dependent partial differential equation, establishing the mathematical basis for diffusion-based denoising but leaving parameter selection to manual trial and error. Weickert [5] extended this theory with more general diffusion tensors and adaptive conductance functions, providing a stronger mathematical treatment of edge preservation under diffusion.
Tomasi and Manduchi [2] proposed the Bilateral filter, which combines spatial and intensity-domain weighting to smooth homogeneous regions while retaining edges; its performance, however, is likewise sensitive to kernel-parameter choice and incurs higher computational cost than linear filters. Buades et al. [3] introduced Non-Local Means filtering, which denoises
by averaging over similar image patches rather than local neighborhoods, improving texture preservation at the expense of computational overhead on large medical images.
Gudbjartsson and Patz [4] showed that magnitude MRI images follow a Rician rather than Gaussian noise distribution, a finding that later informed statistically grounded noise- estimation methods for MRI-specific denoising [6],[7]. Building on this line of work, several studies have argued that automatic, statistically driven noise estimation is essential for adapting classical filters to real acquisition conditions rather than relying on fixed or manually tuned parameters.
Deep-learning approaches such as U-Net [8], residual learning [10], and self-configuring frameworks like nnU-Net [9] have demonstrated strong performance on biomedical image restoration and segmentation tasks, but they require large annotated datasets, substantial computational resources, and lose interpretability relative to model-based diffusion methods. Standard references [6],[11],[13],[14] provide the classical
image-processing and optimization background used in this work. Motivated by this literature, the present study focuses on retaining the interpretable, edge-preserving structure of Perona Malik diffusion while removing its dependence on manual parameter tuning through automatic, statistics-driven adaptation.
-
PROPOSED METHODOLOGY
-
System Overview
The proposed pipeline consists of five stages: (i) MRI image acquisition and pre-processing, (ii) synthetic noise injection for controlled evaluation, (iii) application of six denoising algorithms under identical conditions, (iv) quantitative performance evaluation, and (v) comparative and visual analysis. Fig. 1 illustrates the internal workflow of the proposed Adaptive PeronaMalik (APM) module, which forms the core contribution of this work.
-
Noise Model
Fig. 1. Workflow of the proposed Adaptive PeronaMalik denoising framework.
regions. In the classical formulation, both K and the number of diffusion iterations must be chosen manually and re-tuned
To evaluate robustness under controlled conditions, grayscale brain MRI images were corrupted with two synhetic noise models. Gaussian noise was added as In(x,y) = I(x,y) + N(0,²), simulating thermal and electronic disturbances typical of MRI acquisition hardware. Speckle (multiplicative) noise was added as In = I + I·n, where n is a random variable, representing more challenging acquisition conditions.
-
Classical Denoising Baselines
Four conventional filters were implemented for comparison. The Gaussian filter performs linear smoothing with a fixed kernel computationally inexpensive but prone to edge blurring. The Median filter replaces each pixel with the neighborhood median, offering strong impulse-noise suppression and edge retention with minimal runtime cost. The Bilateral filter jointly weights spatial proximity and intensity similarity, yielding strong edge preservation at higher computational cost. Non-Local Means filtering averages over similar patches across the image, preserving texture at the expense of runtime, which scales poorly with image size.
-
Original PeronaMalik Diffusion
The classical PM algorithm evolves the image intensity I under the PDE I/t = ·(c(|I|)I), where the conductance function is defined as c(x) = e(x/K)². The parameter K governs the trade-off between smoothing and edge retention: larger K permits stronger diffusion across gradients, while smaller K more strictly confines diffusion to homogeneous
for each image or noise level.
-
Proposed Adaptive PeronaMalik Framework
The proposed APM framework replaces manual tuning with a three-part adaptation mechanism. First, the noise level of the input image is estimated from the standard deviation of pixel intensities. Second, the conductance coefficient K is derived directly from this noise estimate, so that noisier images receive a proportionally larger K and cleaner images are diffused more conservatively. Third, the maximum iteration count is set adaptively from the same noise estimate, and the diffusion process is monitored at every iteration through the mean pixel-wise change between successive outputs; diffusion terminates automatically once this change falls below a convergence threshold, rather than running for a fixed, manually specified number of iterations. Algorithm 1 summarizes the resulting procedure.
Algorithm 1: Adaptive PeronaMalik Diffusion
Input: Noisy MRI image I0
1: Convert I0 to floating-point representation 2: Estimate noise level from pixel-intensity statistics
3: Select conductance coefficient K = f()
4: Select maximum iteration count Nmax = g()
5: for t = 1 to Nmax do
6: Compute directional gradients of It1 7: Compute diffusion coefficients c(|I|) 8: Update It using the PM diffusion equation
9: Compute mean pixel-wise change t 10: if t < then break
11: end for
Output: Denoised image It
-
-
EXPERIMENTAL SETUP
-
Dataset
Experiments used grayscale brain MRI images comprising normal and pathological (tumor-bearing) scans. All images were resized and converted to grayscale for uniformity, then corrupted with synthetic Gaussian and Speckle noise as described in Section III-B, allowing all six methods to be evaluated on identical noise realizations for a fair comparison.
-
Implementation Details
All algorithms were implemented in Python using OpenCV for image I/O and classical filtering, NumPy for numerical computation, and Scikit-Image for quality-metric computation. Images were normalized and converted to floating-point representation prior to iterative diffusion to maintain numerical stability. Experiments were executed on a standard workstation (Intel Core i5-class processor, 8 GB RAM, Windows 11).
-
Evaluation Metrics
Denoising quality was assessed using five complementary metrics: Peak Signal-to-Noise Ratio (PSNR) and Mean Squared Error (MSE) for pixel-level fidelity, the Structural Similarity Index Measure (SSIM) for perceptual/structural similarity, an Edge Preservation Index (EPI) for anatomical- boundary retention, and wall-clock runtime for computational efficiency.
-
-
RESULTS AND DISCUSSION
Table I summarizes the average performance of all six denoising methods across the evaluated MRI dataset, and Fig. 2 presents the corresponding graphical comparison.
TABLE I
Average Performance of Denoising Algorithms
Bilateral filtering achieved the highest average PSNR (26.17 dB), indicating effective noise suppression while retaining overall image fidelity; the classical PM algorithm was a close second (25.91 dB). The Median filter obtained the best SSIM (0.6766) and the lowest MSE (49.38), reflecting strong structural preservation and reconstruction accuracy, and it was also the fastest method tested (1.1 ms). Gaussian filtering produced the highest EPI (0.3619), showing that, on this dataset, its fixed-kernel smoothing did not disproportionately blur the edge regions measured by the index. Non-Local Means, despite its patch-based design, produced the weakest scores across PSNR, SSIM, and MSE on this dataset while incurring one of the highest runtimes, reflecting sensitivity to its own parameter settings under the tested noise levels.
The proposed Adaptive PM framework did not exceed the classical baselines on any single metric in this evaluation (PSNR 23.17 dB, SSIM 0.5441, MSE 70.36, EPI 0.1991),
and its runtime (0.48 s) was the highest of all six methods owing to the additional noise-estimation and convergence-monitoring overhead layered on top of the iterative diffusion process. This outcome indicates that the current noise-to-parameter mapping and convergence threshold are conservative and leave room for tighter calibration. Nevertheless, the framework achieved its primary design goal: every image was denoised without any manual parameter entry, and the automatic convergence criterion consistently avoided both under- and over-iteration, which the fixed-iteration classical PM algorithm cannot guarantee across images with differing noise levels.
Method
PSNR (dB)
SSIM
MSE
EPI
Runtime (s)
Gaussian Filter
25.07
0.6104
67.03
0.3619
0.0023
Median Filter
25.64
0.6766
49.38
0.2816
0.0011
Bilateral Filter
26.17
0.6299
66.01
0.3363
0.0122
Non-Local Means
22.21
0.4080
82.72
0.2421
0.3356
Original Perona Malik
25.91
0.6186
63.64
0.3308
0.2342
Proposed Adaptive PM
23.17
0.5441
70.36
0.1991
0.4824
Fig. 2. Average PSNR, SSIM, MSE, and EPI across the six evaluated denoising methods.
Overall, the results show that each method trades off differently between noise suppression, structural fidelity, and computational cost: Bilateral filtering favors PSNR, Median filtering favors SSIM/MSE/runtime, and Gaussian filtering favors EPI. The proposed adaptive diffusion framework trades some quantitative performance for full automation and reproducibility, which is valuable in workflows where consistent, hands-off processing across heterogeneous MRI batches is prioritized over squeezing out the last decibel of PSNR.
-
CONCLUSION ND FUTURE SCOPE
This paper presented an Adaptive PeronaMalik anisotropic diffusion framework for MRI image denoising that integrates automatic noise estimation, adaptive conductance-coefficient selection, and an adaptive convergence criterion, removing the manual-tuning bottleneck of the classical PM algorithm. Six denoising methods were implemented and benchmarked under identical conditions on grayscale brain MRI images corrupted with Gaussian and Speckle noise, using PSNR, SSIM, MSE, EPI, and runtime as evaluation criteria. Bilateral filtering achieved the best PSNR, while the Median filter delivered the best SSIM, MSE, and runtime on the evaluated dataset. Although the proposed APM framework did not outperform the classical baselines quantitatively, it successfully eliminated manual parameter tuning and produced a stable, reproducible diffusion-based denoising pipeline.
Future work will focus on: (i) more accurate, possibly learning- based noise estimation to refine the noise-to-parameter mapping; (ii) metaheuristic optimization (e.g., Particle Swarm Optimization, Genetic Algorithms) for automatic tuning of the conductance function; (iii) hybridizing adaptive diffusion with Bilateral or Non-Local Means filtering; (iv) extending the framework to 3-D MRI volumes; and (v) GPU-accelerated implementation to enable near-real-time clinical deployment.
. REFERENCES
-
P. Perona and J. Malik, Scale-space and edge detection using anisotropic diffusion, IEEE Trans. Pattern Anal. Mach. Intell., vol. 12, no. 7, pp. 629639, Jul. 1990, doi: 10.1109/34.56205.
-
C. Tomasi and R. Manduchi, Bilateral filtering for gray and color images, in Proc. 6th IEEE Int. Conf. Comput. Vis. (ICCV), Bombay, India, 1998, pp. 839846, doi: 10.1109/ICCV.1998.710815.
-
A. Buades, B. Coll, and J. M. Morel, A non-local algorithm for image denoising, in Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. (CVPR), 2005, vol. 2, pp. 6065, doi: 10.1109/CVPR.2005.38.
-
H. Gudbjartsson and S. Patz, The Rician distribution of noisy MRI data, Magn. Reson. Med., vol. 34, no. 6, pp. 910914, Dec. 1995, doi: 10.1002/mrm.1910340618.
-
J. Weickert, Anisotropic Diffusion in Image Processing. Stuttgart, Germany: Teubner Verlag, 1998.
-
R. C. Gonzalez and R. E. Woods, Digital Image Processing, 4th ed. Hoboken, NJ, USA: Pearson, 2018.
-
M. Sonka, V. Hlavac, and R. Boyle, Image Processing, Analysis, and Machine Vision, 5th ed. Boston, MA, USA: Cengage Learning, 2019.
-
O. Ronneberger, P. Fischer, and T. Brox, U-Net: Convolutional networks for biomedical image segmentation, in Proc. Int. Conf. Med. Image Comput. Comput.-Assist. Intervent. (MICCAI), 2015, pp. 234241, doi: 10.1007/978-3-319-24574-4_28.
-
F. Isensee, P. F. Jaeger, S. A. A. Kohl, J. Petersen, and K. H. Maier-Hein, nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation, Nature Methods, vol. 18, no. 2, pp. 203211, 2021, doi: 10.1038/s41592-020-01008-z.
-
S. Aja-Fernández, C. Alberola-López, and C.-F. Westin, Noise and Signal Estimation in Magnetic Resonance Imaging. New York, NY, USA: Springer, 2016.
-
A. Foi, Noise estimation and removal in MRI and digital images: A review, IEEE Signal Process. Mag., vol. 32, no. 6, pp. 96108, Nov. 2015.
-
K. He, X. Zhang, S. Ren, and J. Sun, Deep residual learning for image recognition, in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, 2016, pp. 770778, doi: 10.1109/CVPR.2016.90.
-
L. Maier-Hein et al., Why rankings of biomedical image analysis competitions should be interpreted with care, Nature Commun., vol. 9, Art. no. 5217, 2018, doi: 10.1038/s41467-018-07619-7.
-
L. I. Rudin, S. Osher, and E. Fatemi, Nonlinear total variation based noise removal algorithms, Physica D, vol. 60, nos. 14, pp. 259268, Nov. 1992, doi: 10.1016/0167-2789(92)90242-F.
-
D. P. Kingma and J. Ba, Adam: A method for stochastic optimization, in Proc. Int. Conf. Learn. Represent. (ICLR), 2015.
