Azzera filtri
Azzera filtri

Unable To Gererate VHDL Test Bench

3 visualizzazioni (ultimi 30 giorni)
Hi,
I am unable to gernerate the VHDL test bench for the example code given On RGB to YUV convertion. Mtlab is running for long time but I am not getting the Output. I have got the VHDL code but unable to generate Test bench.Please help me with this...................

Risposta accettata

Bharath Venkataraman
Bharath Venkataraman il 5 Feb 2015
Are you using Filter Design HDL Coder for the HDL Code? Or HDL Coder? please first try reducing the testbench data and that should help the testbench generation get done.
  2 Commenti
krishna amar
krishna amar il 5 Feb 2015
I am just using the HDL coder. I have another question. 1.Is it possible to read .jpg Image in HDL coder. 2.In case of HDR Image Generation exmple I want to give pixer with 512*512 Pixels and number of bit is 32. Added extra Alpha chanel. It was not there in case of .jpg Image.
Image Analyst
Image Analyst il 13 Feb 2015
krishna's flag moved here because it's a comment, not a reason that Bharath's answer should be flagged:
Hi Bharath, I am implementing HDR Image example on FPGA. I have got 14 bit out put from each chanel. 1. How can I Display the 14 bit Image on Computer Monitor with out using separate tone mapping algorithm. Is there any separate function for this? 2. In the HDR Image creation test bench they are using NTSC to RGB conversion. But in generated VHDL code I am not getting this colour space conversion. Please help me this.

Accedi per commentare.

Più risposte (1)

krishna amar
krishna amar il 12 Feb 2015
Hi Bharath,
I am implementing HDR Image example on FPGA. I have got 14 bit out put from each chanel. 1. How can I Display the 14 bit Image on Computer Monitor with out using separate tone mapping algorithm. Is there any separate function for this?
2. In the HDR Image creation test bench they are using NTSC to RGB conversion. But in generated VHDL code I am not getting this colour space conversion.
Please help me this.
  1 Commento
Bharath Venkataraman
Bharath Venkataraman il 11 Giu 2015
Please look at imshow and imread to display and show images in MATLAB. You can also use the From Multimedia and Video Viewer blocks in Computer Vision System Toolbox for this purpose.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by