HDL coder on image processing

조회 수: 5 (최근 30일)
prathap soma
prathap soma 2017년 6월 16일
댓글: Bharath Venkataraman 2017년 6월 26일
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
Bharath Venkataraman 2017년 6월 16일
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
Bharath Venkataraman 2017년 6월 26일
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