Abstract
Non-local means (NL-Means) algorithm which removes the noise from the image have been used in the field widely due to its good performance especially for magnetic resonance images which consists of three dimensional data. Its main idea is using all the pixels which are local and non-local in an image and taking weighted averaging of all values. One negative side of this method is that it considers all pixels in the image without looking at their similarity. This paper proposes an NL-Means algorithm with pixel selection by applying linear regression analysis using root mean squared error (RMSE) value. After regression analysis, RMSE of the neighborhoods is used to exclude non-similar pixels during the noise removal. Lastly, obtained results were compared by four different methods which are NL-Means algorithm and, Gaussian, anisotropic diffusion and median filterings. All of the methods were outperformed by our method on structured similarity index and peak signal-to-noise ratio quantitative metrics. Moreover, the level of increase on visual qualities are also represented as a qualitative analysis.
Similar content being viewed by others
Availability of data and materials
Not applicable.
Code availability
Source code of the algorithm is available at https://github.com/TugayDirek/Image-Denoising-Using-Pixel-Selection-by-RMSE-with-Non-Local-Means-Algorithm.
References
Alvarez, L., Lions, P.-L., Morel, J.-M.: Image selective smoothing and edge detection by nonlinear diffusion. ii. SIAM J. Numer. Anal. 29(3), 845–866 (1992). https://doi.org/10.1137/0729052
Coifman, R.R., Donoho, D.L.: Translation-invariant de-noising, 125–150 (1995) https://doi.org/10.1007/978-1-4612-2544-7_9
Donoho, D.L.: De-noising by soft-thresholding. IEEE Trans. Inf. Theory 41(3), 613–627 (1995). https://doi.org/10.1109/18.382009
Lindenbaum, M., Fischer, M., Bruckstein, A.: On Gabor’s contribution to image enhancement. Pattern Recogn. 27(1), 1–8 (1994). https://doi.org/10.1016/0031-3203(94)90013-2
Rudin, L.I., Osher, S., Fatemi, E.: Nonlinear total variation based noise removal algorithms. Physica D 60(1), 259–268 (1992). https://doi.org/10.1016/0167-2789(92)90242-F
Smith Stephen M., B.J.M.: a new approach to low level image processing (1997/05/01)
Gupta, M.D., Xiao, J.: Bi-affinity filter: a bilateral type filter for color images, 27–40 (2012)
Yaroslavsky, L.P.: Introduction, 1–5 (1985). https://doi.org/10.1007/978-3-642-81929-2_1
Perona, P., Malik, J.: Scale-space and edge detection using anisotropic diffusion. IEEE Trans. Pattern Anal. Mach. Intell. 12(7), 629–639 (1990). https://doi.org/10.1109/34.56205
Linwei, F., Fan, Z., Hui, F., Caiming, Z.: Brief review of image denoising techniques. In: Visual Computing for Industry, Biomedicine, and Art (2019). https://doi.org/10.1186/s42492-019-0016-7
Lim, J.S.: Two-dimensional signal and image processing. In: Visual Computing for Industry, Biomedicine, and Art (1990)
Goyal, B., Dogra, A., Agrawal, S., Sohi, B.S., Sharma, A.: Image denoising review: From classical to state-of-the-art approaches. Inf. Fusion 55, 220–244 (2020). https://doi.org/10.1016/j.inffus.2019.09.003
Zhang, K., Zuo, W., Chen, Y., Meng, D., Zhang, L.: Beyond a gaussian denoiser: residual learning of deep cnn for image denoising. IEEE Trans. Image Process. 26(7), 3142–3155 (2017). https://doi.org/10.1109/TIP.2017.2662206
Buades, A., Coll, B., Morel, J.-M.: Non-local means denoising. Image Process. On Line 1, 208–212 (2011). https://doi.org/10.5201/ipol.2011.bcm_nlm
Liu, Y.L., Wang, J., Chen, X.: A robust and fast non-local means algorithm for image denoising. J. Comput. Sci. Technol. (2008). https://doi.org/10.1007/s11390-008-9129-8
Bonar, D., Sacchi, M.: Denoising seismic data using the nonlocal means algorithm. Geophysics 77(1), 5–8 (2012) https://doi.org/10.1190/geo2011-0235.1, https://arxiv.org/abs/https://pubs.geoscienceworld.org/geophysics/article-pdf/77/1/A5/3225089/geo2011-0235.pdf
Zhang, H., Zeng, D., Zhang, H., Wang, J., Liang, Z., Ma, J.: Applications of nonlocal means algorithm in low-dose x-ray ct image processing and reconstruction: A review. Medical Physics 44(3), 1168–1185 (2017) https://doi.org/10.1002/mp.12097, https://arxiv.org/abs/https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1002/mp.12097
Wu, K., Zhang, X., Ding, M.: Curvelet based nonlocal means algorithm for image denoising. AEU-Int. J. Electron. C. 68(1), 37–43 (2014). https://doi.org/10.1016/j.aeue.2013.07.011
Lu, S., Ouyang, S., Xiao, L.: Mri denoising using pixel-selection-based non-local means, 1412–1417 (2016) https://doi.org/10.1109/CISP-BMEI.2016.7852938
Bazdaric, K., Sverko, D., Salaric, I., Martinovic, A., Lucijanic, M.: The abc of linear regression analysis: What every author and editor should know 47 (2021) https://doi.org/10.3897/ese.2021.e63780
Díaz, A., Steele, D.: Analysis of the robustness of NMF algorithms. CoRR abs/2106.02213 (2021) arXiv:2106.02213
Horé, A., Ziou, D.: Image quality metrics: Psnr vs. ssim. In: 2010 20th International Conference on Pattern Recognition, pp. 2366–2369 (2010). https://doi.org/10.1109/ICPR.2010.579
Wang, Z., Bovik, A.C., Sheikh, H.R., Simoncelli, E.P.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13(4), 600–612 (2004). https://doi.org/10.1109/TIP.2003.819861
Acknowledgements
I would like to thank Assoc. Prof. Pınar Oğuz Ekim for her contributions. I also would like to thank to reviewers for their detailed comments on the article.
Funding
Not applicable.
Author information
Authors and Affiliations
Contributions
T. D. implemented and wrote all parts of the study.
Corresponding author
Ethics declarations
Conflict of interest
There is no conflict of interest issue.
Ethics approval
Not applicable.
Consent to participate
Not applicable.
Consent for publication
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Direk, T. Image denoising by linear regression on non-local means algorithm. SIViP (2024). https://doi.org/10.1007/s11760-024-03086-4
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11760-024-03086-4