Two dimensional filters have seen substantial development effort due to their importance and high applicability across several domains. In the 2-D case the situation is quite different from the 1-D case, because the multi-dimensional
polynomials
In mathematics, a polynomial is an expression (mathematics), expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addition, subtrac ...
cannot in general be factored. This means that an arbitrary transfer function cannot generally be manipulated into a form required by a particular implementation. The input-output relationship of a 2-D IIR filter obeys a constant-coefficient linear partial
difference equation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
from which the value of an output sample can be computed using the input samples and previously computed output samples. Because the values of the output samples are fed back, the 2-D filter, like its 1-D counterpart, can be unstable.
Motivation and applications
Due to the rapid development of information science and
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, e ...
technology, the theory of digital filters design and application has achieved leap-forward development. We encounter a variety of signals in real-life, such as
broadcasting
Broadcasting is the distribution (business), distribution of sound, audio or video content to a dispersed audience via any electronic medium (communication), mass communications medium, but typically one using the electromagnetic spectrum (radio ...
signals,
television
Television, sometimes shortened to TV, is a telecommunication medium for transmitting moving images and sound. The term can refer to a television set, or the medium of television transmission. Television is a mass medium for advertisin ...
signals,
radar
Radar is a detection system that uses radio waves to determine the distance (''ranging''), angle, and radial velocity of objects relative to the site. It can be used to detect aircraft, ships, spacecraft, guided missiles, motor vehicles, w ...
signals,
mobile phone
A mobile phone, cellular phone, cell phone, cellphone, handphone, hand phone or pocket phone, sometimes shortened to simply mobile, cell, or just phone, is a portable telephone that can make and receive calls over a radio frequency link whil ...
signals,
navigation
Navigation is a field of study that focuses on the process of monitoring and controlling the movement of a craft or vehicle from one place to another.Bowditch, 2003:799. The field of navigation includes four general categories: land navigation, ...
signals,
radio astronomy
Radio astronomy is a subfield of astronomy that studies celestial objects at radio frequencies. The first detection of radio waves from an astronomical object was in 1933, when Karl Jansky at Bell Telephone Laboratories reported radiation coming f ...
signal, biomedical signals, control signals, weather signal, seismic signal, mechanical vibration signal,
remote sensing
Remote sensing is the acquisition of information about an object or phenomenon without making physical contact with the object, in contrast to in situ or on-site observation. The term is applied especially to acquiring information about Earth ...
and
telemetry
Telemetry is the in situ data collection, collection of measurements or other data at remote points and their automatic data transmission, transmission to receiving equipment (telecommunication) for monitoring. The word is derived from the Gr ...
signals, etc. Most of these signals are analog signals and just a small portion of them are digital signals. The analog signals are
continuous function
In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in value ...
of the
independent variables
Dependent and independent variables are variables in mathematical modeling, statistical modeling and experimental sciences. Dependent variables receive this name because, in an experiment, their values are studied under the supposition or deman ...
, which can be one-dimensional, two-dimensional or multidimensional. In most cases, the variable of one-dimensional analog signals are time. After the time sampling and
discretization
In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical ...
of magnitude, such analog signal will become a one-dimensional digital signal. The resulting digital signal can be represented by a discrete sequence. For example, one common signal is voice signal. An example of a two-dimensional signal is an image. A filter is a system that can transform a signal into another signal. Examples of such transformation include smoothing the signal for noise removal, removing frequency components from a signal and amplifying frequency components for signal enhancement. The design and implementation of filter is an important branch in signal analysis and processing technology. Filters also play a main role in signal acquisition, transmission, processing and exchange.
Problem statement & basic concepts
Digital filters
Digital signal filtering is implementing a digital filter. A
digital filter
In signal processing, a digital filter is a system that performs mathematical operations on a sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other major type of electronic filter, t ...
is a system that performs mathematical operations on a sampled, discrete-time signal to reduce or enhance certain aspects of that signal. The input and output signals are all digital signals. This is in contrast to the other major type of electronic filter, the analog filter, which is an electronic circuit operating on a continuous-time
analog signal
An analog signal or analogue signal (see spelling differences) is any continuous signal representing some other quantity, i.e., ''analogous'' to another quantity. For example, in an analog audio signal, the instantaneous signal voltage varies c ...
. Actually the basic concept of digital filters and analog filters are the same. The only difference is the types of signals and the methods to filtering. Digital filters can be implemented numerically in software and have the advantages of high processing accuracy, steady system, little volume and light weight. There is no impedance matching in digital filters and digital filters can accomplish some special filtering functions that can’t be accomplished by analog filters. Analog signals can also be processed through digital filters by using
Analog to Digital converters.
Two-dimensional digital filters
Two-dimensional filters are used to process two-dimensional digital signals. There is an important difference between the design of 1-D and 2-D digital filter problems. In 1-D case, the design and the implementation of filters can be more easily considered separately. The filter can first be designed and then, through the appropriate manipulations of the transfer function, the coefficients required by a particular network structure can be determined. While in the 2-D case, the design and implementation are more closely related. Since multidimensional polynomials can’t be factored in general. This means that an arbitrary multi-dimensional transfer function can generally not be manipulated into a form required by a particular implementation. If our implementation can realize only factorable transfer functions, our design algorithm must be tailored to design only filters of this class. This has the effect of complicating the design problem and also limiting the number of practical implementations. Digital filters can be categorized into two main types, namely finite impulse response (
FIR) and infinite impulse response (
IIR). 2-D FIR digital filter is achieved by a non-recursive algorithm structure while 2-D IIR digital filter is achieved by a recursive feedback algorithm structure.
[T. S. Huang, “Stability of two-dimensional recursive filters,” IEEE ''Transactions on Audio and Electroacoustics'', vol. 20, no. 2, pp. 158–163, 1972.]
Existing approaches
Direct form implementations of 2-D IIR filters
An IIR filter may be implemented in direct form by rearranging its difference equation to express one output sample in terms of the input samples and previously computed output samples.
[J. S. Lim, Two-Dimensional Signal and Image Processing, Prentice-Hall International, 1990.] For a first-quadrant filter, the input signal
and the output signal
are related by
Since the response of the filter to an impulse
is by definition the
impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an Dirac delta function, impulse (). More generally, an impulse ...
, we can derive the relationship
By taking the 2-D
z-transform
In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex frequency-domain (z-domain or z-plane) representation.
It can be considered as a discrete-tim ...
of both sides, we can solve for the system function
, which is given by
This ratio may be viewed as resulting from the cascade of two filters, an FIR filter with a system function equal to
and an
IIR filter
Infinite impulse response (IIR) is a property applying to many linear time-invariant systems that are distinguished by having an impulse response h(t) which does not become exactly zero past a certain point, but continues indefinitely. This is i ...
with a system function equal to
, as shown in the figure below.
[Dan E. Dudgeon, Russell M. Mersereau, “Multidimensional Digital Signal Processing”, Prentice-Hall Signal Processing Series, , 1983.]
Parallel implementations of 2-D IIR filters
Another method to build up complicated 2-D IIR filters is by the parallel interconnection of subfilters. In this case, the overall transfer function becomes
Using equation
and putting the sum in
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, theoretically models the system's output for ...
over a common denominator, we get the expanded form
The parallel form cannot be used to implement an arbitrary 2-D rational system function.
[M. Ahmadi, “Design of 2-Dimensional recursive digital filters”, Control and Dynamics System, vol. 78, pp. 131-181, 1996.] Nevertheless, we can synthesize interesting 2-D IIR filters which can be implemented by a parallel architecture. For example, the parallel form may be advantageous when designing a filter with multiple
passband
A passband is the range of frequencies or wavelengths that can pass through a filter. For example, a radio receiver contains a bandpass filter to select the frequency of the desired radio signal out of all the radio waves picked up by its antenn ...
. The parallel implementation can also be useful for implementing a 2-D
IIR filter whose impulse response is not confined to a single quadrant, such as a symmetric filter.
Design of 2-D IIR filters with genetic algorithm
Many design techniques for 2-D IIR digital filters have been reported in the literature.
In 2013,
genetic algorithm
In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms (EA). Genetic algorithms are commonly used to gene ...
had been successfully used to digital filter design for about a decade. Here we present a method for designing 2-D IIR Filters called GA-Based design method.
Initialization
The figure below shows the proposed GA-Based design flow. Filter coefficients are encoded in their CSD number representation. In the population initialization,
chromosomes
A chromosome is a long DNA molecule with part or all of the genetic material of an organism. In most chromosomes the very long thin DNA fibers are coated with packaging proteins; in eukaryotic cells the most important of these proteins are ...
are generated randomly. Each coefficient has the pre-specified wordlength and maximum number of non-zero digits, which can be set to any desired values.
Genetic operators
Roulette Wheel Selection is used as the reproduction operator. After each crossover operation, the coefficient where the crossover point lies in will be checked upon CSD format. Mutation operation is the simple single bit flip. After mutation, each coefficient in the offspring is checked upon CSD format.
Fitness evaluation and replacement strategy
The fitness evaluation is a two-step process. The first step is to check the stability of each second order section using the stability triangle. Chromosomes failing the check are assigned fitness value 0. Elitist strategy is applied for old generation replacement. After reproduction the best chromosome and the worst chromosome in the offspring are found out. The designed filter has non-separable numerator and separable denominator
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, theoretically models the system's output for ...
.
[A. Mazinani, M. Ahmadi, M. Shridhar and R. S. Lashkari, “A novel approach to the design of 2-D recursive digital filters”, Journal of the Franklin Institute, Pergamon Press Ltd, vol. 329, no. 1, pp. 127-133, 1992.] The number restoration technique is used to ensure that the filter coefficients are represented in the pre-specified CSD format.
References
{{Reflist
Digital signal processing
Multidimensional signal processing