A Comparative Analysis of Digital Filters For Image Processing Applications
A Comparative Analysis of Digital Filters For Image Processing Applications
Fig 3.1. Block Diagram of the proposed Gabor Filter This forms an integral part of each PE. Each ROM stores 2
coefficients corresponding to the real and imaginary parts of 4
3.5.1 Block Diagram Description: 15 x 15 pixel Gabor filter masks. Though shown in Figure 3
as separate ROMs, both the real and imaginary parts of the
The following are the components of the Gabor Filter: filter coefficients will be stored in a single ROM for faster
read access.
3.5.1.1 Image RAM:
3.5.1.5 Input Image Pixel Access:
The 15 x 15 pixel image to be convolved with various filter
masks is stored in an internal image RAM before computation In our architecture, 10 PEs are deployed to compute 10 of
begins. All the computations are performed with 8 bit gray these Gabor filter decompositions in parallel, each utilizing
level pixel values. Image RAM needs to be updated with only the same pixel simultaneously. This ensures that each of the
one row/column of 15 pixels for subsequent Gabor jet 225 pixels is read only once for all the 10 PEs in a sequential
computation for the next pixel in the search area of that manner. For the next set of 10 filters, these input image pixels
particular FFP. are read once again, thereby the Gabor jet computation for 1
pixel, for all 40 filters requires 4 read cycles. The choice of10
3.5.1.2 Gabor PE: PEs limits the fanout of each pixel to 10.
Fig 3.2 shows the basic processing element of Gabor filter 3.5.1.6 Gabor Jet Memory Write:
bank for computation of Gabor jet. Each PE consists of (i) 2
multipliers for real and imaginary multiplications with the The 10 Gabor jet elements computed every 225 cycles are
incoming pixel intensity, (ii) two adders with output registers, written into the Gabor jet RAM for further processing by the
each of 12 bit width, to do the summation and accumulation similarity computation unit. For each pixel in the search area
and (iii) one filter ROM of size 21600 bits (225 x 4 locations, of a FFP, the Gabor jet RAM requires 40 (Gabor jet elements)
each of width 24 bits). Each PE computes and accumulates 225 x 12 (bits/jet)x 2 (real and imaginary). For n x n search area
intermediate values and then outputs the Gabor coefficient for around a FFP, we compute n x n Gabor jets. This RAM can be
1 pixel and 1 Gabor filter at the end of 225 clock cycles before optimized when coupled with the pipelined similarity
calculating the Gabor coefficient of the same pixel for the next computation unit.
Gabor filter.
3.5.1.7 Input and Output Sequencing:
IV.RESULTS AND DISCUSSIONS The power report obtained on Gabor is shown in the Fig 4.4
below.
Fig 4.4 Power Report on Gabor Filter
After implementing the above block diagram discussed for box Fig 4.7 Summary on Device Utilization of Box Filter
filter the simulation results obtained is shown in the Fig.4.5
below. The power report obtained on Box Filter is shown in the fig
4.8 below.
Future Scope