Need help to do image processing for an image captured by Terasic 5M pixel camera connectd to Altera Cyclone II FPGA.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
My code to capture and display image is in Verilog. I have to do image enhancement and edge detection.How can i do this in Matlab and convert it into Verilog file so that i can import it in Quartus.
0 Commenti
Risposta accettata
Tim McBrayer
il 11 Lug 2011
Once you have designed and tested your algorithm in Simulink, you can use Simulink HDL Coder to convert your Simulink model into either Verilog or VHDL. You will even be able to incorporate your existing Verilog code into your Simulink simulation using EDA Simulator Link.
2 Commenti
Tim McBrayer
il 12 Lug 2011
The MATLAB Function Block is supported for HDL code generation. The coding style can seem a bit unusual if you require your MATLAB code to contain state, so I recommend examining the representative code in the "Hardware Design Patterns Using the MATLAB Function Block" demo, which ships with Simulink HDL Coder.
Più risposte (1)
Harsha Vardhan Rao Avunoori
il 12 Lug 2011
Hello Vasavi,
There is an inbuilt block in Simulink which actually allows the user to convert between various formats.As far as I remember it has a RGB to Intensity option which you can use inorder to convert it into grayscale or else you can use an embedded matlab function to convert between RGB and Gray formats.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!