Legacy Documentation

Digital Image Processing (2000)

This is documentation for an obsolete product.
Current products and services
Previous section-----Next section

9.3 1D FIR Filter Design Methods

1D filter design functions.

EquirippleFilter returns linear-phase FIR filters with a frequency response that is optimal in the sense of minimizing the maximum approximation error [McC73b]. The approximation error is the difference between the desired and the actual frequency responses. The approximation error is spread evenly across the passbands and stopbands of the filter, resulting in a magnitude response that exhibits equal-sized ripples across the frequency domain (see Figure 9.1.1). The EquirippleFilter design is a Chebyshev approximation problem and uses the Remez exchange algorithm to find a solution.
In[1]:=
In[2]:=
Out[2]=Out[2]=
It is easy to verify the frequency response characteristics of the filter. This is accomplished by computing the discrete-time Fourier transform (DTFT) of filter h [Opp89]. The DTFT and the better-known DFT are related; the DFT is a sampled representation of the DTFT of a sequence. Here we evaluate the DTFT of h.
In[3]:=
In[4]:=
Out[4]=Out[4]=

Options of EquirippleFilter.

FrequencySamplingFilter is a simple linear-phase FIR filter design method that returns a filter with an optimum mean squared error fitted to a set of amplitude values spaced uniformly in the normalized frequency range . There are two possible sequences of sample positions:

Options for FrequencySamplingFilter.

In[5]:=
In[6]:=
Out[6]=Out[6]=
In[7]:=
Out[7]=Out[7]=
In[8]:=
Out[8]=Out[8]=
In[9]:=
Out[9]=Out[9]=
Tables have been published that, for a given filter specification, give the value of the best transition coefficient(s) [Rab70]. These coefficients minimize the maximum deviation of the frequency response of the synthesized filter from the frequency response of the desired filter. This is known as minimax optimization.

1D window sequences.

In[10]:=
Out[10]=Out[10]=
In[11]:=
Out[11]=Out[11]=
In[12]:=
Out[12]=Out[12]=
In[13]:=
Out[13]=Out[13]=
Typically, the length of the filter is not known and must be estimated from the filter specifications. Formulas have been developed to assist the designer [ Her73, Kai74 ] in calculating the length given the width of the transition region and maximum tolerable peak ripple or stopband attenuation.

Filter design utility functions.

In[14]:=
Out[14]=Out[14]=
In[15]:=
Out[15]=Out[15]=