Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

image enhancement using fpga.

Status
Not open for further replies.

praveenvanaparthy

Newbie level 6
Joined
Jun 19, 2011
Messages
14
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Activity points
1,376
hi , this is praveen
am doing my project on image processing(enhancement).
this i want to implement on vertex2pro fpga kit .

i need some suggestions to do this .
i need source code .

please give me some suggestions
-how to read a image file into verilog/vhdl code .
- how to implement this image pixel by pixel .

my aim is 'take input image from monitor(memory card/image source), process this on fpga and show output on monitor'.
 

first of all, I suggest learning about digital logic and then start learning verilog or VHDL.
 

And after you have learned that ... I suggest learning how to write a project definition, and how to ask meaningful & specific questions. Those combined skills should get you well underway on your project. Good luck!
 

k

i am done image negative transform using matlab(S=L-1-r).
and create r.txt file .

now coming to verilog coding am try to call r.txt file into my program using
a=$fopenr('r.txt')
my image size is 128x128 (ie, ixj).
i=128, j=128.
in r.txt filr it shows pixel values from 1 to 16384 .[128*128=16384].

now my doubt is how to take pixel values into my code and how to write back into a file.
 

I assume this code is just in your testbench, as you cannot synthesise fileIO
 

yes , first i want to check it for simulation.

and is there any possible to "read direct image(.jpeg) file into verilog and process it"
without creating .txt file .
 
jpeg is compressed, so you would need verilog decompression functions. Easiest is text files with raw data, otherwise bitmap.
 

could you please give some examples for read&write text files( or bitmap) in verilog .

its important for me . please...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top