HDL coder on image processing

6 vues (au cours des 30 derniers jours)
prathap soma
prathap soma le 16 Juin 2017
Using HDL coder can I convert my matlab code which is on image processing side. if yes, then how would i give testbench file to coder. can any one help because am new to HDL code generator.

Réponses (1)

Bharath Venkataraman
Bharath Venkataraman le 16 Juin 2017
You can use Vision HDL Toolbox blocks to design your system and generate HDL code. When you design this system, the inputs and outputs to the subsystem that you design for HDL will be used to form the Testbench. Here is an example that deals with gamma correction .
  2 commentaires
prathap soma
prathap soma le 17 Juin 2017
Modifié(e) : prathap soma le 17 Juin 2017
Thank you sir for positive reply. actually I have my own MATLAB code related to image processing. Now what I want to do is converting it to VHDL. For programming into the FPGA.
here the inputs are accepted by HDL coder, MxN matrix type only. but my Image is of 3-dimensional how should i design and how should I give testbench.
Bharath Venkataraman
Bharath Venkataraman le 26 Juin 2017
As you can see in the gamma correction example I pointed out, you should not be sending the entire image in at a time, but instead serialize it using Frame To Pixels and send it 3 pixels at a time.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by