Moving Window-Based Double Haar Wavelet Transform For Image Processing
Moving Window-Based Double Haar Wavelet Transform For Image Processing
Moving Window-Based Double Haar Wavelet Transform For Image Processing
nals. However, it is interesting to apply a multichannel filter III. HMF-BASED LLMMSE ESTIMATE
bank to the denoising of signals. The key of this problem is to
For the HMF, an operation on the wavelet coefficients will be
find such a multichannel filter bank whose high-pass filters and
derived in this section so as to obtain an optimal estimate of the
low-pass filter are good at edge detecting and noise smoothing,
original signal.
respectively.
Suppose that is the original signal and the input noisy
It is known that the Haar wavelet has the most compact spa-
signal can be described as
tial support of all wavelets and is also an optimal edge matching
filter [18]. Thus, based on the Haar wavelet and a simple shift
operation [19], a -channel filter bank can be designed. Its (6)
high-pass and low-pass filters are defined as
where is white Gaussian noise with zero mean and vari-
(1) ance . Based on the filter bank shown in Fig. 1, (6) can be
rewritten as a vector notation
and
(7)
(2) where ,
and ,
respectively. . Suppose that
To obtain the reconstruction filters , , the samples are i.i.d. random variables
we need to express the -channel analysis filters as a matrix and the variance of the original signal is . A linear estimate
notation. Let of the wavelet coefficients can be defined as
(8)
.. ..
. .
where ,
, and
.. .. .. .. .. (3)
. . . . .
.. ..
. .
The inverse matrix of (see Appendix ) can be written as
Let
.. .. .. .. .. (4)
. . . . .
.. .. .. .. ..
. . . . .
Then, the reconstruction filters, , , are
given by [20]
.. .. .. ..
. . . .
.. .. .. .. .. .. ..
. . . . . . .
where and are the matrices obtained by deleting the
(5) last row of and the last column of , respectively. The
where denotes the transpose of matrix. reconstruction process shown in Fig. 1 can be expressed as a
Note that the span of the low-pass filter is just . After vector notation
decimating with a factor of , the noise in the decimated refer-
ence signal will preserve its independent property. This property
is very useful for some denoising operators that ask the noise to (9)
be white in the different scales of wavelet transform domain.
Now, the design of the Haar wavelet-based -channel where .
filter bank (HMF) is finished. When , the HMF is Our goal is to minimize the mean-squared error
nonorthogonal. by selecting some proper values of
WANG: MOVING WINDOW-BASED DOUBLE HAAR WAVELET TRANSFORM 2773
. For this purpose, we can derive the which can yield a local linear minimum mean-square error
equation [21] (LLMMSE) estimate [21] of the original signal.
.. .. ..
. . . Suppose that , and are the samples of
the input signal at a given time. The estimate of the center pixel
is especially important for some applications of image
processing. According to the definition of DHWT we have the
.. .. .. reconstructed
. . .
(16)
Then, (10) can be solved for to obtain
where
(12)
(19)
TABLE I
DENOISING RESULTS OF THE LENA IMAGE
Fig. 3. (a) Part of an image; (b) 3 2 3 moving window centered at the pixel e; (c) by shifting one pixel, the 3 2 3 moving window is centered at the pixel h.
(20)
Fig. 4. Masks used by the Prewitt operator.
One of the advantages of the OPED is that the distances
between detected edges are enlarged. For example, suppose
to the neighbor pixel shown in Fig. 3(c). By applying the same that there are two edges with steps and ( ),
denoising operation to the pixels within the at the new posi- respectively. From (18)–(20), the estimates of the two edges
tion, the estimate of the pixel is subsequently obtained. In the are and . It means
worst case, the estimates of the pixels and are the average of that the distance between them increases from to
the grays of the nine pixels in their respective windows, which . This property cannot be achieved
just forms a 3 3 moving window-based mean filtering. with a linear noise smoother used for preprocessing.
The last two columns of Table I show the PSNR values ob- Based on the Prewitt masks shown in Fig. 4, the OPED can
tained by Applying the DHWT-based MWD to the three noisy be extended to 2-D easily. Suppose that, at a given time, the
Lena images, with the window length of three and nine, respec- pixels of an image in a 3 3 rectangular moving window are
tively. The corresponding filtered images, which were corrupted , . Let
by the Gaussian white noise with variance 400, are shown in
Fig. 2(e) and (f), respectively. Those images demonstrate that
the “mosaic” phenomenon is suppressed effectively.
Compared to the traditional denoising in wavelet transform (21)
domain, the MWD uses different wavelet coefficients for dif- (22)
ferent pixels to obtain the estimates. Thus, the estimate error of
the wavelet coefficients for a pixel does not influence the esti-
mates of the other pixels in the image.
(23)
VI. DHWT-BASED EDGE DETECTION
Thus, the , and represent a one-dimen-
Edges are important features for analyzing images. The clas- sional (1-D) signal in the moving window of the image. Using
sical edge detectors are based on some standard masks such as the 1-D edge detector defined by (20), we obtain an estimate
the Sobel operator [24], and the Prewitt operator [25]. Simple of edges in the horizontal direction of the image. Simi-
and effective, those two properties make them commonly used larly, we can obtain the estimate of edges in the vertical
today. In general, the Prewitt operator is better in suppress noise direction of the image. Finally, the output of the edge detector
for some three point mean filters were employed in its masks is defined as
shown in Fig. 4. Unfortunately, it is still sensitive to the present
of noise. Thus, a low-pass filter, such as the Gaussian filter, is
often used for preprocessing. (24)
Since the DHWT-based LS provides an noise smoother, we
may use it to improve the property of the Prewitt operator in The following example shows the difference between the Pre-
suppressing noise. The key for this is to relate the wavelet co- witt operator and the OPED in edge detection.
efficients of the DHWT to the Prewitt operator. Note that, in Example 3: Fig. 5(a) shows a Balloon image corrupted by
the DHWT, the equation is white Gaussian noise with mean zero and variance 100. Fig. 5(b)
just the -transform of the Prewitt operator in one dimension. and (c) are the edge images detected by the Prewitt operator
2776 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 15, NO. 9, SEPTEMBER 2006
(25)
(26)
Fig. 7. (a) Original block signal. (b) The edge enhanced block signal with = 0:2. (c) The edge enhanced block signal with = 0:6.
APPENDIX
SOLUTION OF THE INVERSE MATRIX
The matrix is defined in Section II for the Haar wavelet-
based -channel filter bank. In this appendix, we will derive
its inverse matrix as follows. Let
.. ..
. .
and
.. .. .. .. .. (A1)
Fig. 8. (a) Original fruits image. (b) The blurred image corrupted by Gaussian . . . . .
noise. (c) The images enhanced by unsharp masking. (d) The images enhanced
by the MFEE.
We have
VIII. CONCLUSION
In this paper, the concept of moving window-based local mul- (A2)
tiscale analysis of images is introduced. Consequently, based on
the Haar wavelet, a class of nonorthogonal multichannel filter (A3)
2778 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 15, NO. 9, SEPTEMBER 2006
REFERENCES
By using the equation
[1] J. W. Tukey, Exploratory Data Analysis. Reading, MA: Addison-
Wesley, 1970.
[2] J. S. Lee, “Digital image enhancement and noise filtering by use of
local statistics,” IEEE Trans. Pattern Anal. Mach. Intell., vol. PAMI-2,
.. .. .. .. no. 3, pp. 165–168, Mar. 1980.
. . . . (A5)
[3] A. C. Bovik, T. S. Huang, and D. C. Munson, “A generalization of me-
dian filtering using linear combinations of order statistics,” IEEE Trans.
Acoust., Speech, Signal Process., vol. ASSP-31, no. 12, pp. 1342–1349,
Dec. 1983.
we obtain [4] I. Pitars and A. N. Venetsanopoulos, “Nonlinear mean filtering in
image processing,” IEEE Trans. Acoust., Speech, Signal Process., vol.
ASSP-34, no. 6, pp. 573–584, Jun. 1986.
[5] G. R. Arce and R. E. Forst, “On detail preserving rank-order filters for
(A6) image processing,” IEEE Trans. Acoust., Speech., Signal Process., vol.
37, no. 1, pp. 83–98, Jan. 1989.
[6] E. J. Coyle, J. S. Lin, and M. Gabbouj, “Optimal stack filtering and
Substituting (A2) and (A3) in (A6), , we have the estimation and the structure approaches to the image processing,”
IEEE Trans. Acoust., Speech., Signal Process., vol. 32, no. 12, pp.
2036–2066, Dec. 1989.
[7] S. Mallat and S. Zhong, “Characterization of signals for multiscale
edges,” IEEE Trans. Pattern Ana. Mach. Intell., vol. 14, no. 7, pp.
710–732, Jul. 1992.
[8] D. Donoho and I. M. Johnstone, “Idea spatial adaptation by wavelet
shrinkage,” Biometrica, vol. 81, no. 3, pp. 425–455, 1994.
[9] Y. Xu, J. B. Weaver, D. M. Healy, and J. Lu, “Wavelet transform
(A7) domain filters: A specially selective noise filtration technique,” IEEE
Trans. Image Process., vol. 3, no. 11, pp. 747–757, Nov. 1994.
[10] R. D. Nowak, “Wavelet-based Rician noise removal for magnetic
It follows resonance imaging,” IEEE Trans. Image Process., vol. 8, no. 10, pp.
1408–1419, Oct. 1999.
[11] P. Moulin and J. Liu, “Analysis of multiresolution image denoising
schemes using generalized Gaussian and complexity priors,” IEEE
Trans. Inf. Theory, vol. 45, no. 4, pp. 909–919, Apr. 1999.
[12] M. Hansen and B. Yu, “Wavelet thresholding via MDL for natural im-
.. ages,” IEEE Trans. Inf. Theory, vol. 46, no. 8, pp. 1778–1788, Aug.
. 2000.
(A8) [13] S. G. Chang, B. Yu, and M. Veterli, “Adaptive wavelet thresholding for
.. image denoising and compression,” IEEE Trans. Image Process., vol.
. 9, no. 9, pp. 1532–1546, Sep. 2000.
[14] X. G. Xia, J. S. Geronimo, D. P. Hardin, and B. W. Suter, “Design
of prifilters for discrete multiwavelet transform,” IEEE Trans. Signal
Process., vol. 44, no. 1, pp. 25–35, Jan. 1996.
[15] V. Strela, P. Niels, G. Strang, P. Topiwala, and C. Heil, “The appli-
cation of multiwavelet filterbanks to image processing,” IEEE Trans.,
Solving the equations, we obtain Image Process., vol. 8, no. 4, pp. 548–563, Apr. 1999.
M
M
[16] P. P. Vandiyanathan, “Theory and design of -channel mximally deci-
mated quadrature mirror filters with arbitrary , having the perfect-re-
construction property,” IEEE Trans. Acoust., Speech, Signal Process.,
vol. 35, no. 4, pp. 476–492, Apr. 1987.
.. M
[17] T. Q. Nguyen and P. P. Vaidyananthan, “Structures for -channel per-
. fact-reconstruction FIR QMF banks which yield linear-phase analysis
(A9) filters,” IEEE Trans. Acoust., Speech, Signal Process., vol. 38, no. 3,
pp. 433–446, Mar. 1990.
.. [18] K. R. Rao and J. Ben-Arie, “Optimal edge detection using expansion
. matching and restoration,” IEEE Trans. Pattern Mach. Intell., vol. 16,
no. 12, pp. 1169–1182, Dec. 1994.
[19] J. Ben-Aris and K. R. Rao, “A novel approach for template matching
by nonorthogonal image expansion,” IEEE Trans. Circuits Syst. Video
Thus, the inverse matrix Technol., vol. 3, no. 1, pp. 71–84, Feb. 1993.
[20] B. W. Suter, Multirate and Wavelet Signal Processing. New York:
Academic, 1998.
[21] D. T. Kuan, A. A. Sawchuk, T. C. Strand, and P. Chaval, “Adaptive
noise smoothing filter for images with signal-dependent noise,” IEEE
Trans. Pattern Anal. Mach. Intell., vol. PAMI-7, no. 3, pp. 165–177,
.. .. .. .. (A10) Mar. 1985.
. . . . [22] S. Mallat, A Wavelet Tour of Signal Processing. New York: Aca-
demic, 1999.
WANG: MOVING WINDOW-BASED DOUBLE HAAR WAVELET TRANSFORM 2779
[23] L. Sendur and I. W. Selesnik, “Bivariate shrinkage functions for Xin Wang (M’01) received the B.S. and M.S. de-
wavelet-based denoising exploiting interscale dependency,” IEEE grees from Shandong Polytechnic University, China,
Trans. Signal Process., vol. 11, no. 11, pp. 2744–2756, Nov. 2002. in 1979 and 1982, respectively, and the Ph.D. degree
[24] I. Sobel, Camera Models and Machine Perception Stanford AI, 1970, from the Beijing University of Posts and Telecommu-
Memo 121. nications, Beijing, China, in 1990.
[25] J. M. S. Prewitt, , B. S. Lipkin and A. Rosenfeld, Eds., “Object enhance- He is a Professor with Shandong Polytechnic
ment and extraction,” in Picture Processing and Psychopictorics. University. His fields of research interest include
New York: Acdemic, 1970. nonlinear filtering, wavelet transform, and image
[26] R. Jain, R. Kasturi, and B. G. Schuck, Machine Vision. New York: processing.
McGraw Hill, 1995. Dr. Wang is the Vice General Secretary of the CAS
[27] W. K. Pratt, Digital Image Processing. New York: Wiley, 1978. Society of the Chinese Institute of Electronics.