In digital signal processing, a quadrature mirror filter is a filter whose magnitude response is the mirror image around
\pi/2
A filter
H1(z)
H0(z)
H1(z)=H0(-z)
The filter responses are symmetric about
\Omega=\pi/2
j\Omega | |
|H | |
1(e |
)|=
j(\pi-\Omega) | |
|H | |
0(e |
)|.
In audio/voice codecs, a quadrature mirror filter pair is often used to implement a filter bank that splits an input signal into two bands. The resulting high-pass and low-pass signals are often reduced by a factor of 2, giving a critically sampled two-channel representation of the original signal. The analysis filters are often related by the following formula in addition to quadrate mirror property:
j\Omega | |
|H | |
0(e |
)|2+
j\Omega | |
|H | |
1(e |
)|2=1,
\Omega
2\pi
Orthogonal wavelets – the Haar wavelets and related Daubechies wavelets, Coiflets, and some developed by Mallat, are generated by scaling functions which, with the wavelet, satisfy a quadrature mirror filter relationship.
The earliest wavelets were based on expanding a function in terms of rectangular steps, the Haar wavelets. This is usually a poor approximation, whereas Daubechies wavelets are among the simplest but most important families of wavelets. A linear filter that is zero for “smooth” signals, given a record of
N
xn
yn=
M-1 | |
\sum | |
i=0 |
bixn-i.
It is desirable to have it vanish for a constant, so taking the order
m=4
b0 ⋅ 1+b1 ⋅ 1+b2 ⋅ 1+b3 ⋅ 1=0.
b0 ⋅ 0+b1 ⋅ 1+b2 ⋅ 2+b3 ⋅ 3=0.
A linear filter will vanish for any
x=\alphan+\beta
zn=
M-1 | |
\sum | |
i=0 |
cixn-i.
This filter responds in an exactly opposite manner, being large for smooth signals and small for non-smooth signals. A linear filter is just a convolution of the signal with the filter’s coefficients, so the series of the coefficients is the signal that the filter responds to maximally. Thus, the output of the second filter vanishes when the coefficients of the first one are input into it. The aim is to have
M-1 | |
\sum | |
i=0 |
cibi=0.
Where the associated time series flips the order of the coefficients because the linear filter is a convolution, and so both have the same index in this sum. A pair of filters with this property are defined as quadrature mirror filters.[1] Even if the two resulting bands have been subsampled by a factor of 2, the relationship between the filters means that approximately perfect reconstruction is possible. That is, the two bands can then be upsampled, filtered again with the same filters and added together, to reproduce the original signal exactly (but with a small delay). (In practical implementations, numeric precision issues in floating-point arithmetic may affect the perfection of the reconstruction.)