Abstract

Traditionally, several existing filters are proposed for removing a specific type of noise. However, in practice, the image communicated through the communication channel may be contaminated with more than one type of noise. Switching bilateral filter (SBF) is proposed for removing mixed noise by detecting a contaminated noise at the concerned pixel and recalculates the filter parameters. Although the filter parameters of SBF are sensitive to type and strength of noise, the traditional SBF filter has not taken the strength into account. Therefore, the traditional SBF filter cannot remove the mixed noise efficiently. In this paper, we propose a smart switching bilateral filter (SSBF) to outperform a demerit of traditional SBF filter. In the first stage of SSBF, we propose a new scheme of noise estimation using domain weight (DW) pattern which characterizes the distribution of the different intensity between a considered pixel and its neighbors. By using this estimation, the types of mixed noises and their strength are estimated accurately. The filter parameters of SBF are selected from the table where the spatial weight and radiometric weight are already learned. As a result, SSBF can improve the performance of traditional SBF and can remove mixed noises efficiently without knowing the exact type of contaminated mixed noise. Moreover, the performance of SSBF is compared to the optimal SBF filter (OSBF) where OSBF sets the optimal value of filter parameters on the contaminated mixed noise and three new filters — block-matching and 3D filtering (BM3D), nonlocal sparse representation (NCSR), and trilateral filter (TF). The simulation results showed that the performance of SSBF outperforms BM3D, NCSR, TF, and SBF and is near to optimal SBF filter, even if the SSBF does not know the type of mixed noise.

1. Introduction

Currently, a high quality image is used in several applications such as security system or medical diagnosis. The quality of image affects these applications directly; e.g., the intruders cannot be identified if the quality of image is reduced. Moreover, this image can be communicated through communication technology where the transmitted image may be contaminated by noises. Therefore, the performance of the received image degrades. Filtering is an important function of image processing which is used to remove noises from the image [13]. Generally, the filter is designed for a specific type of noise. Then, to restore the desired image from the received image, the filtering technique should be selected on the type of detected noise.

The types of noise that contaminate the image can be classified into two groups including linear noise and nonlinear noise [24]. Gaussian noise is the well-known types of linear noise whereas speckle noise, salt-and-pepper noise, and uniform impulse noise are nonlinear noise. Gaussian noise can be characterized by its distribution with mean and variance values. In a nonlinear group, salt-and-pepper noise corrupts the image’s pixels randomly and sparsely which makes some pixel change to bright or dark. Uniform impulse noise is considered by replacing a portion of some image pixel values with random values. Speckle noise is characterized by signal-dependent noise where the noise corrupts the image in the form of multiplicative noise [512].

As mentioned earlier, most of the denoising techniques can be used to perform noise reduction when the image is contaminated by a single type of noise [4]. Nevertheless, in practice, the images may be contaminated by more than one type of noise at the same time. Then, former image noise removal techniques cannot remove mixed noises efficiently. Recently, there are a few numbers of filters that are proposed to remove a mixed noise. Therefore, in this work, the mixed noise removal technique was focused.

To remove mixed noise, at least two filters are implemented for eliminating a specific type of noise. Therefore, the type of corrupted noise at the considered pixel should be identified accurately in order to select the appropriate filter. The noise removal technique can be categorized into two groups—the spatial domain and transform domain. In the spatial domain, the image is performed noise removal without transforming the information to other domains while noise removing based domain transformation needs to convert image to other domains and then perform noise removal.

In the spatial domain based technique, several types of filter are proposed to remove mixed noise. In [6, 13], the fuzzy rule is utilized to formulate weight averaging where the weight of noisiness and weight of similarity between the considered pixel and neighbors were taken into account. Nonlocal mean (NLM) approach [14] is exploited. By utilizing NLR; not only are neighbors considered, but patches which contain similar details are also determined. However, only using NLM cannot achieve high performance on local patches grouping under high strength of the noise. On the other hand, noise removal techniques based on the bilateral filter (BF) [1517]— trilateral filter (TF) [1821] and switching bilateral filter (SBF) [2225]—are proposed. These techniques are proposed to improve the performance of BF under impulsive noise. It should be noted that BF works well on Gaussian noise. Based on the hybrid scheme of TF, a new parameter—impulsive weighting function—is taken into the account where this parameter is used to perform a noise removal on the pixel contaminated by impulsive noise. However, TF filter cannot effectively distinguish the noise type efficiently when the strength of noise is high. Moreover, TF does not consider other types of noise, e.g., salt-and-pepper and speckle noise. Therefore, when these types of noise corrupt the image, TF removes the noise ineffectively. On the other hand, SBF is proposed to remove two types of noise including Gaussian noise and salt-and-pepper noise. SBF determines the type of contaminated noise using the sorted quadrant median vector (SQMV) technique and reference median (RM) technique [22]. Then, it switches the predetermined filter parameters—spatial weight () and radiometric weight ()—on the detected type of noise [25]. In our previous work [25], we evaluated the performance of SBF filter for several types of images, noise types, and noise strength. Although switching bilateral filter (SBF) has merit to remove both linear and nonlinear noise, its demerit is the sensitivity of and which cannot be fixed and needs to be re-calculated on the detected type and level of noise.

Sparse representation [26] is one of the most studied methods for image denoising scheme. By transforming the image into other domains, true signal and noise can be distinguished accurately. Based on the advantages of sparse representation and NLM, several filters [9, 2732], such as weighted encoding with sparse block-matching and 3D filtering (BM3D) [28], nonlocal sparse representation (NCSR) [29], nonlocal regularization (WESNR) [9] and fuzzy impulsive additive noise suppression using sparse representation (F_IANS_SR) [30], combine these methods in order to achieve high performance of mixed noise removal. The drawbacks of filters based on sparse representation and NLM combination are described in Section 2. Among these techniques, BM3D and NCSR are used to compare to our proposed technique since they show high noise removal performance and are used in several kinds of literature in performance comparison.

In this paper, an alternative SBF filter, smart switching bilateral filter (SSBF), and an estimated noise characterization scheme for noise estimation were proposed. It should be noted that once the noise type and strength are efficiently estimated, the SSBF filter removes the mixed noise with the appropriate and . The proposed SSBF filter improves the performance of SBF filter by learning the pattern of mixed noise and varying the value of and on the detected mixed noise. Therefore, the contribution of this paper is two-fold. First, we propose an estimated noise characterization scheme to estimate the type and strength of mixed noise. To determine the noise type and strength, joint impulsivity function on two-dimensional data is implemented to generate the distribution pattern of mixed noise, domain weight (DW) pattern. The DW pattern characterizes the distribution of the difference between the intensity of center pixel and neighbors. Instead of estimating the type of mixed noise from the intensity of image pixels, the estimated noise characterization scheme gives an accurate estimation since each mixed noise type has a specific distribution pattern of DW. Second, we address the issues of traditional SBF filter by generating the table of and for several types and strengths of mixed noises. After the type and strength of mixed noise are estimated, the appropriate and are selected from the table to perform a noise removal. To evaluate the performance of SSBF, we simulate the SBF filter which sets the optimal value on the contaminated mixed noise and called optimal SBF filter (OSBF). Moreover, three new filters—block-matching and 3D filtering (BM3D), nonlocal sparse representation (NCSR), and trilateral filter (TF)—are also compared. As a result, SSBF gives a high performance of mixed noise removal and nearly to the OSBF filter without any knowledge about the contaminated mixed noise. It should be mentioned that the OSBF filter needs to know the exact noise type and strength to calculate and to perform filtering.

The performances of SSBF under mixed noise environments are considered. Four cases of mixed noise include case A (Gaussian and salt-and-pepper), case B (Gaussian and uniform impulse), case C (speckle and salt-and-pepper), and case D (speckle and uniform impulse). We will consider the sixteen levels of noise strength. In the simulation, we consider our technique performance pass through peak signal-to-noise ratio (PSNR), the structural similarity index (SSIM), and mean-squared error (MSE) [33]. Simulation results show that the SSBF gives the best PSNR for all noise cases.

This paper is organized as follows. Section 2 presents switching the bilateral filter. Section 3 presents a smart switching bilateral filter with estimated noise characterization. Section 4 presents the learning process, noise estimation evaluation, and the simulations results. Finally, a brief conclusion is given in Section 6.

The efficient method for removing mixed noise is to exploit several filters which are appropriate to the considered noises. In general, at least two filters are applied to remove mixed noise. Applying the appropriate filter to the detected noise, noise type at the considered pixel needs to be identified for selecting the appropriate filter. Therefore, the noise estimation plays an important role in mixed noise removal scheme. Traditionally, the noise removal technique can be categorized into two groups—spatial domain and transform domain.

By removing noise on the spatial domain, the filters remove the noise from the image directly. In [6, 13], mixed noise removal techniques based on the fuzzy rule are proposed. To remove mixed noise, these filters formulate weight averaging by utilizing a weight of similarity between considered pixel and neighbors and weight of noisiness. Although these filters can remove mixed noise while preserving edge and detail of the image, they cannot achieve a high noise removal performance since only local neighbor pixels cannot give appropriate weight under high strength of noise. Moreover, by exploiting fuzzy theorem, several parameters need to be taken into the account, which comes at a cost of the computational burden.

Since only local information of image pixels cannot achieve high performance, a nonlocal mean (NLM) filter [14] is proposed to address this issue. By utilizing a concept of nonlocal method, similar image patches are taken into account in order to perform noise removing using weight average algorithm. However, NLM filter also suffers from high strength of noise since the local patches cannot be grouped accurately.

On the other hand, bilateral filter [1517] also has been extensively studied and modified for mixed noise removal. Trilateral filter (TF) [1821], switching bilateral filter (SBF) [2225], and adaptive bilateral filter (ABF) [34] are the modification of traditional bilateral filter. TF filter performs a noise removal based on a hybrid scheme where traditional BF and Rank-Ordered Absolute Differences (ROAD) statistic are exploited. From our study, we found that TF filter gives a poor performance under high strength of mixed noise between Gaussian noise and impulsive noise because the type of noise at the considered pixel cannot be identified effectively. Moreover, when the type of contaminated noise is not Gaussian or impulsive noise, e.g., salt-and-pepper and speckle noise, the TF filter cannot remove noise efficiently. SBF is an improved method of a bilateral tradition filter which has a demerit in removing nonlinear noise. Different from TF, SBF determines the type of contaminated noise using the sorted quadrant median vector (SQMV) technique and reference median (RM) technique [22]. However, the performance of SBF filter is sensitive to the strength of the noise. Once the strength of noise changes, SBF filter cannot maintain its performance at a high level. ABF performs a mixed noise removal by exploiting bilateral filter with adaptive scheme and impulse noise detector. The parameter of BF filters is adapted utilizing artificial bee colony algorithm. Although ABF works well under high strength of noise, it cannot preserve the detail of image which contains smooth regions, e.g., Lena and Pepper.

Based on domain transformation, sparse representation can be used to express the behavior of noise. By transforming the domain, the desired signal gives a high magnitude of transform coefficient while the noise gives low magnitude. In [26], image denoising based on wavelet is proposed by applying wavelet transform to local neighborhoods specified by similarity coefficient. Then, each sub-band of wavelet is performed noise removal through adapting scheme.

In [28], image denoising technique based on sparse representation with extensive use of a nonlocal method—block-matching and 3D filtering (BM3D)—is proposed. A sparse transformation is applied on similar 2D image patches based on the nonlocal method. These patches are formed as a 3D array which is applied to a collaborative filtering process. Then, the output from the collaborative filtering process is performed an inverse 3D transformation to reconstruct the image into the traditional domain. However, BM3D gives a poor performance under high strength of noise caused by an inaccurate block-matching. In [27], the concept of BM3D is modified to perform noise removal on video data where the technique is known as “BM4D.” Instead of creating 3D arrays formed by similar image patches, BM4D uses 3D information of video, i.e., sequence patches, to create 4D data structure. Then, the collaborative filter is applied to 4D data to remove noise. It can be noticed that a matching process is an important task of BM3D and BM4D. If the block-matching process is inaccurate, BM3D and BM4D cannot achieve high performance.

In [3032], the performance of traditional BM3D is improved by applying the bilateral filter to reduce artifacts created by impulse noise and Gaussian noise suppressing process. However, their performance still suffers from bilateral filter’s disadvantages where its performance is sensitive to the strength of noise. It can be noticed that the mixed noise removal technique based on sparse representation cannot make an accurate distinguishing between true signal and noise under high strength of the noise.

In [9], the mixed noise removal technique based on the encoding scheme is proposed. Different from others, impulse noise and Gaussian noise are removed simultaneously through encoding scheme where noisy patch is encoded over the prelearned dictionary. Although it gives high performance on normal images, it fails to maintain high performance on high details image. In [29], the nonlocal method is combined with sparse coding scheme to address a lacking of smoothness issue of traditional nonlocal method. The difference between noisy image and the unknown desired image is evaluated utilizing sparse coding. This filter is known as nonlocal sparse representation (NCSR). However, artifacts still occur.

3. Switching Bilateral Filter

A switching bilateral filter (SBF) [22] is an improved method of a tradition bilateral filter which has a demerit in removing nonlinear noise. As shown in Figure 1, the framework of SBF filter can be separated into two stages including detecting and filtering. First, the detected image is separated into several windows as shown in Figure 2(a). These windows identified whether the information is edge of image or texture. After the type of information is detected, the contaminated noise in the window is determined by noise detector using sorted quadrant median vector (SQMV) [22].

To determine SQMV, the window () is separated into four subwindows () and calculates the median () of each subwindow as shown in Figure 2(b). Then, these median values are used to calculate a reference median (RM) which will be used to identify whether the considered window is contaminated with noise or is noise free. Since the type of noise is detected, then the appropriate values of SBF parameters can be determined.

Therefore, of subwindows () can be expressed as

Then, SQMV is given by

The reference median (RM) is given aswhere

To determine the type of noise, the absolute difference between a determined pixel and RM is compared to the thresholds (Tk1 and Tk2) as shown in Algorithm 1. Tk1=30 and Tk2=15 are thresholds for identifying nonlinear noise and linear noise. As described in [22], the appropriated threshold of Tk1 and Tk2 is within the range of 25, 30 and 5, 10, 15, respectively. Therefore, in this work, the values Tk1 and Tk2 are obtained from the experimental study using 10 images. The optimal values of Tk1 and Tk2, which distinguish the nonlinear noise effectively, of those images are averaged. Then, the value of Tk1 and Tk2 is set as 30 and 15, respectively.

if
    , ;      // nonlinear noise
else if
    , ;      // linear noise
else
    , ,   // noise free
end.

Second, the parameters from the first stage are then applied to the filter to remove noise from the image’s window. The output of SBF () can be calculated bywhere is the window size, is input pixel, for linear noise ( and ), for nonlinear noise ( and ), for noise free (), and are radiometric weight and spatial weight, respectively.

For tradition SBF filter, radiometric weight () and spatial weight () are the important parameters and the values of these parameters affect the performance of the filter. Inside the SBF filter, there are range and domain filter which perform a noise removal. By using the result from noise identification, the range filter recalculates the filter weight for the detected noise—linear and nonlinear noise. In our study [25], the radiometric weight () and spatial weight () need to be varied on the type of image, the type of noise, and the strength of noise. If the values of radiometric weight () and spatial weight () are not appropriate to the mentioned factors, the performance of SBF filter is poor. It can be mentioned that the performance of SBF is influenced by the noise identification and the filter weights. If noise is identified accurately, the filter performs noise removal with the appropriate weights. On the other hand, if noise is identified inaccurately, the SBF filter gives poor noise removal performance. Moreover, the filter weights are also fixed; therefore, the SBF filter cannot maintain its performance when the strength of noise changes.

In practice, the image may be contaminated by different types of noise at the same time, which is referred to as mixed noise. However, existing filters are proposed to remove the specific type of noise; e.g., the median filter is used to remove only a nonlinear noise. If the image is contaminated by mixed noise—linear noise and nonlinear noise—the median filter gives poor performance [35, 36].

4. Smart Switching Bilateral Filter with Estimated Noise Characterization

In this section, the detail of smart switching bilateral filter (SSBF) is described. Since the performance of SBF filter relates on the spatial weight () and radiometric weight () which need to be varied on the type and strength of noises, then, in this paper, we propose a new scheme of mixed noise estimation by implementing joint impulsivity function on two types of dimensional data to generate the pattern and domain weight (DW) which is used to characterize the type of mixed noise. By characterizing the distribution of the difference between center pixel and neighbors of DW, the type and strength of mixed noise can be estimated efficiently.

The framework of the proposed filter can be separated into two modes—offline and online mode, as shown in Figure 3. In an offline mode, the optimal values of SBF filter—radiometric weight () and spatial weight ()—and DW pattern for learned images are generated. In our simulation, the DW patterns are learned from 4 standard types of images under 16 different strengths of noises where the detail will be described later. In an online mode, firstly, we determined whether detected image is contaminated by mixed noise using the proposed estimated noise characterization scheme. Once a mixed noise is detected, the type and strength are estimated for selecting the appropriate and to perform a mixed noise removal.

4.1. Offline Mode

In this subsection, we describe the framework of the offline mode including a generation of DW patterns for mixed noise image and optimal values—radiometric weight () and spatial weight ()—for images in the knowledge base. The DW patterns are generated by determining the difference between the center pixel and neighbors using the theoretical of rank-ordered relative differences (ROAD) [21] given by where for , is windows size, and .

Then, we propose a new parameter—domain weight (DW)—to estimate mixed noise type and strength by implementing joint impulsivity function on two types of dimensional data. Therefore, the DW can be expressed as where is the magnitude of center pixel, is neighborhood magnitude, and is the joint variance of the signal element at position under consideration.

As depicted in the equation, the DW value shows the difference between the center pixel and neighbor pixels. For mixed noise of gray-scale image, the value of DW is between 0 and 25. The value of DW can be used to determine the type and strength of noise. When the magnitude of considered pixel is equal to the neighbor pixels, DW is 0. On the other hand, if the magnitude of considered pixel is absolutely different from the neighbor pixels—equal to 255—DW is 25. After the DW values are calculated from all windows of the detected image, the distribution pattern of DW values—DW pattern—is generated by categorizing into 25 groups, which is shown in Table 1, for determining the type and strength of mixed noise. Each type of noise has a particular DW pattern. Although it combines with other types of noise, the DW pattern can be used to identify the type of mixed noise if it is already learned.

As mentioned earlier, radiometric weight () and spatial weight () are the key factors of SBF filter. After the type of noise is identified, e.g., when the image is corrupted by a single noise, the values of and should be set appropriately in order to achieve the highest performance. Therefore, in our simulation, we learn the DW pattern for 4 types of mixed noise under 16 levels of noise strength. After the DW patterns are generated, then we determine the appropriate values of radiometric weight () and spatial weight () for each DW pattern.

4.2. Online Mode

In an online mode, as shown in Figure 3, the detected mixed noisy image is first determined by using the proposed estimated noise characterization scheme. The DW pattern of detected image is generated from calculated DW values. Then, it is compared to learned DW patterns in the knowledge base to identify the type of mixed noise. After the type of mixed noise is determined, the DW pattern of received image is compared with DW patterns in the considered group of mixed noise to determine the strength. Therefore, the estimated level of mixed noise strength is used to select the value of estimate radiometric weight () and spatial weight ().

Therefore, the outputs from the estimation section are and which are used by the SBF filter to perform mixed noise removal. The output of SBF () can be calculated bywhere is the window size, is input pixel, for linear noise, for nonlinear noise, for noise free, , and and are radiometric weight and spatial weight, respectively.

5. Simulation Results

In this section, we first describe our learning process and simulate the performance of the proposed noise estimation technique. Second, we evaluate the performance of smart switching bilateral filter (SSBF) as compared to nonlocal sparse representation (NCSR), block-matching and 3D filtering (BM3D), trilateral filter (TF), traditional switching bilateral filter (SBF), and optimum switching bilateral filter (OSBF). In our simulation, we consider four types of noise—Gaussian noise, salt-and-pepper noise, uniform impulse noise, and speckle noise. For Gaussian noise, we consider five levels of SNR—15, 20, 25, 30, and 35dB. Other noises consider five distribution values including 10, 20, 30, 40, and 50. For image types, we consider ten standard images including Lena (256x256), Baboon (256x256), Girl (256x256), Pentagon (512x512), House (128x128), Airplane (256x256), Sailboat (256x256), Aerial (256x256), Stream-and-bridge (256x256), and Mobilcal frame (352x240) as shown in Figure 4. To evaluate the performance of filters, the performances of two of learned images—Lena (256x256) and Pentagon (512x512)—and nonlearning image—Pepper (256x256)—are simulated and illustrated in this paper.

5.1. Learning Process and Noise Estimation Evaluation

In this sub-section, we describe the learning process of our proposed estimated noise characterization scheme. To generate DW patterns in the knowledge base, ten standard images—Lena (256x256), Baboon (256x256), Girl (256x256), Pentagon (512x512), House (128x128), Airplane (256x256), Sailboat (256x256), Aerial (256x256), Stream-and-bridge (256x256), and Mobilcal frame (352x240)—are considered. These training images are contaminated with mixed noise between linear and nonlinear noise under different strengths of each type of noise where the strength is separated into four groups. The types of mixed noise images are as follows:(i)Group A: Gaussian noise and salt-and-pepper noise(ii)Group B: Gaussian noise and uniform impulse noise(iii)Group C: speckle noise and salt-and-pepper noise(iv)Group D: speckle noise and uniform impulse noise

Therefore, the simulated type of noisy image can be separated into four groups under different 16 levels of noise strength as shown in Table 2.

As mentioned earlier, in this paper, we first learned the DW patterns for four types of noise with 16 levels of noise strength. For the convenience of analyzing, as shown in Figure 5, we illustrate level 6 of each noise group because it is easy to distinguish the type of mixed noise. As depicted in the figure, each type of mixed noise has a specific DW pattern and is different from other types. As illustrated in the figure, Gaussian noise and speckle noise can be distinguished by the slope of the DW pattern at a low level, i.e., DW values from 0 to 10. When the image is contaminated by Gaussian noise, the slope of the DW pattern at low level is high. This is because the differences between the considered pixel of the window and its neighbors are small because Gaussian noise corrupts the image on a normal distribution pattern by increasing or decreasing the intensity of the pixel. If the image is corrupted by speckle noise, the slope of the DW pattern at low level is low. It can be noticed that the slope of the DW pattern of the image contaminated by speckle noise increases at the level of DW value which is greater than 7. For a nonlinear noise, the type of noise can be distinguished by determining the DW value of level 25. It can be noticed that the DW value at the level when the image is contaminated by salt-and-pepper is higher than uniform impulse noise. Then, to estimate the type of mixed noise, we calculate the normalized mean-squared error (Normalize MSE) between DW pattern of detected image and learned DW pattern. The Normalize MSE is given aswhen GN is group number =25, is domain weight pattern, is domain weight of received image, and and are size of image.

Second, we evaluate the performance of the proposed estimation technique for estimating the type of mixed noise and strength. The performance of an estimation is determined by the mean-squared error (MSE) of a noisy training image and noisy test image where the MSE can be calculated bywhere and represent the DW of noisy training image and DW of noisy test image, respectively.

The SSIM can be formulated bywhere is the luminance comparison function, is the contrast comparison function, and is the structure comparison function.

In Figure 6, the results of noise type estimation when the received image is corrupted by Gaussian noise of 25dB and salt-and-pepper of 20% are illustrated. It can be noticed that the DW pattern of received image is near to the DW pattern of groups A and B. However, we can distinguish between groups A and B by determining the DW value of the group. The salt-and-pepper noise affects the changing of pixel’s intensity into definitely white or black while the uniform noise affects the changing of pixel’s intensity to dark white or light black. The results of MSE are shown in Table 3. Therefore, it can be identified that the received image is corrupted by Gaussian noise mixed with salt-and-pepper noise.

Then, the DW pattern of received image is analyzed comprehensively by comparing to the DW patterns in group A to determine the strength of noises. As depicted in Figure 7, we can see the MSE between the DW patterns of received image and the DW patterns of levels 5, 6, 7, and 8 of group A. As shown in Table 4, the MSE of the DW pattern of the received image and level 6 is the lowest, and the SSIM is the highest. It means that the detected pattern of received image matches level 6. Therefore, the detected levels of noise strength are 25 dB of Gaussian noise and salt-and-pepper with equal to 20%. Then, the estimate radiometric weight () and spatial weight () can be selected from the learning—radiometric weight () and spatial weight () table, which is shown in Table 5. To learn the and for Table 5, we investigate and which achieve the optimal performance of 4 standard images and these optimal values are averaged for each level of noise strength.

The estimation of mixed noise groups B, C, and D is illustrated in Figures 8, 9, and 10, respectively. As described earlier, the linear noise can be estimated by using DW values at the lower range (3 to 10). For the nonlinear noise type, the value of DW can be used to identify the noise. As shown in Table 6, the performance of noise type and strength estimation is depicted. By estimating the noise type and strength using DW pattern, the proposed estimated noise characterization scheme gives high estimation performance as 80%.

5.2. Simulation Results

In this subsection, we simulate the performance of smart switching bilateral filter (SSBF) as compared to 5 filters—nonlocal sparse representation (NCSR), block-matching and 3D filtering (BM3D), trilateral filter (TF), traditional switching bilateral filter (SBF), and optimum switching bilateral filter (OSBF)—for 4 types of mixed noise under 16 levels of noise strength. To determine the type of noise at the determined pixel, is set to be 40. The spatial weight () and radiometric weight () for traditional SBF are set as which is set to 3 and which is set to 0.5 for linear noise. For nonlinear noise, is set to 5 and is set to 0.3 [22]. For OSBF, and which are set on the assumption of noise strength are exactly known.

As shown in Figure 11, the performances of NCSR, BM3D, TF, SBF, OSBF, and SSBF are compared when the image is corrupted by the Gaussian noise and salt-and-pepper noise under 16 levels of mixed noise strength. Once the mixed noise strength is exactly known, OSBF gives the best mixed noise removal performance as compared to others. However, the OSBF is challenging to be implemented in practice because it is difficult to be known as the exact noise type and strength. On the other hand, SBF gives low performance because the values of and are not appropriate to the noise type and strength. From Table 7, NCSR and TF show nearly the same performance on removing corrupted Gaussian noise mixed with salt-and-pepper noise. However, their performance is worse than the proposed SSBF filter. Moreover, the performance of NCSR and TF noticeably drops when noise strength increases. Even if BM3D works well on denoising the Gaussian noise, its performance becomes worse when Gaussian noise mixes with others. Therefore, we consider performance of OSBF as the upper boundary. As depicted in the figure, SSBF gives high performance nearly to the upper benchmark without any knowledge of noise type and strength. By estimating the noise type and strength using the proposed estimated noise characterization scheme, the and are selected on the detected noise type and strength. Therefore, SSBF gives high performance since and are appropriate.

As shown in Figure 12, the performance comparison of NCSR, BM3D, TF, SBF, OSBF, and SSBF when image is corrupted by Gaussian mixed with uniform impulse noise is depicted. When the noise is mixed by Gaussian noise, SSBF can identify the type of mixed noise and its strength accurately. Therefore, the selected and are appropriate for the received image. Then, the performance of SSBF is near to OSBF. From Table 8, the performance of BM3D becomes better when Gaussian noise mixes with uniform impulse noise. However, it still gives the worst mixed noise removal performance. SBF, TF, SSBF, and OSBF show much better performance than NCSR corrupted Gaussian noise mixed with uniform impulse noise environments.

When the noise is mixed by speckle noise as shown in Figures 13 and 14 and Tables 9 and 10, the performance of the SSBF is still near to OSBF since the type and strength of noise are efficiently estimated. It can be seen that since the proposed estimated noise characterization scheme analyzes mixed noise by determining the distribution pattern of domain values (DW) instead of using the histogram, the proposed technique distinguishes the type and strength of mixed noise accurately. Since histogram shows the distribution of pixels’ intensity, the type of mixed noise cannot be distinguished. On the other hand, NCSR, BM3D, TF, and SBF are not proposed for removing such kind of speckle noise. Therefore, they give poor performance.

As a result, NCSR, TF, and SBF filters work well on reasonable noise strength. When noise strength becomes higher, their performance significantly drops. This is because they cannot distinguish noise and true signal effectively. Moreover, the important function of mixed noise filter is noise identification; when the strength of noise is high, NCSR, TF, and SBF filters cannot identify noise type accurately. Therefore, their performance suffers from this inaccurate noise identification. Moreover, NCSR, BM3D, TF, and SBF filters did not consider the speckle and salt-and-pepper noise; then they give poor performance when the image is contaminated with speckle and salt-and-pepper noise. The simulation results show that our proposed filter (SSBF) gives the highest PSNR for all groups of mixed noise since it takes the four types of noise into account in order to perform noise estimation and to remove.

To illustrate the output from the SSBF, two learned images—Lena and Pentagon—and a nonlearning image—Pepper—are contaminated with the four groups of mixed noise and performed noise removal as shown in Figures 1526. For convenience on noticing the performance, the absolute differences between original and output images are plotted in subfigure (c) for all figures. As a result, once the type and strength of mixed noise are estimated efficiently, SSBF can perform noise removal with the appropriate weights, spatial weight () and radiometric weight (), for the contaminated mixed noise. As depicted by the distinction between the original image and filtered image, it can be seen that SSBF removes mixed noise while persevering edges and details of the image. To illustrate the performance of these filters, the outputs from NCSR, BM3D, TF, SBF, OSBF, and SSBF in a zoomed version of the learned image, Lena, and nonlearning image, Pepper, are compared in Figures 27 and 28, respectively. The simulation results show that SSBF can remove the mixed noise while preserving edge effectively.

6. Conclusion

In this paper, we propose a smart switching bilateral filter (SSBF) and an estimated noise characterization scheme for mixed noise removal. For noise estimation, the estimated noise characterization scheme analyzes the mixed noise from the distribution of the difference between center pixel and neighbors; it gives an accurate estimation greater than 80%. For a SSBF, once the mixed noise type and strength are estimated accurately, the filter parameters are selected from the parameters table where the parameters are already learned for the detected mixed noise. Therefore, the SSBF gives high noise removal performance without knowing the type and strength of mixed noise. By comparing SSBF to nonlocal sparse representation (NCSR), block-matching and 3D filtering (BM3D), trilateral filter (TF), and switching bilateral filter (SBF), it can be seen that once the noise type is identified accurately and the filter weights are selected appropriately, SSBF improves a noise removal performance of TF and SBF filter and also outperforms all compared techniques.

Data Availability

No data were used to support this study.

Conflicts of Interest

There are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was partially supported by Ministry of Science and Technology of Thailand.