You are on page 1of 18

AN EFFECTIVE APPROACH OF

BILATERAL FILTER IMPLEMENTATION


IN SPARTAN-3 FIELD PROGRAMMABLE
GATE ARRAY

BY

M.GAUTHAM

Introduction
Images are corrupted by noise in the
procedures of image acquisition and
transmission.
Image de-noising refers to the recovery of a
digital image that has been contaminated by
noise.
Many denoising methods have been developed
over the years-But Bilateral filter is a powerful
filter:
I.Can work with any reasonable distances.
II.Easily extended to higher dimension
signals,
e.g. Images, video, etc.

Objective
Field Programmable Gate Array (FPGA)
implementation of Bilateral Filter, in order
to achieve high performance and low
power consumption.
Lack of approach in Real time Hardware
Implementation.
Bilateral filtering can be accelerated by
bilateral grid scheme that enables fast
edge-aware image processing.

Methodologies
Bilateral
Brute-force Implementation
Separable Kernel
Local Histogram
Bilateral Grid

Reference:

Digital signal processing with FPGA , by U.Meyer-Baese.


Bilateral Filtering: Theory and Applications, by Sylvain Paris,
Pierre Kornprobst,Jack Tumblin and Fredo Durand.

Why Bilateral Grid


The brute force implementation is efficient
for small spatial kernels but become
quickly prohibitive for large kernels.
The separable kernel approach yields
significantly faster running times but the
performance still degrades linearly with
the kernel size.
Local Histogram approach is able to
handle any kernel size in short times but
the iterations are complex.

CONT.
Bilateral Grid method can be used when
Graphics hardware is available because it
achieves high-quality outputs and realtime performances even on high-resolution
images and videos.
To process color images, the bilateral grid
provides a satisfying solution, especially
with large kernels. Hence Bilateral Grid
approach is used in the implementation of
bilateral filter in Spartan 3 FPGA.

Bilateral Filter
To smooth images while preserving edges
by means of a nonlinear combination of
nearby image values.
Nonlinear filter which combines domain
and range filtering.
The key idea of the bilateral filter is that
for a pixel to influence another pixel, it
should not only occupy a nearby location
but also have a similar value.

Bilateral Algorithm
For each pixel p , Initialize the values of
normalization factor and Bilateral filter to
zero.
For each pixel q , the non-negative weight
is given by the product of spatial weight
and range weight.
Normalization at pixel p,
BF(I)p =IP/WP
Reference:
Bilateral Filtering: Theory and Applications, by Sylvain Paris, Pierre
Kornprobst,Jack Tumblin and Fredo Durand.

Hardware Implementation
FPGA is a best possible solution for cost
effective platform of high resource
utilization.
Offer some flexibilities like speeding up the
computation and possibilities of reduced
memory consumptions .
FPGA Implementation is carried out using
Xilinx Spartan 3 Board

Why implementation?
Nowadays, most of the applications
require real-time hardware systems with
large computing potentiality for which a
fast and dedicated VLSI architecture
appears to be the best possible solution.

Why Xilinx Spartan 3?


Xilinx Spartan 3 FPGA is specifically
designed for to create, implement, and
test digital designs using programmable
logic with low cost Manner.
We can configure the FPGA to implement
any system design.

Spartan-3 FPGA Board

Comparison Table
PARAMETERS

USAGE

SYSTEM GATES

SPARTAN - 3
FPGA
ATTRIBUTES
400K

LOGIC CELLS

8,064

2016

TOTAL CLBS

896

179

DEDICATED
MULTIPLIERS

16

MAXIMUM USER I/O

264

53

MAXIMUM

116

24

DIFFERENTIAL I/O
PAIRS

80K

Results
On applying various numbers of iterations
in the implementation of bilateral filter, it
is observed that the resource usage is
minimum.
The total number of system gates used is
20% of the total system gates available.
Only 25% of logic cells were used and
hence the resource usage is low. Out of
896 Configurable Logic Blocks only 20% is
used. It is observed that only 30% of the
multipliers are used.

Conclusion
A number of iterations are performed
using bilateral grid approach to determine
the resource usage.
It is determined that the bilateral filter is a
powerful alternative to the iteration-based
filters for noise removal.
The use of bilateral filter results in Low
resource usage.
Since there is low resource usage the
power consumption is low. As a result the
computational speed is high.

References
Michael M. Bronstein, Lazy Sliding Window Implementation
of the Bilateral Filter on Parallel Architectures , IEEE
TRANSACTIONS ON IMAGE PROCESSING, VOL. 20, NO. 6,
JUNE 2011.
Ming Zhang and Bahadir K. Gunturk, Multiresolution
Bilateral Filtering for Image Denoising , IEEE
TRANSACTIONS ON IMAGE PROCESSING, VOL. 17, NO. 12,
DECEMBER 2008.

M.Katona, A.Pizurica , N.Teslic,V.Kovacevic,W.Philips"FPGA


Design and Implementation of a Wavelet- domain Video
Denoising System",VOL. 3708, Antwerp,BELGIUM,JUNE
2011.

T. Q. Pham and L. J. van Vliet, Separable bilateral filtering


for fast video preprocessing, in Proceedings of the IEEE

K
N
A
H
T
U
O
Y

You might also like