Unable To Gererate VHDL Test Bench

1 view (last 30 days)
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...................

Accepted Answer

Bharath Venkataraman
Bharath Venkataraman on 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 Comments
krishna amar
krishna amar on 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 on 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.

Sign in to comment.

More Answers (1)

krishna amar
krishna amar on 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 Comment
Bharath Venkataraman
Bharath Venkataraman on 11 Jun 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!