A two-dimensional (2D) adaptive filter is very much like a one-dimensional adaptive filter in that it is a linear system whose parameters are adaptively updated throughout the process, according to some optimization approach. The main difference between 1D and 2D adaptive filters is that the former usually take as inputs signals with respect to time, what implies in causality constraints, while the latter handles signals with 2 dimensions, like x-y coordinates in the space domain, which are usually non-causal. Moreover, just like 1D filters, most 2D adaptive filters are digital filters, because of the complex and iterative nature of the algorithms.
The topic of 2D adaptive filters is very important in electrical engineering and signal processing since these filters have the ability to take into account the nonstationary statistical properties of 2D signals. Adaptive filters find applications in areas such as Noise cancellation, Signal prediction, Equalization and Echo cancellation. Examples of applications of 2D adaptive filters include Image Denoising,[1] Motion Tracking,[2] OFDM channel estimation,[3] magnetic recording equalization [4]
2D Adaptive Filters can be used to identify systems. The system function of the unknown system is given by
P(z1,z2)
H(z1,z2)
e(n1,n2)
d(n1,n2)
y(n1,n2)
P(z1,z2)
H(z1,z2)
H(z1,z2)
In digital signal processing, any linear shift invariant system can be represented by the convolution of the signal with the filter's impulse response, given by the expression:
y(n1,n2)=
\sum | |
m1 |
\sum | |
m2 |
w(m1,m2)x(n1-m1,n2-m2)
If this system is to model a desired response
d(n1,n2)
F[e(n1,n2)]
e(n1,n2)=d(n1,n2)-y(n1,n2)
wj+1(n1,n2)=wj(n1,n2)+F[e(n1,n2)]
Least mean square (LMS) Adaptive Filters [5] use the most common error measure method, the mean square error. The 2D LMS Adaptive filters are derived from the 1D LMS adaptive filters main method which minimizes the output mean square value by adjusting coefficients of the filter. The filter has the primary 2D input signal d and the reference input signal x. The primary input signal d consists of the ideal signal and noise component. The filter is an N by N causal FIR filter with impulse response
w
y(n1,n2)=\sum
N-1 | |
m1=0 |
N-1 | |
\sum | |
m2=0 |
wj(m1,m2)x(n1-m1,n2-m2)
where j is the iteration number for adaptive filters.
The error signal
ej
ej=d(n1,n2)-\sum
N-1 | |
m1=0 |
N-1 | |
\sum | |
m2=0 |
wj(m1,m2)x(n1-m1,n2-m2)
The weight matrix at the next iteration is equal to the present weight matrix plus a change proportional to the negative gradient of the mean square error. For the two-dimensional LMS adaptive filter, the filter coefficients are updated as follows:
wj+1(n1,n2)=wj(n1,n2)+2\muejx(n1,n2)
where
\mu
Advantages: The TDLMS adaptive filter can be implemented without any form of matrix operations or any averaging or differentiation. The algorithm convergence does not depend on the initial conditions and it will converge for any arbitrarily initial value, hence, it provides good performance in nonstationary images.
Disadvantages: The exact values of the expectations of the TDLMS adaptive filter will not converges to a fixed value, if we need to maintain its tracking ability. Therefore, the design choice of μ depends on the particular application and it involves a tradeoff between the convergence speed, tracking ability, and steady-state MSE.
For a two-dimensional LMS IIR Adaptive filter, its basic idea is the same as 2D LMS FIR Adaptive Filters, except we are using an IIR filter, which can reduce the filter order requirements.[6] The two-dimensional IIR filter`s difference equation can be written as
y(n1,n2)=\sum
M1 | |
m1=0 |
M2 | |
\sum | |
m2=0 |
a(m1,m2)x(n1-m1,n2-m2)-{\sum
L1 | |
m1=0 |
L2 | |
\sum | |
m2=0 |
where
y(n1,n2)
x(n1,n2)
b(m1,m2)
a(m1,m2)
e(n1,n2)=d(n1,n2)-y(n1,n2)
where
d(n1,n2)
The mean square error
2(n | |
E\{e | |
1,n |
2)\}
Advantages: IIR filters can satisfy the prescribed frequency response because it can reduce the filter`s order requirements.
Disadvantages: The performance surfaces of adaptive LMS IIR Adaptive filters are nonquadratic and may have local minima. Meanwhile, adaptive IIR filters may become unstable during the adaptation, thus some kind of stability monitoring is needed.
2D Recursive Least Square Adaptive Filters [7] can be developed by applying 1D recursive least squares filters along both horizontal and vertical directions. The RLS adaptive is an algorithm which finds the filter coefficients recursively to minimize the weighted least squares cost function. The RLS algorithm is different to the least mean squares algorithm which aim to reduce the mean square error, its input signal is considered deterministic. For this reason, the RLS algorithm has fast convergence characteristic.
Advantages: The RLS algorithm has fast convergence property. The accuracy of image denoising based on RLS algorithm is better than 2D LMS adaptive filters.
Disadvantages: The RLS algorithm needs a large amount of computations, especially in two-dimensional and multidimensional case.
One convenient approach to implement 2D Adaptive Filters is to transform the 2D problem into a 1D problem by lexicographic ordering.[5] This simplifies the implementation and makes it possible to benefit from the extensive literature that is available for 1D adaptive filters and utilize all of the existing 1D algorithms.
McClellan transformations [8] can be used to transform a 1D filter design into a 2D filter design by using a transformation function. This theory allows the design of 2D adaptive filters [9] out of existing 1D prototype filters. Compared to the direct approach, this system has the advantages of a lower computational complexity and a faster convergence rate. However, in order to work properly, it needs some a priori information about the system to correctly select the transformation function parameters, making the system pre-constrained.
Block Diagonal 2D Adaptive Filters is an alternative approach [10] that scans the signal through blocks and applies weight adjustments for each block, instead of for each sample as in the traditional adaptive filters. The advantage of this kind of system is that it takes into account signal correlations along both dimensions. On the other hand, it assumes a higher local stationarity of the signal.