<<

Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

A comparative analysis of image denoising problem: models, denoising filters and applications

Subrato Bharati1, Tanvir Zaman Khan2, Prajoy Podder1* , Nguyen Quoc Hung3 1 Institute of ICT, Bangladesh University of Engineering and Technology, Dhaka, Bangladesh. 2Department of Information & Communication Engineering (ICE), Noakhali Science and Technology University (NSTU), Noakhali-3814, Bangladesh. 3Department of Information Systems, School of Business Information Technology, University of Economics Ho Chi Minh city, 70000, VN, Viet Nam

Abstract. in medical images is a perplexing undertaking for the researchers in processing. Noise generates maximum critical disturbances as well as touches the medical images quality, ultrasound images in the field of biomedical imaging. The image is normally considered as gathering of data and existence of degradation the . It ought to be vital to reestablish the original image noises for accomplishing maximum data from images. Medical images are debased through noise through its transmission and procurement. Image with noise reduce the image contrast and resolution, thereby decreasing the diagnostic values of the medical image. This paper mainly focuses on , Pepper noise, Uniform noise, Salt and Speckle noise. Different filtering techniques can be adapted for noise declining to improve the visual quality as well as reorganization of images. Here four types of noises have been undertaken and applied on medical images. Besides numerous filtering methods like Gaussian, , and Weiner applied for noise reduction as well as estimate the performance of filter through the parameters like mean square error (MSE), peak to noise ratio (PSNR), Average difference value (AD) and Maximum difference value (MD) to diminish the noises without corrupting the medical image data. Keywords: Gaussian noise, Speckle Noise, Mean square error(MSE), DE noising filters, Maximum difference value (MD), Peak signal to noise ratio(PSNR)

1 Introduction

Noise illustrate undesirable data, which break down the picture quality. It is characterized as a procedure which influences the obtained picture. Noise is introduced into pictures ordinarily while exchanging and gaining them. An causes irregular variety of contrasts in the images. Images are influenced by different sorts of commotion, for example, Gaussian noise generate via regular sources for example particles thermal vibration as well as separate nature of radiation of warm object [1], Exponential noise, Speckle noise is an intricate phenomenon, which corrupts picture value with back scattered wave presence which begins from numerous microscopic dispersed reflections that going over interior organs besides

© 2020 by the author(s). Distributed under a Creative Commons CC BY license. Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

creates it more troublesome for the spectator to distinguish fine element of the image in investigative checkups [2], Salt-and-Pepper noise [3] likewise alluded as information drop noise. The picture is not completely ruined by salt & pepper noise rather than some qualities are altered through noise. In spite of noisy image, there is a plausibility of some neighbor’s un-change. In case of data transmission this noise is found. Image pixel qualities are supplanted by defiled values of pixel either greatest "or" least pixel value specifically, 0 "otherwise" 255 individually. if transmission bits are 8. Poisson noise [4] and Periodic noise is produced from gadgets obstructions, particularly in power signal during image procurement. This noise has uncommon qualities corresponding spatially reliant besides sinusoidal in environment at products of a particular frequency. Periodic noise can be advantageously evacuated by utilizing a notch filter or narrow band reject filter [5], Uniform noise presence is essential in amplitude quantization procedure. It introduces, because of analog data changed over into digital data. In this noise model, the signal to noise ratio (SNR) is restricted by the least and highest pixel esteem [6]. The principle sort of noise which is happening during the picture procurement is called Gaussian noise. Then again salt and pepper noise is for the most part presented while transmitting image information over an unsecure correspondence filter. Along these lines, it is required to dispose of the noise from the picture to get exact information and degenerate the visual nature of the pictures. There are different kind of filters use for picture noise decrease. For example, Geometric mean filter, Harmonic mean filter, , Weiner filter, Midpoint filter, Max & min filter, Alpha-trimmed mean filter, Adaptive filter, Band pass filter, Notch filter, Band reject filter and so on. With a specific end goal to expel noise and enhance visual quality in this structure four dissimilar filter are utilized. Besides filter output data are evaluated utilizing five filters superiority measures parameters. Histograms of these loud pictures are additionally discovered. The state of the histogram of the images has been demonstrated the kind of the noise present in the images. Fig.1 demonstrates the image degradation as well as restoration process where the input image is f(x,y) and g(x,y)is the noisy image. Image obtained after the restoration block is called the filtered image [7]. The paper is oriented in this fashion; related works are described in section II. The outline of the working process is described in section III. Types of image noise describes in division IV, under this division Gaussian, speckle, salt and pepper and uniform noises are illustrated. Division V designates the de noising filters like mean, Gaussian, median and Weiner filters. Besides experimental results represent in division VI and division VII accomplishes this paper. Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

Fig. 1. Image degradation and restoration model

2 Related Works

Several researchers already worked on reducing the image noise. In the field of medical imaging systems, de-noising is an important image processing tasks. If noise can be removed automatically from a noisy medical image then it will improve the quality of diagnosis. Therefore doctor gives necessary treatment observing that image. Thanh et. al. [19] provided a review of the Poisson removal methods such as modified ROF model, PURE-LET method etc. in his paper as CT and X-ray image de-noising methods. Computed tomography (CT) and X-Ray imaging systems use the X radiation for capturing the images. So, they are usually corrupted by Poisson noise. Erkan et. al. [20] proposed an Iterative Mean (IM) Filter for eliminating the salt-and-pepper noise. The mean of gray values of noise-free are used in IMF in a fixed-size window. Thanh et. al. [21] proposed an Adaptive Frequency Median Filter in order to remove the salt and pepper noise. The proposed filter in employs frequency median for restoring the grey values of the corrupted pixels. Thanh et. al. also proposed and implemented adaptive TV-L1 regularization model for eliminating the salt and pepper noise [22]. Inspiring the above research works, we have implemented several type of filters to remove various types of noise.

3 Overview of the working process

Figure 2 summarizes the working procedures Gaussian, median, mean and Weiner filter is used in this working diagram for eradicating the undesired noise from the image. . Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

Fig. 2. Flowchart of working procedure

4 Types of Image Noise

4.1 Gaussian Noise

Gaussian noise is likewise called enhancer noise or random variation impulsive noise. Gaussian noise is created because of (an) electronic circuit noise, (b) sensor noise because of high temperature, (c) sensor noise because of poor brightening [8][9]. It is a sort of measurable noise where the sufficiency of the noise takes after Gaussian dissemination [10]. Gaussian noise emerges as probability density function of the regular distribution. The PDF of Gaussian noise,

(1) Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

4.2 Speckle Noise

In [9], [10] Speckle noise is one kind of granular noise and the picture quality has been degraded by this speckle noise. The images which are acquired from medical are spoiled by the speckle noise. Generally, speckle noise expands the mean gray near of a native area and causing difficulties in medical because of coherent processing of backscattered signal [23].

4.3 Uniform Noise

Uniform or Quantization noise is created by quantizing the pixels of a detected picture to various discrete levels. In spite of the fact that it can be flagged subordinate however it will be flagged free if the sources of other noise are sufficiently enormous to source dithering [8]. The PDF of uniform noise is given by, (2)

Mean value is specified by, (3)

Variance is given by, (4)

4.4 Salt and Pepper Noise

Salt & Pepper noise is called as Impulse noise. It can likewise be named as spike or fat–tailed distributed noise [11]. The salt and pepper noise is brought about by sudden and sharp disorder in the image signal. It is appearance as arbitrarily scattered dark or white (or together) pixels above the image. It is digitized as great qualities in the image. Impulse noise contained image has dark pixels in the bright region and splendid pixels in dull areas [8]. The PDF of (bipolar) impulse noise can be communicated as [8].

(5)

If b>a, gray level b will perform as a dot in the image. On the contrary, level a will act similar to a dark dot. The impulse noise is called uni-polar when Pa or Pb is zero. Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

5 Image De-Noise Filters

Image de-noising filters have an extensive variety of uses. For example, medical image investigation, signal (, sound, voice) examination, information removal, radio space science, etc. Every application has its exceptional necessities. For instance, noise evacuation in medicinal signs requires particular consideration since information taken from the medical signal (ECG, EEG and so on.) is exceptionally touchy. Noise free images are basically required for line, point and edge discovery. In the field of image preparing and honing are two general filters for accessible. High frequency parts can be contained in the images. Smoothing filters can assume an imperative part to suppress those high frequencies. Then again, sharping filters are utilized to smooth image low frequency, i.e. improving or recognizing picture edges. Image rebuilding and upgrade methodologies can be characterized into spatial domain and frequency domain classifications. This arrangement is typically in light of changing Fourier transformation of an image. Noise evacuation is perplexing in the frequency domain when contrasted with the spatial domain. The spatial domain noise expulsion involves fewer meting out time. Noise removal ought to give a tasteful measure of noise evacuation furthermore safeguard the edges. For fulfill expressed conditions there are two sorts of filters: linear and non-linear with their noteworthy favorable circumstances and disservices. The linear filters have the benefit of speedier planning and the shortcoming of not sparing edges. A fact in non-linear filters has the upside of securing edges and the downside of slower preparing [12]. In this work, four kind of filters have been talked about underneath which will be utilized further to expel the noise info from the main image.

5.1 Median Filter

Order-statistics filter also known as Median filter, which exchanges the estimation of a pixel by the middle of the gray levels in the region of that pixel. The median is a rank command statistic and in a intelligence the main stream of the pixel values included determines the result [13]. The expression of Median filter, (6)

The first estimation of the pixel is incorporated into the calculation of the median. Median filters are extremely standard for assured sorts of arbitrary noise. They give astonishing noise diminish capacities, with stunningly less clouding than a linear smoothing filter of comparative size [14]. The median is figured by first sorting all the pixel values from the window in numerical order. A while later supplanting the pixel being considered with the inside (middle) pixel value. Median filters are viable for the bipolar and unipolar impulse noise. Median filters are mainly reasonable within the sight of both unipolar and bipolar impulse noise. Trimmed median noise removal filter can be play an effective role for images corrupted by scratches caused by human, environment [24] etc. Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

5.2 Gaussian Filter

Gaussian filter is a linear smoothing filter, where the weights chosen for the smoothing purpose according to the outline of the function of Gaussian. Gaussian filter in the nonstop space and can be defined by the resulting equation,

(7) One-dimensional Gaussian filter has an impulse response,

(8)

This equation can also be uttered with the as parameter [8]

(9)

Where, the standard deviations are mentioned in their physical units, e.g. time and frequency in seconds and Hertz [15] [16].

5.3 Mean Filter

Mean filtering simplest way to decrease the amount of intensity deviation between one and next pixel for smoothing image [10]. Arithmetic mean filter can be expressed by [17]. (10)

At this time, g is the ruined image, r and c are the row and column co-ordinates correspondingly within a window size of m×n besides the filtered image is . However geometric mean filter is a variation of the arithmetic mean filter, which calculated appearance can be known as follows, (11)

5.4 Weiner Filter

The Weiner filter is a standout amongst the most fundamental methodologies for noise diminishment and it can be defined in either the frequency or time domain. Time domain Weiner filter is gotten by minimizing the MSE between the image of interest and its assessment [18]. The wiener filter is ideal in minimum mean square error sense Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

for recuperating noise image. The detected image g(x,y) is thought to come about because of the entirety of the stationary noise n(x,y) and original image f(x,y). (12) Where noise is spectrally white with zero mean and variance . The transfer function of the Weiner filter is,

(13)

For image retrieval noise adaptive Weiner filtering is expressed as [14],

(14)

6 Experimental Results

Matrix laboratory software (MATLAB) has been used to analysis the performances of noise elimination filters on four different types of noise. Fig. (3,4,5,6,7) refer to the effect of filtering consecutively for removing the Gaussian noise, speckle noise, unifrom noise, salt & pepper noise from medical images. Where, Fig. (3(a), 4(a) (h), 5(a), 6(a), 7(a)) signifies the orginal images. Fig. (3(b), 4(b) (g), 5(b), 6(b), 7(b)) represents sequentially gaussian noise, speckle noise, unifrom noise, Salt and Pepper noise images. Fig. (3(c), 4(c) (i), 5(c), 6(c), 7(c)) represents median filter for removing the Gaussian noise, speckle noise, unifrom noise, salt & pepper noise from medical images. Fig. (3(d,e,f), 4(d,e,f) (j,k,l), 5(d,e,f), 6(d,e,f), 7(d,e,f)) represents consecutively gaussian, mean, winer filters for removing the gaussian noise, speckle noise, unifrom noise, salt & pepper noise from medical images. Fig. (8, 9, 10, 11) evaluate the performances analysis of Gaussian, Median, Mean and Weiner filters performance through MSE, PSNR, AD as well as MD.

a b c Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

d e f Fig. 3. Result of filtering for removing Gaussian noise

a b c

d e f

g h i

j k l Fig. 4. Effect of filtering for removing Speckle noise

Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

a b c

d e f Fig. 5. Result of filtering for removing Uniform noise

a b c

d e f Fig. 6. Result of filtering for eliminating Salt and Pepper noise

a b c

Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

d f g

Fig. 7. Result of filtering for eliminating Speckle noise from Ultrasound image

6.1 Mean Square Error (MSE)

Mean square error can be calculated by the following equation, (8) Where, MxN is the total number of pixels, g(x,y) is corrupted image and f (x,y) is filtered image. The lowest value of mean square error represents the best filtered image. Table 1. Gaussian Filter Performance Analysis on Different Type Noises Gaussian Types of noise Filter Gaussian Speckle Uniform Salt & Pepper MSE 45.46 67.82 9.74 25.77

PSNR 30.39 29.92 37.89 34.04

AD 4.40 6.10 1.61 2.89

MD 254 255 254 254

Fig. 8. Performance analysis of Gaussian filter Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

Table 1 and fog.8 shows that Gaussian filter is ideal for uniform noise than other noises reduction. Because of lower MSE, AD, MD as well as higher PSNR value. Besides Gaussian noise reduction can be possible more by Gaussian filter than median, mean and Weiner filters.

6.2 Peak Signal to noise ratio (PSNR)

The Peak Signal to Noise Ratio (PSNR) can be considered by the following equation, (9)

For image quality measurement, if the value of PSNR is very high for an image of a particular noise type then it is defined as a best quality image. Table 2. Median Filter Performance Analysis on Different Type Noises Median Filter Types of noise

Gaussian Speckle Uniform Salt & Pepper MSE 78.14 87.29 31.37 15.80 PSNR 29.25 28.77 33.20 36.18 MAD 9.36 13.6 3.15 3.85 MD 215 195 205 225

Fig. 9. Performance analysis of Median filter In case of median filter, salt & pepper noise is appropriate for best noise reduction performances for medical images due to highest PSNR and lowest MSE value (from table II). However median filter works well for unifron noise reduction.

6.3 Average Difference value (AD)

A lower value of average difference represents a cleaner image. The average difference can be calculated by following equation, Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

(10) Table 3. Mean Filter Performance Analysis on Different Type Noises Mean Filter Types of noise Gaussian Speckle Uniform Salt & Pepper MSE 87.81 101.1 36.56 50.91 2 PSNR 28.74 28.12 32.67 31.10 AD 10.37 14.22 4.10 6.97 MD 251 255 253 252

Table 3 shows speakle noise produces higher MSE values noise reduction whereas uniform, salt & pepper noise provides smaller value of MSE in order to mean filter.

Fig. 10. Performance analysis of Mean filter

6.4 Maximum Difference (MD) value

Maximum Difference can be expressed by the following formula, (11) The picture quality is poor if the value of Maximum difference is large. Table 4. Winer Filter Performance Analysis on Different Type Noises Weiner Types of noise Filter

Gaussian Speckle Uniform Salt & Pepper MSE 82.70 97.18 28.64 22.31 Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

PSNR 29.14 28.30 33.59 34.67

AD 8.62 11.67 3.07 3.44

MD 251 254 253 252

Fig. 11. Performance analysis of Winer filter Fig. (8-11) illustrates the performances of Gaussian, median, mean and Weiner filters.

7 Conclusion

Noises are random in this environment as well as deterministic in the biomedical imaging scheme. It is difficult to remove noise present in the medical and ultrasound images, since the information about the variance of the noise may not be able to identify. This paper generally motivated on the various noise and noise suppression filters for instance Gaussian, median, mean, weiner. The working process establishes main parameters that have been pragmatic on medical images (for example Iris & Ultrasound image). Investigational opinion under MSE, PSNR, AD and MD shows the efficient filter performance at various noises. A relative study has been motivated among those filters to successfully de-noising the images. The conclusion of this study exposes that uniform noise provides relatively better performance for reduction among the other noises in terms of PSNR, MSE and visual quality. Besides Gaussian filter noise removal performances comparatively better than the median, mean and Weiner filters in case of uniform, Gaussian, speckle, salt & pepper noises.

Funding: This study was not funded by any funding agency.

Conflict of Interest: The author declares that they have no conflict of interest.

Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

Ethical approval: This article does not contain any studies with human participants performed by any of the authors.

References

1. Boyat, A. and Joshi, B. K.,“Image Denoising using Transform and Median Filtering’, IEEE Nirma University International Conference on Engineering,” Ahemdabad, 2013. 2. Vaishali Kumbhakarna, Vijaya R.Patil, Dr.Seema Kawathekar, “Review on Speckle Noise Reduction Techniques for Medical Ultrasound Image Processing”, International Journal of Computer Techniques -– Volume 2 Issue 1, 2015. 3. Arpita Joshi, Ajay Kumar Boyat, Brijendra Kumar Joshi, “Impact of Wavelet Transform and Median Filtering on Removal of Salt and Pepper Noise in Digital Images”, International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT), 2014, DOI:10.1109/ICICICT.2014.6781389. 4. Isabel Rodrigues, Joao Sanches, “Denoising of medical images corrupted by Poisson noise”, 15th IEEE International Conference on Image Processing 2008, DOI: 10.1109/ICIP.2008.4712115. 5. Muthana Hamd, Rabab Rasool, “Dynamic restoration of periodic noisy image using: Upper-half spectrum”, International Conference on Industrial Informatics and Computer Systems (CIICS) 2016, DOI: 10.1109/ICCSII.2016.7462407. 6. Panda CS, Patnaik S (2009) Filtering and performance evaluation for restoration of grayscale image corrupted by salt & pepper noise using low pass filtering schemes. In: 2009 second international conference on emerging trends in engineering and technology, ICETET, Nagpur, pp 940–945. 7. Charles Boncelet. "Image Noise Models". In Alan C. Bovik. Handbook of Image and . Academic Press. ISBN 0-12-119792-1. 8. Dhruv B, Mittal N, Modi M (2017) Analysis of different filters for noise reduction in images. In: 2017 recent developments in control, automation & power engineering, Noida, pp 410–415. 9. Ajay Kumar Boyat and Arpita Joshi, “Noise Models in Digital Image”, Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.2, April 2015. 10. Raymond H. Chan, Chung-Wa Ho, Mila Nikolova, “Salt-and-Pepper Noise Removal by Median-Type Noise Detectors and Detail-Preserving Regularization”, IEEE Transactions on Image Processing, VOL. 14, NO. 10, OCTOBER 2005 11. Md. Mehedi Hasan, Jag Mohan Thakur, Prajoy Podder, “Face Detection in Color Images Using Skin Color”, International Journal of Scientific & Engineering Research (ISSN 2229-5518), Volume 5, Issue 6, June-2014. 12. Gajanand Gupta, “ for Image Processing Using Improved Median Filter and Comparison of Mean and Improved Median Filter” (IJSCE) ISSN: 2231-2307, Volume-1, Issue-5, November 2011. 13. Roni Chakre, Pooja Thapa, Rispana Siddharth, Udayan Baruah, “An Experimental Study on Image De-Noising Filters”, International Journal of Emerging Technology and Advanced Engineering, Volume 3, Issue 2, February 2013 Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 4 June 2020

14. Wilhelm Burger, Mark J. Burge, “: An Algorithmic Introduction Using Java”, Springer Science & Business Media, 2008 15. Oge Marques, “Practical Image and Video Processing Using MATLAB”, John Wiley & Sons, Jul 28, 2011. 16. Jacob Benesty, M. M. Sondhi, Yiteng Huang, “Springer Handbook of Speech Processing”, Springer Science & Business Media, 2008. 17. G.Shi Zhong, “Image De-noising using Wavelet Thresholding and Model Selection”, International Conference on Image Processing, Volume: 3, Sept. 2000. 18. Qiang Wu, Fatima Merchant, Kenneth Castleman, “Microscope Image Processing”,Academic Press, Jul 27, 2010 - Technology & Engineering. 19. Dang Thanh, Prasath Surya, Le Minh Hieu, “A Review on CT and X-Ray Images Denoising Methods”, Informatica, Volume: 43, Issue: 2, pp. 151-159, 2019, Slovenian Society INFORMATIKA publisher. 20. Erkan U, Thanh DNH, Hieu LM, Enginoglu S (2019) An Iterative Mean Filter for Image Denoising. IEEE Access 7:167847–167859. 21. Erkan U, Enginoglu S, Thanh DNH, Hieu LM (2019) Adaptive Frequency Median Filter for the Salt-and-Pepper Denoising Problem. IET Image Processing. doi: 10.1049/iet- ipr.2019.0398 22. Dang Ngoc Hoang Thanh, Le Thi Thanh, Nguyen Ngoc Hien, Surya Prasath, “Adaptive total variation L1 regularization for salt and pepper image denoising”,Optik, 2019, 163677, ISSN 0030-4026. doi:10.1016/j.ijleo.2019.163677. 23. Podder P, Hasan MM (2016) A meta study of reduction of speckle noise adopting different filtering techniques. In: 2016 3rd international conference on and information communication technology (ICEEICT), Dhaka, pp 1–6. 24. D. N. H. Thanh, N. V. Son, V. B. S. Prasath, “Distorted Image Reconstruction Method with Trimmed Median,” in 2019 3rd International Conference on Recent Advances in , Telecommunications & Computing (SigTelCom), Hanoi, 2019.