25.01.2014 Views

FPGA Based Non Uniform Illumination Correction in Image ...

FPGA Based Non Uniform Illumination Correction in Image ...

FPGA Based Non Uniform Illumination Correction in Image ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Abhishek Acharya,Rajesh Mehra,Vikram S<strong>in</strong>gh Takher, Int. J. Comp. Tech. Appl., Vol 2 (2), 349-358<br />

ISSN:2229-6093<br />

subtraction, the boundary artifacts can<br />

also be reduced.<br />

5. System Generator <strong>Based</strong> Design<br />

It is requirement of an efficient rapid<br />

prototyp<strong>in</strong>g system to develop an<br />

environment target<strong>in</strong>g the hardware<br />

design platform. The used tools are<br />

MATLAB R2008a with Simul<strong>in</strong>k from<br />

Math-Works [3, 4], System Generator<br />

11.1 for DSP and ISE 11.1 from Xil<strong>in</strong>x<br />

presents such capabilities (figure 1).<br />

Although the Xil<strong>in</strong>x ISE 11.1 foundation<br />

software is not directly utilized, it is<br />

required due to the fact that it is runn<strong>in</strong>g<br />

<strong>in</strong> the background when the System<br />

Generator blocks are implemented. The<br />

System Generator environment allows<br />

for the Xil<strong>in</strong>x l<strong>in</strong>e of <strong>FPGA</strong>s to be<br />

<strong>in</strong>terfaced directly with Simul<strong>in</strong>k. In<br />

addition there are several cost effective<br />

development boards available on the<br />

market that can be utilized for the<br />

software design development phase.<br />

The Xil<strong>in</strong>x Integrated Software<br />

Environment (ISE) is a powerful design<br />

environment that is work<strong>in</strong>g <strong>in</strong> the<br />

background when implement<strong>in</strong>g System<br />

Generator blocks. The ISE environment<br />

consists of a set of program modules,<br />

written <strong>in</strong> HDL, that are utilized to<br />

create, capture, simulate and implement<br />

digital designs <strong>in</strong> a <strong>FPGA</strong> target device.<br />

The synthesis of these modules creates<br />

net list files which serve as the <strong>in</strong>put to<br />

the implementation module. After<br />

generat<strong>in</strong>g these files, the logic design is<br />

converted <strong>in</strong>to a physical file that can be<br />

downloaded on the target device.<br />

Here architecture is proposed for <strong>FPGA</strong><br />

implementation us<strong>in</strong>g Xil<strong>in</strong>x System<br />

Generator block-set. The architecture<br />

can only be applied to an image of size<br />

1024 width x 1024 height x 24 bits (for 8<br />

bits x 3 channels). However <strong>in</strong> order to<br />

run images of different sizes the<br />

parameters supplied to architecture have<br />

to be modified. The design of the<br />

component‘s architecture is shown <strong>in</strong><br />

Figure 3.The logic for the component is<br />

encoded <strong>in</strong> the Xil<strong>in</strong>x MATLAB Code<br />

block, which is a conta<strong>in</strong>er used for<br />

execut<strong>in</strong>g user-supplied MATLAB<br />

functions with<strong>in</strong> Simul<strong>in</strong>k. This block<br />

executes the MATLAB functions to<br />

calculate the output dur<strong>in</strong>g the<br />

simulation. However, it must be<br />

emphasized that the M-code block only<br />

supports a limited subset of the<br />

MATLAB language.<br />

Figure 3, 4 shows the model that uses<br />

the top level HDL module and its Xil<strong>in</strong>x<br />

block-set for <strong>Non</strong> <strong>Uniform</strong> <strong>Illum<strong>in</strong>ation</strong><br />

<strong>Correction</strong>. This model can be used for<br />

co-simulation. Once the design is<br />

verified, a hardware co-simulation block<br />

can be generated and then will be used to<br />

program the <strong>FPGA</strong> for the non uniform<br />

illum<strong>in</strong>ation correction model<br />

implementation. Figure 4 shows the<br />

model with the hardware co-simulation<br />

block. The bit stream download step is<br />

performed us<strong>in</strong>g a JTAG cable. Here<br />

Xil<strong>in</strong>x System Generator Token is used<br />

which is necessary for the design of such<br />

models.<br />

Figure 3: Proposed Model for Grey Level <strong>Image</strong><br />

Process<strong>in</strong>g<br />

352

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!