Adaptive Hybrid Bivariate Double Density Discrete and Complex Wavelet for Image Denoising ()
1. Introduction
There has always been an amount of unavoidable noise contaminated in any communication channel. Eliminating or avoiding this noise amount is inevitable. Hence, denoising became crucial to improve quality and eliminate degradations of received data in any receiver system.
Several image denoising algorithms were proposed during the last two decades. They range from the frequency-based filtering techniques [1] [2] , and the wavelet transform-based techniques [3] . This is in addition to other transform-based techniques that were not competitive enough.
Typically, in wavelet-based techniques, the signal/image is represented in frequency domain as a few numbers of large coefficients as well as large number of almost zero coefficients. The adopted denoising strategy is based on thresholding small coefficients, where the noise effect is high, while keeping or modifying large coefficients, where the noise effect is low. In [4] [5] , a complete review for image denoising was presented. It concluded that superior performance for denoising can be achieved with wavelet based denoising, rather than other transform based denoising techniques or convex optimization based denoising approaches.
A Bivariate Shrinkage technique was first adopted in wavelet image denoising in [6] [7] , where the correlation between parent and children was exploited for better noise removal performance. This was performed by utilizing the Maximum Likelihood Estimation between noisy wavelet coefficients and their adjacent at the next coarser scale. Complex Wavelet Transform achieved better denoising performance for this Bivariate technique as in [7] . In [8] , the double density discrete wavelet transform filter bank structure was first presented for denoising purposes. Performance for image denoising was outstanding due to the fact that double density wavelet bands were shift invariant and phase oriented. Denoising was also performed by simple thresholding of double density bands. The Discrete Wavelet Transform DWT has been historically is known for being an efficient time-frequency representation/analysis, however, it has the following drawbacks: 1) Shift Variance; 2) Oscillations at edges and sharp corners. 3) Aliasing; and 4) Lack of orientation identifications [9] . The Complex Wavelet Transform CWT [9] [10] [11] [12] , was presented to overcome these short comings as it provided wavelet functions that have almost single side band frequency response. The one dimensional CWT, 1-D CWT, was first presented in [10] [11] [12] [13] as two real DWT trees connected in parallel. A complete design analysis and review of the filter sets of CWT has been presented in [9] [14] [15] . The filter sets also ensured that the upper and lower trees form a Hilbert transform pair approximately in all scales. The two-dimensional CWT, 2-D CWT is implemented as four 2-D DWT connected in parallel. The Bivariate technique was later adopted in image denoising through utilizing CWT, as in [7] . One dimensional Double Density DWT, 1-D DD-DWT, was implemented using one low pass filter
and two high pass filters
&
as shown in Figure 1, [8] . Similarly, 2-D DD-DWT is represented as two 1-D DD-DWT in raw and column manners, respectively. The DD-DWT still suffered from directional ambiguity; hence the double density complex wavelet transform that is briefly presented in [9] , has been recently proposed to overcome this draw back. In [16] , a similar analysis was presented however it did not propose any filter design procedure as presented in this work. In this paper, we first propose a novel two-dimensional double density Discrete Wavelet Transform 2-D DD-DWT filter structure for denoising purposes, then we propose another two-dimensional double density Complex Wavelet Transform 2-D DD-CWT filter structure and utilize it in denoising purposes. These filters in both techniques satisfy the perfect reconstruction property as well as the alias free condition. Next, we utilize these filters in conjunction with the Bivariate Shrinkage based denoising technique. We then propose our unique hybrid technique that combines both 2-D techniques and produces an enhanced denoising technique as will be shown in our simulations. We propose two scenarios to enhance this hybrid technique first through edge sharpening and then Eigen analysis manipulation. Simulation comparisons show that these two scenarios can achieve sizeable enhancement of the final denoised image. Some early results of this work was presented in [9] , but at much less scale and scope. The proposed 2-D DD-DWT filter structure is presented in section II.A, then the enhanced 2-D DD-CWT filter structure is presented in section II.B. The bivariate shrinkage is presented in section III, and our final hybrid bivariate technique that combines DD-DWT and DD-CWT is presented in section IV, along with two scenarios that are proposed for further enhancement. Simulation comparisons for all proposed techniques are illustrated in section V.
2. The Proposed DD DWT CWT Design
2.1. DD DWT
Double Density DWT wavelet
The one-dimensional double-density 1-D DD-DWT, first presented in [8] , is implemented by recursively applying a three-channel analysis filter bank, instead of the historic two-channel analysis filter bank, Figure 1. Also, the Inverse double-density DD DWT is obtained by applying the synthesis filter bank for the initial three channel analysis set. The 2-D double-density DD-DWT is consequently implemented by applying the filters
&
&
first to the rows, then to the columns of an image. This would result in nine 2-D sub bands, where one of them is the 2-D lowpass scaling filter, and the other eight make up remaining 2-D wavelet filters, Figure 2.
The proposed design to achieve a 3-channel perfect reconstruction filter bank set is detailed as follows: Let
be an N-tap low pass filter with K zeros at
. These K zeros are placed to insure smoothness. We then would want to construct two N-tap high pass filters
&
that satisfy the following perfect reconstruction (PR) and Alias Free (AF) conditions:
Figure 1. Double density discrete wavelet transform.
PR (condition):
, (1)
where C is a constant
AC (condition):
(2)
We propose to satisfy these two conditions in two steps:
In step 1: For a given
, assume an arbitrary
, then scale
such that its norm is less than
. We then construct
to meet AC condition using a root finding technique as follows:
Let
. (3)
This means that
has roots at
& (
),
.
Let
.
where
is constructed through root grouping, either by maximum phase, minimum phase or mixed phase factorization. This would satisfy AC condition.
In step 2: we update
as follows,
This would allow us to obtain
using a root finding technique of
again either using maximum, minimum or mixed phase factorization. Then we update
and reiterate step 1 until conversion is obtained. It is worth mentioning that, while the filter
has K zeros at
; Both
&
must has M zeros at
where
. Finally, because of the factorization of
, the construction of
and subsequently
is non-unique.
Example: In this example, we choose a 6-tap minimal-length Debauches low-pass filter
with
. In our simulation, we choose
to construct an arbitrary
, length 4. We express
and similarly for
. The unknown parameters
proceeds as described above. For this arbitrary
,
is factorized as in Equation (3). Only six iteration steps are needed to obtain the exact solution. Design coefficients of the upper tree
are listed below in Table 1.
We note here that the 2-D DD-DWT still suffers from phase ambiguities that is typical in any basic Discrete wavelet Transform DWT. The next utilized Complex Wavelet Transform CWT has been proposed to overcome this phase ambiguity issue.
2.2. DD CWT
Double Density CWT Wavelet
In this section we present our novel 2-D DD-CWT filter bank structure. We first note that the design of the regular CWT filter structure bank
, which is the low pass filter of the upper and lower (down) trees must be a half band filter as noted in [9] [12] [13] . This is in addition to another restriction of a group delay. The group delay of
must approximate one sample for the first level of decomposition and half sample for the succeeding levels [9] [12] [13] . Figure 3 shows the CWT system, where filters
are designed as
. Further designed examples are listed in [8] [10] .
It has been shown that to fulfill this Hilbert pair relation; the low-pass filters
of the upper and lower tree satisfy the following constraint
where
&
are the wavelet functions of the upper and lower trees, respectively and
denotes Hilbert transform. Moreover, this condition also implies
where
represents the corresponding discrete scaling functions. This half sample shift implies that in case of multi-level decomposition, integer translates of
should lie midway between integer translates
. Thus in order to ensure that the upper and lower wavelet functions form a Hilbert pair at every decomposition level
, the first stage and the succeeding stages filters of the upper and lower should be chosen to satisfy the condition [4]
(4)
where r is no. of decomposition levels and j is the stage index, as the lattice tree structure in Figure 4.
Table 1. Design coefficients of proposed DD-DWT.
Figure 4. CWT Filter bank structure-one tree.
In [4] [5] [6] , two techniques were described to fulfill this half sample delay requirements, namely the maximum flat delay [6] and the quarter phase delay, [4] . However, these approaches satisfy the prescribed delay of 1 & 0.5 over the whole frequency band irrespective of the magnitude response of
For our proposed double density CWT filter structure, the proposed one-dimensional DD CWT is designed as follows:
Construct
&
to satisfy the half band property and group delay constraints as follows:
Assume
to be an N-tap FIR, N = even, of the form
where the unknown α’s are determined to satisfy the following two conditions:
1) The function
must be a half band function as in PR systems.
2) The group delay of the rational function
should approximate the delay
for the first level of the decomposition bank and 0.5 for the succeeding stages in a least squares sense over a fraction
of the pass-band of the low pass filter
, respectively [15] .
Then we construct the filters
of the upper tree according to the following analysis:
(5)
similar relations are applied for
,
. Hence, the design of
proceeds as follows
1) Construct
, from regular filter design [13] , keeping in mind that it is a half band filter;
2) Take an initial
, that is scaled such that its frequency response is less than that of
at all z point;
3) Construct
from the root finding and perfect reconstruction property, Equation (4);
4) Check the alias free property, and update
;
5) Reiterate until conversion is obtained.
Design coefficients of
&
&
,
, and 1, for the upper and lower tree, respectively, are listed.
This shows that DD-CWT is designed as a double density 3-channel decomposition for each of
, i.e. the low pass filter of the upper and lower (down) trees.
Figure 4 shows the 1-D DD CWT for the upper trees, while Figure 5 shows the completer set of upper and lower trees for the 1-D DD CWT structure.
This design of a 1-D DD-CWT filter along with its coefficients along with the 1-D DD-DWT design methodology presented in previous section is our primary contribution of this work (Table 2).
Figure 5. CWT Filter bank structure-two trees.
(a) (b)
Table 2. (a) Design coefficients of proposed DD-CWT τ = 1; (b) Design coefficients of proposed DD-CWT τ = 0.5.
The 2-D Double-Density Complex Wavelet Transform i.e. 2-D DD-CWT is consequently implemented by applying the filters
&
&
of
, first to the rows, then to the columns of an image, for every stage. This would result in nine 2-D sub bands, for every stage, where one of them is the 2-D lowpass scaling filter, and the other eight make up remaining 2-D wavelet filters. For a 3 stage 2-D DD-CWT decomposition we would have a resulting total of 25 2-D subbands as will be detailed in the simulation result section.
3. Double Density Bivariate Denoising Technique
Classical wavelet based denoising techniques, are based on thresholding wavelet coefficients. Different techniques are used to determine these thresholding levels. They are mainly based on thresholding the wavelet decomposition of the noisy image at every sub band by a specific thresholding parameter. The problem can be formulated as: Given the noisy wavelet coefficient
, it is required to recover the clean wavelet coefficient w where
, n is the associated independent noise. This is a Maximum Likelihood Estimation (MLE) problem, as solution can be found as,
, p is the pdf distribution. In case of zero mean Gaussian noise,
can be formulated in terms of its variance
. In this case, the variance can be estimated using the empirical formula
.
As far as w, it has been observed that the pdf of the wavelet coefficients of natural images approximates Laplacian distribution, [7] .
In [7] , it has been observed that there exist strong dependencies between neighbor wavelet coefficients, such as between parent coefficients at a coarser scale and its adjacent children coefficients at a finer scale. To check this dependence, we construct the CWT system of Lena image using the CWT system of section 2. The contour plots suggest the validity of the empirical circular joint pdf formula of [7] , Figure 6(b) i.e.
where
are the parent and children wavelet coefficients, respectively.
In this paper, we estimate the variance
, where
and
are variances of
and
, respectively. Thus, in order to de-noise a noisy image, and in view of the assumption of near circular joint pdf distribution between adjacent scale wavelet coefficients, the thresholded children coefficient
is given by, [7]
where the soft thresholding function
if
and zero otherwise.
(a)(b)
Figure 6. (a) Histogram of Joint pdf. (b) Contour plot of Joint pdf.
Thus, the proposed de-noising scheme amounts to thresholding the wavelet coefficients of the real and imaginary wavelets of the upper and lower trees. In this scheme, the noise variance
is accurately estimated through estimating the pdf of the detail coefficients of the first level wavelet decomposition of the noisy image. The de-noising scheme is summarized as follows:
1) For a prescribed number of decomposition levels n and a prescribed number of vanishing moments K, determine the first and succeeding stages filters of the upper and lower trees of the dual tree DWT, as described in section 2.
2) Initially, for the first scale of the upper and lower trees, evaluate the real and imaginary parts of the complex wavelets
and its adjacent parent
at the coarser scale. Interpolate by 2 the parent coefficient
.
3) In order to estimate
,
and
have to be estimated. They are estimated as the peak powers
of the coefficients
. Then,
,
, and
. Threshold the children’s coefficients.
Repeat steps 2,3 until all children coefficients are scanned. In the last scale, threshold the parent coefficient
as well.
In this paper, we apply this bivariate shrinkage technique to denoise 2D DD-DWT and 2D DD-CWT wavelet packets. Bivariate shrinkage technique is based on strong dependency between noisy children wavelet coefficients
and their corresponding noisy parent coefficients
at coarser scale. Figure 6 illustrates this joint pdf relation for an image contaminated with AWGN with noise variance
. This means that to denoise the image; we have to maximize the joint conditional probabilities
(6)
where
denote the clean wavelet ceofficients.
Using Bays rule; it turns out that
(7)
where
are two independent Gaussian noise with variance
.
In order to obtain a closed form solution for
we express the joint
using the empirical formulation as in [7]
(8)
where
;
denote the variances of
respectively. This is verified by the near circular performance of the noiseless joint pdf distribution shown in Figure (3). Maximization of Equation (7) yields
(9)
We note here that all DD-CWT or DD-DWT decompositions presented in the work adopts this bivariate denoising scheme between its parent and children bands.
4. Enhanced Scenarios for the Proposed Hybrid Bivariate DD-DWT and DD-CWT Denoising
In this section we propose two scenarios to enhance the performance of denoising, then we summarize how to achieve the highest performance by fusing different bands from different decompositions structures, i.e. CWT, DWT, and combine them with optimized factors to synthesize an enhanced denoising image.
4.1. Edge Sharpening
We here propose to enhance the noisy image edges by processing it through a Laplacian 2-D filter with an optimized factor and add the result to the original noisy image. This Laplacian 2-D filter would have a sharpening factor that is also optimized. The output image from this Edge sharpening stage would be as the following equation:
where w is original noisy CWT or DWT wavelet band,
represents the final band coefficients, and
is the optimization factor.
4.2. Eigen Analysis
We here propose to decompose the noisy image DD-CWT or DD-DWT with a singular value decomposition. In this decomposition we produce a diagonal matrix D, with nonnegative diagonal elements in decreasing order, and unitary matrices U and V, all of the same size of the input image band, according to following equation
where w is original noisy CWT or DWT wavelet band, D is the diagonal matrix that will be rescaled in decreasing order, and
is reconstructed according to the following synthesis equation
We then select the highest D matrix diagonal element and scale it to an updated denoised value and then reconstruct the wavelet band. This updated denoised value is obtained through some empirical analysis and also by denoised learning scenarios.
4.3. Hybrid DD-DWT and DD-CWT Denoising
Finally in this section we proposed to decompose the denoised enhanced images with either DD-CWT or DD-DWT by a further DD-CWT structure for each image, where each band in each denoised image is multiplied by an optimized factor and then synthesize this CWT decomposition. This optimization process that is performed for all the CWT bank factors and is aimed at reducing edge energy in the final output denoised image. CWT optimization is performed according to the following equation.
where
is final hybrid optimized wavelet band and each i original band is multiplied with an
multiplication factor.
We note here that this further denoising enhancement by a factorized optimized DD-CWT structure would represent a hybrid denoising technique that combines merits of both DD-DWT and DD-CWT in a fusion manner, especially if it was originally denoised with DD-DWT. The
factors would make this factor adaptive as we can select some high density bands to get higher weight in the final denoised image. This fusion hybrid technique would achieve significant improvement in the final PSNR or SSIM values as will be shown in next section. We justify this improvement to the optimization process that selects the highest energy bands.
5. Simulation Examples
In this section we first show the performance of 2D DD-DWT denoising after explaining its experimental procedure. We then show the performance of 2D DD-CWT that in some circumstances achieves better PSNR results. Then we show how each of our proposed two enhancement scenarios, Edge sharpening and Eigen Analysis, would enhance the final denoised image. We finally illustrate how our proposed hybrid DWT and CWT fusion denoising methodology would achieve the most enhancement performance.
We note here that the enhancement in denoising is measured in terms of reduced energy around edges. This was also compared with PSNR values of the output denoised image compared with original clean image, before any noise attack. This PSNR calculation with the clean image could be unpractical in many denoising applications where the clean image is not available for comparisons, but it is only mentioned just to verify that enhancement in PSNR values is consistent with edge energies minimizations that is performed in all proposed techniques.
In these simulations;
is estimated using the pdf technique of the first wavelet detail coefficient as described in [17] . Simulations of several noisy images verify that this choice yields the highest denoised image
The proposed filter design
has
zeros at
;
is constructed with
zeros at
using the maximum phase technique.
For space limitations, we have two 256 × 256 Cameraman & Lena images contaminated with zero mean Gaussian noise AWGN with different variance
. The number of decomposition levels is 3 for either DWT or CWT. Figures 7-10 shows samples of our Denoising results, with a noisy image example
, 0.05, or 0.2.
Figure 7. Example of Noisy image and before Denoising,
.
Figure 8. Denoising performance from [7] and then proposed.
Figure 9. Example of Noisy image and before Denoising,
.
Figure 10. Denoising performance from [7] and then proposed.
The proposed 2D-DD DWT Bivariate denoising technique is implemented on 2D noisy images as follows:
1) Given the 2D-DD-DWT filters
,
and
as in section 2; decompose the noisy image
through wavelet packet structure using these filters.
2) For each of the 8 decomposed wavelet coefficients in all sub bands levels
,
levels; apply Bivariate shrinkage technique between
and its corresponding at coarse scale
. Expand
by 2 to have the same size as
. Estimate
for both
.
3) Reconstruct the denoised image
as in section 2.
The proposed 2D-DD CWT Bivariate denoising technique is implemented on 2D noisy images as follows:
4) Decompose the input Noisy image by its rows through the proposed 2-D DD CWT decomposition structure in Figure 5 for 3 stages, for each stage we would have 1 lowpass scaling subband and 8 bandpass higher frequency bands. The scaling subband is the only subband that gets further decomposed to the next stage in a wavelet lattice structure. This would result in total of 25 2-D subbands.
5) Repeat step one but through columns of the Noisy image.
6) The Bivariate shrinkage technique proposed in section 3 is applied between each scaling subband and its children for all stages.
7) Reconstruct the denoised image by rows and columns in a reverse manner of the decomposition.
Table 3 & Table 4 tabulate the denoising PSNR results when the noisy images are processed through our two proposed enhancing stages of Edge Sharpening and Eigen Analysis.
Results with Edge sharpening
Table 3. PSNR performance in dB for cameraman.
Results with Eigen Analysis
Table 4. PSNR performance in dB for cameraman.
Table 5 & Table 6 tabulate the denoising PSNR results when the noisy images are contaminated with different
. These results show the superiority of the proposed denoising technique DD-DWT, underlined over other DD-DWT [8] , DD-CWT proposed, CWT [7] technique.
In our final hybrid DD-DWT and DD-CWT fusion technique we decomposed the image first through either DD-DWT or DD-CWT decomposition for denoising, then we further enhance the denoising by a factorized optimized DD-CWT process. Subband multiplication factors are our main optimization variables in our simulation results as in Table 7, for Cameraman.
Table 5. PSNR performance in dB for cameraman.
Table 6. PSNR performance in dB for Lena image.
Table 7. Results from Hybrid DD-DWT/CWT denoising.
6. Discussion and Conclusion
In this paper, we proposed in more details the usage of DWT or CWT decompositions in image denoising with the adoption of Double density analysis. We proposed two methodologies to enhance these decompositions for either DWT or CWT scenarios. We also presented an adaptive hybrid technique for Bivariate based image denoising that is based on the synthesis of DD-DWT bands or DD-CWT bands but with different weights, to deliver enhanced image features with less denoising impacts. Simulation results have shown that the DD_DWT bivariate shrinkage achieves the best performance of all the denoising schemes considered. From Equations (3), (4) it is clear that there is a plenty of solutions for H2(z) that satisfy the alias free conditions, yet simulations have shown that the maximum phase solution yields the optimum denoising performance.
Acknowledgements
This work has been funded mainly from Alexander Von Humboldt foundation, Germany, 2019. Early results of this work was presented in [10] at much less scope and scale.