Haar
Haar
previ
Haar Transform
The Haar functions
The family of N Haar functions
shape of the specific function
) and
corresponding
and
is the remainder
and
t and
. The
:
, the index
with the
When
, where
, we have
to form an
by
matrix
when
, we have
and when
of Haar trnasform can represent not only the details in the signal of different scales
where
where
is the nth row vector of the matrix. The Haar tansform of a given signal vector
is
being
which is the nth transform coefficient, the projection of the signal vector
transform
matrix. The inverse transform is
Comparing this Haar transform matrix with all transform matrices previously discussed (e.g., Fourier transform,
cosine transform, Walsh-Hadamard transform), we see an essential difference. The row vectors of all previous
trnasform methods represent different frequency (or sequency) components, including zero frequency or the
average or DC component (first row
), and the progressively higher frequencies (sequencies) in the
subsequent rows (
progressively smaller scales (narrower width of the square waves) and their different positions. It is the capability
to represent different positions as well as different scales (corresponding different frequencies) that distinguish
Haar transform from the previous transforms. This capability is also the main advantage of wavelet transform
over other orthogonal transforms.
A Haar Transform Example:
The Haar transform coefficients of a
-point signal
can be
found as
The inverse transform will express the signal as the linear combination of the basis functions:
and
changes in the signal, but also where in the signal such changes take place (first and second halves). This kind of
position information is not available in any other orthogonal transforms.
previ