HDL coder on image processing

6 次查看(过去 30 天)
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.

回答(1 个)

Bharath Venkataraman
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 个评论
prathap soma
prathap soma 2017-6-17
编辑:prathap soma 2017-6-17
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
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.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by