Samiksha Jaiswal

2D Adaptive Filters

Updated on
Share on FacebookTweet on TwitterShare on LinkedIn
2D Adaptive Filters

A two-dimensional (2D) adaptive filter is very much like an 1-dimensional adaptive filter in the sense 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 takes 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.

Contents

Motivation

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, Motion Tracking, OFDM channel estimation, magnetic recording equalization

Example Application

2D Adaptive Filters can be used to identify systems. The system function of the unknown system is given by P ( z 1 , z 2 ) , and H ( z 1 , z 2 ) is the system function of the 2D adaptive filter when its output comes to steady. The error signal e ( n 1 , n 2 ) between the unknown system output, d ( n 1 , n 2 ) , and the adaptive filter output, y ( n 1 , n 2 ) , is minimized if the unknown system and known 2D adaptive filter have the same input, and if the resulting outputs are similar. Then, it can be shown that P ( z 1 , z 2 ) can be represented by H ( z 1 , z 2 ) . H ( z 1 , z 2 ) is known as the system identification model of the unknown system.

Problem Statement

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 ( n 1 , n 2 ) = m 1 m 2 w ( m 1 , m 2 ) x ( n 1 m 1 , n 2 m 2 )

If this system is to model a desired response d ( n 1 , n 2 ) , the adaptive system can be obtained by continuously adjusting the weight values according to some cost function F [ e ( n 1 , n 2 ) ] that evaluates the error between the two responses.

e ( n 1 , n 2 ) = d ( n 1 , n 2 ) y ( n 1 , n 2 )
w j + 1 ( n 1 , n 2 ) = w j ( n 1 , n 2 ) + F [ e ( n 1 , n 2 ) ]

2D Least Mean Square FIR Adaptive Filters

Least mean square (LMS) Adaptive Filters use the most common error measure method, the mean square error. The 2D LMS Adaptive filters are derived from the 1D LMS adaptvie 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 . Then we can get the filter output given by

y ( n 1 , n 2 ) = m 1 = 0 N 1 m 2 = 0 N 1 w j ( m 1 , m 2 ) x ( n 1 m 1 , n 2 m 2 )

where j is the iteration number for adaptive filters.

The error signal e j at the j-th iteration is defined as

e j = d ( n 1 , n 2 ) m 1 = 0 N 1 m 2 = 0 N 1 w j ( m 1 , m 2 ) x ( n 1 m 1 , n 2 m 2 )

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:

w j + 1 ( n 1 , n 2 ) = w j ( n 1 , n 2 ) + 2 μ e j x ( n 1 , n 2 )

where μ is the scaler multiplier controlling which can control the rate of convergence and filter stability.

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.

2D Least Mean Square IIR Adaptive Filters

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. The two-dimensional IIR filter`s difference equation can be written as

y ( n 1 , n 2 ) = m 1 = 0 M 1 m 2 = 0 M 2 a ( m 1 , m 2 ) x ( n 1 m 1 , n 2 m 2 ) m 1 = 0 L 1 m 2 = 0 L 2 ( m 1 , m 2 ) ( 0 , 0 ) b ( m 1 , m 2 ) y ( n 1 m 1 , n 2 m 2 )

where y ( n 1 , n 2 ) and x ( n 1 , n 2 ) are, respectively, the output and input of the adaptive filter. b ( m 1 , m 2 ) and a ( m 1 , m 2 ) are the masks of the filter`s input and output. The error signal is given by

e ( n 1 , n 2 ) = d ( n 1 , n 2 ) y ( n 1 , n 2 )

where d ( n 1 , n 2 ) is the primary output signal.

The mean square error E { e 2 ( n 1 , n 2 ) } is minimized by updating the filter weights in a manner to converge to the optimum filter weight.

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.

Recursive Least Square Adaptive filters

2D Recursive Least Square Adaptive Filters 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 suquares 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-demensional and Multi-dimensional case.

Lexicographic Ordering

One convenient approach to implement 2D Adaptive Filters is to transform the 2D problem into a 1D problem by lexicographic ordering. 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

McClellan transformations 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 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

Block Diagonal 2D Adaptive Filters is an alternative approach 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.

References

2D Adaptive Filters Wikipedia


Similar Topics
Troublesome Wives
Jessica Pratt (soprano)
Roger Albinyana i Saigí
Topics