- Open Access
Triple Threshold Statistical Detection filter for removing high density random-valued impulse noise in images
EURASIP Journal on Image and Video Processing volume 2018, Article number: 22 (2018)
This study presents a novel noise detection algorithm which satisfactorily detects noisy pixels in images corrupted by random-valued impulse noise of high levels up to 80% noise density. Three levels of adaptive thresholds along with an auxiliary condition are used in this method which adequately addresses the drawbacks of existing methods, especially the miss detection of noise-free pixels as noisy pixels and vice versa. A noise signature is calculated for every pixel and compared with the first threshold to identify noise followed by the comparison of the central pixel with the second and third levels of thresholds. In addition to the standard deviation and mean, the concept of quartile has been used as another measure of dispersion. After detection, a fuzzy switching weighted median filter is applied to restore the corrupted image. The simulation results demonstrate that the proposed method is able to outperform the existing methods in both the detection and filtering of random-valued impulse noise in images.
This research is aimed at designing and proposing a new algorithm for detection and filtering of high density random-valued impulse noise (RVIN) in images. Removing salt and pepper impulse noise (SPN) is an easy task, but removing RVIN of high densities is a challenging task because of the nature of RVIN. Impulse noise is primarily caused by malfunctioning pixels in camera sensors, faulty memory locations, and transmission in noisy channel .
In RVIN, noisy pixels are randomly located between 0 and 255, and hence, it is very difficult to detect the noise and restore the image . Since the difference between a noisy pixel and a noise-free pixel in RVIN may not be huge, the image appears hazy and blurred. Impulsive noise removal consists of, first, the detection of the noisy pixels by taking into account the edges and then substitution of the noisy pixels with the best approximation of a value based on the neighborhood. Removal of RVIN at higher noise densities is still more tedious because the noise-free pixels available for restoration of image are too few at high noise densities. In addition to the removal of impulsive noise, preservation of the image details is also a desired result of the proposed work.
Some methods only employ filtering without the detection of impulse noise whereas certain other methods first employ the detection of the impulse noise followed by the filtering. Over the past two decades, performance of the nonlinear filters particularly the two-stage median-based filters has improved multifold for the images corrupted by RVIN . The existing state-of-the-art methods have attempted to remove the RVIN in images but are successful only at lower noise densities. At higher noise densities of RVIN, the image restoration by these methods is not satisfactory. Hence, various applications which are based on image denoising like medical imaging, face recognition, satellite imaging, and fisheries are rendered ineffective. The main focus areas of this research are quality image restoration at higher noise densities of RVIN and achievement of lower computational cost of the proposed detection and filtering technique.
Various algorithms have been proposed to remove RVIN from corrupted images with different architects [3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28]. However, these algorithms have their own assumptions, advantages, and limitations. While some algorithms modify all the pixels (whether noisy or not), other advanced algorithms first detect the noisy pixels and then replace them with an estimated value. Some of these algorithms which have been considered for study and comparison with the proposed algorithm are noise adaptive fuzzy switching weighted median (NAFSWM) filter , rank order absolute difference (ROAD) filter , rank order logarithmic difference (ROLD) filter , triangle-based linear interpolation detection (TBLI) filter , adaptive switching median (ASM) filter , adaptive fuzzy inference system-based directional median (AFIDM) filter , and condition-based detection (CBD) filter .
The NAFSWM filter  is a combination of the simple adaptive weighted median filter  and the fuzzy switching median filter. In ROAD, the detection stage utilizes the absolute difference between the central pixel and other pixels and then a predefined threshold is employed to detect the pixel as noisy or noise-free . ROLD is similar to ROAD except that the ROLD exploits the logarithmic function of the absolute difference which results in a better detection as compared to ROAD . TBLI method uses triangle-based linear interpolation to detect noisy pixels and Differential Evolution algorithm for restoring the image . In ASM, detection is based on the absolute deviation between the mean value and the central pixel and its comparison with threshold value . The CBD filter uses two conditions to differentiate between corrupted and uncorrupted pixels; first one is based on the noise intensity level and second is based on two predetermined threshold values . The AFIDM filter consists of two major processes namely fuzzy inference system-based noise detection and noise filtering .
When these methods are applied to the images corrupted by high density RVIN, some of the noise-free pixels are detected as noisy pixels and vice versa. Hence, the filtering stage of these methods not only fails to correct all the noisy pixels but also alters some noise-free pixels which were detected as noisy pixels. This results in lower values of peak signal to noise ratio (PSNR) and structural similarity index (SSIM) corroborated by poor picture restoration. This is further elaborated in the Section 3.
In order to overcome the miss detection, in this paper, a new algorithm has been designed and proposed in the detection stage. This new detection algorithm is designated as Triple Threshold Statistical Detection (TTSD). Noise signature (NS) used in this method gives it a distinct advantage over other methods in detection of noisy pixels. The proposed filter is compared with other filters in terms of PSNR and SSIM, and the comparison results show that the TTSD filter performs better than other filtering techniques. The detection stage of TTSD involves three main conditions (three levels of thresholds) and one auxiliary condition . These conditions must be verified to accurately detect noisy pixels. Statistical tools such as standard deviation, mean, and quartile help in detecting outliers. The filtering stage of TTSD utilizes fuzzy switching weighted median (FSWM).
The main contributions as compared to the existing methods can be summarized as follows:
Devising a completely new method of image processing wherein simple statistical parameters have been utilized for detection of noisy pixels
Use of three levels of thresholds to detect noisy pixels with higher accuracy than the existing methods
Achieving quality picture restoration at higher noise densities including up to 80%
Use of adaptive thresholds which depend upon the values of noise density of corruption and neighboring pixels
Devising a new parameter called NS which can be used to have comparisons among different methods of image processing
The RVIN model of equal probability is used in this filter. The probability density function, f (Ci, j), can be expressed as
where Ci, j is the (i, j) th pixel in the corrupted image, Si, j is the (i, j) th pixel in the original image, N D is the noise density, and m is the noise intensity level. The dynamic range of the image intensity values is [0, R − 1], where R = 2n and n is the number of bits per pixel. An 8-bit gray image is assumed and hence, n = 8 and R = 256.
As mentioned earlier, statistical parameters such as measures of dispersion have been utilized in setting of the three thresholds in TTSD. The same is discussed below.
The basic aim of any detection process is to separate the noisy pixels from the noise-free pixels so that they can be replaced with a suitable pixel value in the filtering stage. Various existing methods for image processing have utilized some or the other measures of dispersion to identify the outliers. Awad  has demonstrated that the detection process can be based on finding the optimum direction by calculating the standard deviation of different directions in the filtering window. The measures of dispersion used in this proposed algorithm for setting different thresholds are the mean, the standard deviation, and the quartile. The reason for choosing three levels of thresholds is explained below.
The standard deviation is a measure which represents the extent by which each value within a set of data varies from the mean value. In effect, it shows how closely all the values in the sample are bunched around the mean. It is the best and most widely used measure of dispersion since it takes into account every variable in the dataset. When the values are very closely bunched together, the standard deviation is smaller. When the values are widespread, the standard deviation will be relatively large. The standard deviation is usually applied along with the mean, and its unit is same as that of mean.
The standard deviation of a population is denoted as σ (sigma) and is calculated as follows:
where x i represents each value in the population, μ is the mean of the population, and N is the number of values in the population. Mean μ is calculated as follows:
Many natural datasets follow a normal distribution. In a normal distribution, most of the values of the dataset are clustered around the mean while only few values are very high or very low. For normally distributed dataset, 68% of the values lie within one standard deviation (1σ) from the mean value, 95% of the values lie within two standard deviations (2σ) from the mean, and 99% of the values lie within three standard deviations (3σ) from the mean. Figure 1 clearly depicts the standard deviation as a measure of dispersion.
The quartiles represent the milestones in a sorted dataset which along with the median divide the dataset into four quarters. The first quartile is the median of the lower half of the data set and is denoted by Q1. This also means that the 25% of the values in the dataset lie below Q1 and the rest 75% lie above Q1 .The third quartile is the median of the upper half of the dataset and is denoted by Q3. This would also mean that the 75% of the values in the dataset lie below Q3 and the rest 25% lie above Q3 . The first and third quartiles can be calculated as
where N is the number of values in the sorted dataset.
The inter-quartile range (IQR) in a dataset indicates the extent to which the central 50% of its values are dispersed. IQR is calculated by subtracting the lower quartile from the upper quartile as follows
Figure 2 shows the relationship of the quartiles and IQR. The IQR provides a robust basis to identify the outlying values. Moreover, like the range, it is also a measure of dispersion based on only two values from the dataset and hence it can only be used in addition to the other conditions to detect outliers.
The three levels of thresholds are presented and discussed as follows.
Three threshold levels
The first threshold used in this method is based on the concept of incongruity of the noisy pixel. Owing to its incongruity or abnormality, the noisy pixel would leave a signature by which it can be detected. First of all, absolute differences of all pixels with their mean value except the central pixel (CP) are calculated. Subsequently, mean and standard deviation of all these absolute differences are calculated. The sum of this mean and standard deviation represents the first threshold. It is being used as a threshold because the absolute differences of the pixels with their mean value would show a less deviant behavior as compared to the absolute differences of the pixels with the CP, provided that CP is a noisy pixel. Considering mean and standard deviation of such absolute differences and adding them further eases up the deviant behavior of the threshold and makes it comparable with the noise-free pixel values. Now, if NS is equal to or more than the first threshold, the CP is termed noisy; otherwise, we move to the next level of thresholds, i.e., the second level of thresholds.
After the first threshold is applied, a majority of noisy pixels get segregated from the rest of the pixels but it is still unknown whether the rest of the pixels are noise-free. For ascertaining that, the second level of thresholds is employed. The second level of thresholds is defined as follows:
where, μ and σ are the mean and standard deviation of all pixels of the detection window and K is the multiplication factor of σ in the above equations. Optimum value of K is derived empirically for various random sets of pixels through simulations. A discussion on the test of optimality of K has been presented in Section 3.1. From that discussion, we find that for the given experimental setup, optimum value of K is 0.5. If a pixel falls beyond these thresholds, it is considered as noisy.
The reason behind taking mean and standard deviation for setting these thresholds is that most of the noise-free pixels would fall within the above thresholds since they smoothen out the pixel values and generally tend towards a value resembling a noise-free pixel. The noisy pixels (including the higher values and the lower values) would normally tend to fall beyond these thresholds because of their incongruity with the remaining pixels of the matrix. Figure 3 depicts the second level of thresholds for K = 0.5 and K = 0.7 and the corresponding bands available for identifying the noisy pixels in the image.
After the second level of thresholds is applied, few more noisy pixels are segregated from the rest of pixels but still it is not known whether the remaining pixels are all noise-free. For ascertaining that, the third level of thresholds is employed. The first quartile Q1 is taken as the lower threshold, i.e., T3min, and the third quartile Q3 is taken as the higher threshold, i.e., T3max [29, 30]. When a CP is beyond these thresholds, the pixel is termed as noisy otherwise noise-free.
The NS of a pixel denotes the possibility and tendency of the pixel to be noisy. It is basically a measure of noisiness of a pixel. For a pixel, if the NS is more than a certain threshold, the pixel may be considered as noisy. Although it is not a necessary condition for a pixel to be noisy, yet it is a sufficient condition. The NS-based noise detection proposed in this work segregates a large number of noisy pixels by comparing the NS of each pixel in the image with the first threshold itself.
To calculate the NS of a pixel in a given window, absolute differences of CP with all the remaining pixels are calculated and mean of all these absolute differences is considered. This mean represents the NS. Since all the absolute differences of the CP with the remaining pixels are considered in the calculation of the NS, the probability of correct detection of noisiness in this method increases. If the CP is noisy, the value of the NS would be expected to be more than the first threshold, but if the CP is noise-free, the value of NS would be expected to be less than the first threshold. However, the occurrence of the latter does not guarantee the CP to be noise-free. In that case, the CP is to be further tested against two more thresholds as explained later.
The TTSD method uses a 5 × 5 sliding window to estimate whether the CP is a noisy pixel or noise-free. As the name implies, TTSD uses three levels of thresholds as explained above. In addition to these thresholds, an auxiliary condition based on the noise intensity level (m) is also used in the detection stage of the proposed algorithm. Firstly, the NS is compared with the first threshold to segregate noisy pixels from the rest. This results in separation of a majority of noisy pixels from noise-free pixels. However, as the noise density increases, the accuracy of detection by use of first threshold decreases. Therefore, in subsequent levels of check in the proposed algorithm, the CP is compared with the second and third levels of thresholds to further segregate noisy pixels. This enhances the accuracy of detection for the algorithm as a whole. After the detection stage, the FSWM filter is employed in the filtering stage, which replaces only the noisy pixels with an estimated value close to the original value while leaving noise-free pixels unaltered [14, 15]. Hence, the combination of TTSD in detection stage with FSWM filter in the filtering stage provides better picture restoration.
The algorithm of detection stage is summarized in next subsection.
The detection stage is used to find out whether a pixel is noisy or noise-free. In this paper, the detection stage employs three main conditions and one auxiliary condition. The three levels of thresholds used in TTSD are based on three conditions explained above. In combination with the above thresholds, another auxiliary condition should also be satisfied along with both conditions for a pixel to be noisy, i.e., (0 ≤ CP ≤ m) or (255 − m ≤ CP ≤ 255). This auxiliary condition is simultaneously applied with the above three conditions . Only the pixels that are found to be noisy are processed in the filtering stage. The algorithm for detecting RVIN is as follows:
Step I: Take a 5 × 5 window A. Then, calculate mean (μ A ) and standard deviation (σ A ) of all pixels of matrix A except the CP.
Step II: Calculate p ij as absolute differences of μ A with all pixels of matrix A except CP and obtain 24 such values.
Step III: Calculate μ p and σ p of all the above values (i.e., p ij ) and define first threshold T1 as
Step IV: Now, calculate q ij as absolute difference of CP with rest of all pixels of A and obtain 24 values.
Step V: Calculate μ q of all the above values (i.e., q ij ) and define the NS as
Step VI: Now, check if NS ≥ T1
and (0 ≤ CP ≤ m) or (255 − m ≤ CP ≤ 255), then the CP is noisy.
Step VII: But, if NS < T1, define second level of thresholds
Step VIII: Now check if (CP ≤ T2 min or CP ≥ T2max)
and (0 ≤ CP ≤ m) or (255 − m ≤ CP ≤ 255), then the CP is noisy.
Step IX: If both conditions are not satisfied, define third thresholds
where Q1 and Q3 are the first and third quartiles of the set of all pixels of A except CP.
Step X: Now, check if (CP ≤ T3 min or CP ≥ T3max)
and (0 ≤ CP ≤ m) or (255 − m ≤ CP ≤ 255), then the CP is noisy.
Otherwise, the CP is noise-free.
The flowchart of detection process is depicted in Fig. 4.
Now, the filtering stage will consider only the noisy pixels leaving the noise-free pixels untouched . The filtering stage employs the FSWM filter [14, 15]. The FSWM filter provides better results as compared to other filters because the detected noisy pixels are replaced by the fuzzy switching weighted median value of the noise-free pixels in its neighborhood. The weights assigned to different pixels contribute in achieving an appropriate value of median to replace the noisy pixels. The restoration term is defined as a linear combination of original pixel value and median value. The steps involved are as follows:
Step I: First, extract local information by calculating the absolute luminance difference lx, y in a 3 × 3 window W. lx, y is calculated as follows:
where (x + k, y + l) ≠ (x, y) and −N ≤ k, l ≤ N
Step II: Then, calculate the maximum absolute luminance difference in the filtering window as follows:
where Lx, y denotes the local information of the sliding window considered.
Step III: Then apply Fuzzy Reasoning to the defined local information Lx, y. The fuzzy membership function ffx, y is defined as follows:
where T1 and T2 are constants taken as 10 and 30 respectively in this paper.
Step IV: The next step searches for noise-free pixels and if not even a minimum of one noise-free pixel is identified in the current filtering window W, then the filtering window is expanded by one pixel at each of its four sides. This procedure is repeated until minimum of one noise-free pixel is identified.
Step V: Then, find the median (MED) by using the noise-free pixels. For filtering the image, a weighted median filter of 3 × 3 window is employed. The weight of a pixel is decided on the basis of the gradient of the surrounding pixels.
with Wx + s, yj + t as noise-free pixel.
The idea behind choosing only the noise-free pixels is to avoid selection of a noisy pixel as the median pixel.
Step VI: Now, at uniform image, regions having same intensities as noisy pixels the noise-free pixels might get detected as noisy pixels. Consequently, the filtering window is expanded continuously and the selected median pixel may not be appropriate to be used as a correction term. Considering this probability, the search for noise-free pixels is stopped when the filtering window has reached a size of 7 × 7 even though no noise-free pixel is detected. In such case, the first four pixels in the 3 × 3 filtering window are used to compute the median pixel as follows:
The first four pixels chosen, which made up the upper-left diagonal of the 3 × 3 filtering window, can be justified by the recursive nature of the FSWM filter .
Step VII: For all the noisy pixels, the median value is computed by using only the noise-free pixels surrounding it.
The restoration term is thus defined as linear combination of original pixel value and median value, i.e.,
In this process, the pixels which are marked noisy are replaced in the filtering stage and the noise-free pixels are retained the same without any modification.
Results and discussions
In order to demonstrate the effectiveness of the proposed method, we initially considered three standard test images (Lena, Boat, and Cameraman) of size 256 × 256 and JPEG format which are extensively used in literature to measure the performance of the existing methods. Then, we considered TID2008 database of 25 images of size 256 × 256 and BMP format to further demonstrate the effectiveness of the TTSD algorithm over a variety of images.
These images are corrupted with RVIN of equal probability with a noise intensity level (m) as 4. Simulations have been carried out in MATLAB R2013a. We evaluated the performance of the proposed method for a noise density varying from 75 to 95% RVIN and compared it with that of different filters like NAFSWM , ROAD , ROLD , TBLI , ASM , AFIDM , and CBD .
Restoration performances are quantitatively measured by the mean square error (MSE) and PSNR in decibels which are defined as:
where M and N are the total number of pixels in the horizontal and vertical dimensions of the image and Y(i, j) and S(i, j) are the pixel values in the (i, j)th locations of the restored image and the uncorrupted image, respectively.
Another performance index, widely known as SSIM index is used for measuring the similarity between the original and restored images. It is designed to improve on traditional methods like MSE and PSNR which provide results in mere numbers and fail to represent visual performance. For two images, x and y, the SSIM index is defined as
where l(x, y), c(x, y), and s(x, y) are the luminance, contrast, and structure components of the index respectively. Typical values of the constants α = β = γ = 1. MATLAB implementation of Eq. (24) has been used to calculate the SSIM.
Main parameters used in the proposed algorithm are mean, standard deviation, absolute difference, and quartiles. As explained already in Section 2.3, these parameters are able to detect the outliers when employed in a particular combination, i.e., the three levels of thresholds applied one after the other along with the auxiliary condition. These thresholds form a band of upper and lower limits against which the CP is tested for noisiness. We carried out an analysis of the optimality of multiplication factor K used in the second level of threshold of the proposed algorithm for TID2008 database at various noise densities. The results of this analysis at 80% noise density are presented in the Table 1 and Fig. 5.
From Table 1 and Fig. 5, we see that the highest values of performance parameters PSNR and SSIM (in italics) are achieved when value of K is 0.5. For values below and above 0.5, the values of PSNR and SSIM are lower than what they are at K = 0.5. Hence, the value of K has been considered as 0.5 in the proposed algorithm. The rest of the parameters used in the proposed algorithm assume different values depending upon the value of noise density.
Results on simulated images
Figures. 6, 7, and 8 show the restoration results of different filters, i.e., NAFSWM, ROAD, ROLD, TBLI, ASM, CBD, AFIDM, and TTSD for “Lena,” “Boat,” and “Cameraman” images corrupted by 80% of RVIN respectively. Tables 2 and 3 show the PSNR and SSIM values of various filters for these images corrupted with different levels of RVIN. The highest values are given in italics.
In addition to the three standard test images, i.e., Lena, Boat, and Cameraman, simulations have also been carried out on the TID2008 database of 25 images of size 256 × 256 for validating the proposed method. The average values of PSNR and SSIM have been calculated for all methods and compared for the TID2008 database in Tables 4 and 5 below. The highest values are given in italics. Figures 9 and 10 show the graphs of comparison of PSNR and SSIM of various methods for TID2008 database, respectively. The image restoration results of TID2008 image database for 80% noise density are shown in the Fig. 11.
From the results of existing methods, we observe that there is miss detection of noisy pixels as noise-free and vice versa. However, in case of the NS-based TTSD, miss detection is substantially minimized till 80% noise density and some miss detection occurs in TTSD at high noise densities of more than 80%. As already mentioned, the TTSD method uses the concept of noise signature and multiple thresholds to detect noisy pixels. A level-by-level verification is performed to avoid miss detection of noise-free pixels as noisy pixels.
From Figs. 6, 7, 8, 9, 10, and 11 and Tables 2, 3, 4, and 5, we observe that the NAFSWM  filter does not yield good restoration results at 80% noise density because it utilizes the histogram of the corrupted image to identify noise pixels as the noise detection algorithm which produces satisfactory results till 50% noise density only. Similarly, ROAD  is also good only up to 50% noise density beyond which miss detection is very high. The performance of ROLD  is better than that of the ROAD because it uses the logarithmic difference for detection, but after 60% noise density, it also does not provide good results. TBLI  detection algorithm is based on triangle-based linear interpolation which is used to detect noisy and noise-free pixels. TBLI  is also good only up to 60% noise density beyond which miss detection increases and picture quality worsens. In ASM’s detection stage, noisy pixels are detected using the absolute deviation between the mean value and the CP which is then compared with threshold value. ASM  though provides better value of PSNR; it does not give good quality picture restoration because of miss detection at higher noise densities.
The CBD  and AFIDM  are two methods among the existing methods which provide relatively better results till high noise densities. In these methods also, the detection is satisfactory up to 60% and miss detection occurs beyond that which results in blurring and haziness. In contrast to CBD, the NS-based TTSD is based on adaptive thresholds and hence the algorithm used is very effective. Further, in contrast to AFIDM, the TTSD algorithm uses three levels of thresholds which provide high quality of detection. The detection in TTSD is satisfactory up to 80% with some miss detection. This results in better restoration of image and better contrast as compared to the CBD.
From Table 4 and Fig. 9, we see that the TTSD filter achieves higher PSNR values even when the noise level is very high, e.g., at 95%. This is mainly because of the relatively better noise detection and efficient fuzzy switching weighted median filtering compared to the different kinds of median filtering used in other methods. Further, from Table 5 and Fig. 10, it is evident that the restoration performance of the TTSD filter is better in terms of SSIM than that of the other filters even when the noise density is higher than 80%. The higher values of SSIM produced by TTSD are also in consonance with the visual performance of the three restored images in Figs. 6, 7, and 8, whereby it is evident that the TTSD filter is able to preserve the contrast when compared with the other filters.
We also observed consistency in effectiveness of the proposed algorithm at high noise densities as compared to that of existing algorithms. For high noise densities beyond 75%, the proposed method TTSD consistently provides higher PSNR and SSIM values as compared to those of NAFSWM, ROAD, ROLD, TBLI, ASM, CBD, and AFIDM. As is evident from Fig. 9, the rate of decrease in PSNR is lower for TTSD as compared to those of other existing methods except NAFSWM and ROAD. Further, we observe from Fig. 10 that the rate of decrease in SSIM for TTSD is lower than those of CBD and AFIDM which are the other two significant algorithms so far as SSIM is concerned. This shows that the deterioration in the effectiveness of the proposed method with increase in noise density is not as steep as it is in case of other existing methods.
Further, the picture quality of TTSD is better than all other methods for high noise densities. This is because the TTSD filter satisfactorily addresses miss detection 80%, whereas the miss detection in other methods increases very sharply with the increase of noise density. Beyond 80%, miss detection also increases in TTSD at a slow rate.
Rational for using three levels of thresholds
There are various existing algorithms which use one or two thresholds for detection of noisy pixels. The proposed method TTSD uses three levels of thresholds to further refine the detection process. To improve the accuracy of the detection process, one can go on adding the levels of thresholds; however, it will result in high computational complexity. By carrying out extensive simulations on different images, the TTSD could arrive at the optimal level of three thresholds which is proposed in this study. It not only yields higher level of accuracy in detection but also provides the low computational complexity.
Each level of threshold in TTSD acts as a filter to separate noisy pixels from the rest and passes only those pixels to the next levels which are not detected as noisy pixels. Therefore, TTSD keeps on separating the noisy pixels after each level and probes the noise-free pixels level by level unless the three proposed statistical conditions of noisiness are verified. For every central pixel in a sliding window, unique threshold value is determined based on the surrounding pixel values. Therefore, the performance of detection in TTSD enhances.
To carry out speed comparison of the proposed method with the existing methods and to study their computational complexities, we calculated the computation time taken by these methods for noise densities varying from 75 to 95%. Table 6 and Fig. 12 show the comparison of average computation time taken by various algorithms for the TID2008 database from 75 to 95% noise densities. The highest values are given in italics.
From Table 6 and Fig. 12, it is evident that the TTSD takes less computation time than NAFSWM, TBLI, ASM, and AFIDM and more computation time than ROAD, ROLD, and CBD. We also see that the computation time increases with the increase in the noise density in all methods. However, the rate of increase in computation time for TTSD is lower than the existing methods. To avoid miss detection, TTSD uses three levels of thresholds along with an auxiliary condition which involve various calculations. Therefore, the PSNR and SSIM values of TTSD are better than those of the existing methods and the computation time taken is higher than ROAD, ROLD, and CBD. This again demonstrates the effectiveness of the TTSD algorithm as against the existing methods. Our future work will concentrate on further reducing the computation time as well as reduction of the miss detection above 80% RVIN. This can be achieved by use of parallel processing architect in place of series processing [31, 32].
These simulations demonstrate that the proposed method achieves better results at higher noise densities than the existing methods for a wide range of images. Since the restored picture quality is comparably good in TTSD, its average SSIM values at higher noise densities are far better than those of NAFSWM, ROAD, ROLD, TBLI, ASM, CBD, and AFIDM.
In this paper, a new method based on noise signature is presented for effective removal of random-valued impulse noise in images. It is extremely difficult to restore images corrupted with very high noise densities. Most of the existing algorithms provide good results only up to low noise densities. Some of them use predefined thresholds for detection which may not be effective in case of randomly picked up images at higher noise densities. In contrast, the proposed noise signature-based triple threshold statistical detection method promises better results in the case of highly corrupted random images too. This is possible because it does not use any predefined threshold values. Simulation results demonstrate the efficacy of this method in removing high density random-valued impulse noise while preserving image details. The proposed method is able to suppress up to 80% of noise with a considerable level of satisfaction due to effective use of noise signature. Further, the results reveal that the method performs better than the existing state-of-the-art filtering approaches. Thus, the proposed triple threshold statistical detection method is an adaptive filtering approach which can be considered as a high-performance method in its class.
Adaptive fuzzy inference system-based directional median filter
Adaptive switching median filter
Condition-based detection filter
Fuzzy switching weighted median filter
Joint photographic experts group
Mean square error
Noise adaptive fuzzy switching weighted median filter
Peak signal to noise ratio
Rank order absolute difference
Rank order logarithmic difference
Random-valued impulse noise
Salt and pepper noise
Structural similarity index
Triangle-based linear interpolation detection filter
Tampere image database 2008
Triple Threshold Statistical Detection
RC Gonzalez, RE Woods, Digital Image Processing, 2nd edn. (Prentice Hall, New Jersey, 2002)
AS Awad, Standard deviation for obtaining the optimal direction in the removal of impulse noise. IEEE Signal Process. Lett. 18(7), 407–410 (2011)
M Habib, A Hussain, S Rasheed, M Ali, Adaptive fuzzy inference system based directional median filter for impulse noise removal. Int. J. Electron. Commun. (AEU) 70(5), 689–697 (2016)
P Shrivastavav, S Changlani, Advance impulse noise filtering using double threshold with edge preservation. Int. J. Comput. Appl. 115(3), 24–27 (2015)
G Hanji, Adaptive tolerance filter for RVIN suppression. J. Adv. Comput. Sci. 3(1), 1–11 (2015)
C Yan, Y Zhang, J Xu, F Dai, J Zhang, Q Dai, F Wu, Efficient parallel framework for HEVC motion estimation on many-core processors. IEEE Trans. Circuits Syst. Video Technol. 24(12), 2077–2089 (2014)
C Yan, Y Zhang, J Xu, F Dai, L Li, Q Dai, F Wu, A Highly, Parallel framework for HEVC coding unit partitioning tree decision on many-core processors. IEEE Signal Process. Lett. 21(5), 573–576 (2014)
H Dawood, P Guo, Removal of random valued impulse noise by local statistics. Multimed. Tools Appl. - Int. J. 74(24), 11485–11498 (2014)
ZM Ramadan, A New, Method for impulse noise elimination and edge preservation. Can. J. Electr. Comput. Eng. 37(1), 2–10 (2014)
X Lan, Z Zuo, Random valued impulse noise removal by the adaptive switching median detector and detail-preserving regularization. Optik-Int. J. Light Electron. Opt. 125(3), 1101–1105 (2014)
CY Lien, CC Huang, PY Chen, An efficient denoising architecture for removal of impulse noise in images. IEEE Trans. Comput. 62(4), 631–643 (2013)
R Pushpavalli, G Sivaradje, Asymmetric trimmed median filter for images highly corrupted with random valued impulse noise. Int. J. Comput. Appl. 44(7), 1506–1516 (2012)
R Seetharaman, R Vijayaragavan, Removal of random valued impulse noise by directional mean filter using statistical noise based detection. Int. J. Comput. Appl. 46(10), 14–18 (2012)
C Suganya, O Umamaheswari, in Proc. Defense Science Research Conference and Expo (DSR). Image restoration using noise adaptive fuzzy switching weighted median filter for the removal of impulse noise (IEEE, Singapore, 2011), pp. 1–4
KKV Toh, NAM Isa, Noise adaptive fuzzy switching median filter for salt-and-pepper noise reduction. IEEE Signal Process. Lett. 17(3), 281–284 (2010)
VR Vijaykumar, P Jothibasu, in Proc. IEEE 17 th International Conference on Image Processing (ICIP). Decision based adaptive median filter to remove blotches, scratches, streaks, stripes and impulse noise in image (IEEE, Hong Kong, 2010), pp. 117–120
V Jayaraj, D Ebenezer, A new switching based median filtering scheme and algorithm for removal of high density salt and pepper noise in image. EURASIP J. Adv. Signal Process. 2010, 1–11 (2010)
PK Sa, R Dash, B Majhi, in Proc. Fourth International Conference on Industrial and Information Systems (ICIIS). Second order difference based detection and directional weighted median filter for removal of random valued impulsive noise (IEEE, Srilanka, 2009), pp. 362–364
P Civicioglu, Removal of random-valued impulsive noise from corrupted images. IEEE Trans. Consum. Electron. 55(4), 2097–2104 (2009)
H Ibrahim, NSP Kong, TF Foo, Simple adaptive median filter for the removal of impulse noise from highly corrupted images. IEEE Trans. Consum. Electron. 54(4), 1920–1927 (2008)
KS Srinivasan, D Ebenezer, A new fast and efficient decision based algorithm for removal of high-density impulse noises. IEEE Signal Process. Lett. 14(3), 189–192 (2007)
Y Dong, A new directional weighted median filter to removal of random valued impulse noise. IEEE Signal Process. Lett. 14(3), 193–196 (2007)
Y Dong, RH Chan, S Xu, A Detection, Statistic for random-valued impulse noise. IEEE Trans. Image Process. 16(4), 1112–1120 (2007)
W Luo, A new efficient impulse detection algorithm for the removal of impulse noise. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. E88(10), 2579–2586 (2005)
R Garnett, T Huegerich, C Chui, WJ He, A universal noise removal algorithm with an impulse detector. IEEE Trans. Image Process. 14(11), 1747–1754 (2005)
T Chen, HR Wu, Adaptive impulse detection using center weighted median filters. IEEE Signal Process. Lett. 8(1), 1–3 (2001)
MS Moore, M Gabbouj, SK Mitra, in Proc. Second EURASIP Conference on DSP for Multimedia Communications and Services (ECMCS). Vector SD-ROM filter for removal of impulse noise from color images (EURASIP, Poland, 1999)
Z Wang, D Zhang, Progressive switching median filter for the removal of impulse noise from highly corrupted images. IEEE Trans Circuits Syst 46(1), 78–80 (1999)
N Singh, O Umamaheswari, in Proc. Fourth International Conference on Signal Processing, Communication and Networking (ICSCN-17). A new denoising algorithm for random valued impulse noise in images using measure of dispersion (IEEE, India, 2017), pp. 1–6
N Singh, O Umamaheswari, Some studies on detection and filtering algorithm for the removal of random valued impulse noise. IET Image Process. 11(11), 953–963 (2017)
C Yan, H Xie, S Liu, J Yin, Y Zhang, Q Dai, Effective Uyghur language text detection in complex background images for traffic prompt identification. IEEE Trans. Intell. Transport. Syst. 19(1), 220–229 (2017)
C Yan, H Xie, D Yang, J Yin, Y Zhang, Q Dai, Supervised hash coding with deep neural network for environment perception of intelligent vehicles. IEEE Trans. Intell. Transport. Syst. 19(1), 284–295 (2017)
Availability of data and materials
The datasets supporting the conclusions of this article are included within the article and its additional files.
Corresponding author, Neeti Singh, is a graduate in Electronics and Telecommunication and post graduate in Applied Electronics; she started her career as Assistant Executive Engineer, GSM project in ITI limited, Raipur, India, in 2005. She has also worked as Switching Engineer in Alcatel-lucent, Chennai, India. She presented papers in IEEE International conference ICECCN-13, India; ADELCO 9th National conference, India; NCCS-15, India; and IEEE International conference ICSCN-17, India. Presently, she is pursuing her PhD from Anna University, Chennai, India.
Second author, O. Umamaheswari, received her B.E. Degree in Electronics and Communication Engineering and M.E. Degree in Communication Engineering from Thiagarajar College of Engineering, Madurai, India, in the year 1998 and 1999 respectively. She obtained her Ph.D. Degree in the area “Nonlinear signal processing” in the year 2009 from Anna University, Chennai, India. She is currently an Assistant Professor (Senior Grade) in the Department of Electronics and Communication Engineering, College of Engineering, Guindy, Anna University, Chennai, India. Her research includes nonlinear signal processing, optimization techniques, and analysis of FMRI. She is a member of IEEE and life member of Computer Society of India.
Ethics approval and consent to participate
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Singh, N., Oorkavalan, U. Triple Threshold Statistical Detection filter for removing high density random-valued impulse noise in images. J Image Video Proc. 2018, 22 (2018). https://doi.org/10.1186/s13640-018-0263-0
- Triple Threshold Statistical Detection
- Random-valued impulse noise
- High density noise
- Fuzzy switching weighted median filter and noise signature