2-D FIR filter using frequency transformation
produces the two-dimensional FIR filter h
= ftrans2(b
,t
)h
that corresponds to the
one-dimensional FIR filter b
using the transform
t
. b
must be a one-dimensional, Type I
(even symmetric, odd-length) filter such as can be returned by
fir1
, fir2
, or firpm
in
the Signal Processing Toolbox software. The transform matrix t
contains coefficients that define the frequency transformation to use.
The transformation below defines the frequency response of the two-dimensional filter
returned by ftrans2
.
where B(ω) is the Fourier
transform of the one-dimensional filter b
:
and
T(ω1,ω2)
is the Fourier transform of the transformation matrix
t
:
The returned filter h
is the inverse Fourier transform of
H(ω1,ω2):
[1] Lim, Jae S., Two-Dimensional Signal and Image Processing, Englewood Cliffs, NJ, Prentice Hall, 1990, pp. 218-237.