2D adaptive filters

From HandWiki - Reading time: 6 min

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.

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,[1] Motion Tracking,[2] OFDM channel estimation,[3] magnetic recording equalization [4]

Example Application

Block Diagram for Two-Dimensional System Identification.

2D Adaptive Filters can be used to identify systems. The system function of the unknown system is given by [math]\displaystyle{ P(z_1,z_2) }[/math], and [math]\displaystyle{ H(z_1,z_2) }[/math] is the system function of the 2D adaptive filter when its output comes to steady. The error signal [math]\displaystyle{ e(n_1,n_2) }[/math] between the unknown system output,[math]\displaystyle{ d(n_1,n_2) }[/math], and the adaptive filter output,[math]\displaystyle{ y(n_1,n_2) }[/math], 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 [math]\displaystyle{ P(z_1,z_2) }[/math] can be represented by [math]\displaystyle{ H(z_1,z_2) }[/math]. [math]\displaystyle{ H(z_1,z_2) }[/math] is known as the system identification model of the unknown system.

Problem Statement

General Block Diagram for a 2D Adaptive Filter.

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:

[math]\displaystyle{ y(n_1,n_2) = \sum_{m_1} \sum_{m_2}w(m_1,m_2)x(n_1-m_1,n_2-m_2) }[/math]

If this system is to model a desired response [math]\displaystyle{ d(n_1,n_2) }[/math], the adaptive system can be obtained by continuously adjusting the weight values according to some cost function [math]\displaystyle{ F[e(n_1,n_2)] }[/math] that evaluates the error between the two responses.

[math]\displaystyle{ e(n_1,n_2) = d(n_1,n_2) - y(n_1,n_2) }[/math]
[math]\displaystyle{ w_{j+1}(n_1,n_2) = w_j(n_1,n_2) + F[e(n_1,n_2)] }[/math]

Approaches

2D Least Mean Square FIR Adaptive Filters

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 [math]\displaystyle{ w }[/math]. Then we can get the filter output given by

[math]\displaystyle{ y(n_1,n_2)=\sum_{m_1=0}^{N-1} \sum_{m_2=0}^{N-1} w_j(m_1,m_2)x(n_1-m_1,n_2-m_2) }[/math]

where j is the iteration number for adaptive filters.

The error signal [math]\displaystyle{ e_j }[/math] at the j-th iteration is defined as

[math]\displaystyle{ e_j=d(n_1,n_2)-\sum_{m_1=0}^{N-1} \sum_{m_2=0}^{N-1} w_j(m_1,m_2)x(n_1-m_1,n_2-m_2) }[/math]

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:

[math]\displaystyle{ w_{j+1}(n_1,n_2)=w_j(n_1,n_2)+2\mu e_jx(n_1,n_2) }[/math]

where [math]\displaystyle{ \mu }[/math] 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.[6] The two-dimensional IIR filter`s difference equation can be written as

[math]\displaystyle{ y(n_1,n_2)=\sum_{m_1=0}^{M_1} \sum_{m_2=0}^{M_2} a(m_1,m_2)x(n_1-m_1,n_2-m_2)-{\sum_{m_1=0}^{L_1} \sum_{m_2=0}^{L_2}}_{(m_1,m_2)\neq(0,0)} b(m_1,m_2)y(n_1-m_1,n_2-m_2) }[/math]

where [math]\displaystyle{ y(n_1,n_2) }[/math] and [math]\displaystyle{ x(n_1,n_2) }[/math] are, respectively, the output and input of the adaptive filter. [math]\displaystyle{ b(m_1,m_2) }[/math] and [math]\displaystyle{ a(m_1,m_2) }[/math] are the masks of the filter`s input and output. The error signal is given by

[math]\displaystyle{ e(n_1,n_2)=d(n_1,n_2)-y(n_1,n_2) }[/math]

where [math]\displaystyle{ d(n_1,n_2) }[/math]is the primary output signal.

The mean square error [math]\displaystyle{ E\{e^2(n_1,n_2)\} }[/math] 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 [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.

Lexicographic Ordering

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

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

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.

References

  1. Abadi, M. Shams Esfand, and S. Nikbakht. "Image denoising with two-dimensional adaptive filter algorithms." Iranian Journal of Electrical & Electronic Engineering 7.2 (2011).
  2. Trimeche, Mejdi. "Hierarchical Motion Estimation Using Recursive LMS Filters." (2007).
  3. Hou, Xiaolin, et al. "On two-dimensional adaptive channel estimation in OFDM systems." Vehicular Technology Conference, 2004. VTC2004-Fall. 2004 IEEE 60th. Vol. 1. IEEE, 2004.
  4. Kumar, P. Sarath, and Sumit Roy. "Two-dimensional equalization: Theory and applications to high density magnetic recording." Communications, IEEE Transactions on 42.234 (1994): 386-395.
  5. 5.0 5.1 Mohiy M.Hadhoud and David W.Thomas. "Two-Dimensional Adaptive LMS (TDLMS) Algorithm." IEEE Transactions on Circuits And Systems, Vol 35, No.5, May 1988.
  6. Alfredo C. Tan and Sheng-Tsal Chen, "Two-Dimensional Adaptive LMS IIR Filter." Circuits and Systems, 1993., ISCAS '93, 1993 IEEE International Symposium on Date 3–6 May 1993.
  7. Mitsuji Muneyasu, Eiji Uemoto and Takao Hinamoto. "A Novel 2-D Adaptive Filter Based On The 1-D RLS Algorithm." Circuits and Systems, 1997. ISCAS '97., Proceedings of 1997 IEEE International Symposium on 9-12 June 1997
  8. McClellan, James H. "The design of two-dimensional digital filters by transformations." Proc. 7th Annu. Princeton Conf. Information Sciences and Systems. 1973.
  9. Jenkins, W. K., and R. P. Faust. "A constrained two-dimensional adaptive digital filter with reduced computational complexity." Circuits and Systems, 1988., IEEE International Symposium on. IEEE, 1988.
  10. Azimi-Sadjadi, Mahmood R., and Hongye Pan. "Two-dimensional block diagonal LMS adaptive filtering ." Signal Processing, IEEE Transactions on 42.9 (1994): 2420-2429.




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/2D_adaptive_filters
3 views | Status: cached on September 19 2024 11:02:38
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF