cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chaitannyasupe
Visitor
Visitor
5,497 Views
Registered: ‎08-07-2013

display image on moniter using Zynq 7020

Hello, I am trying to display 24-bit color image on moniter using Zedboard 7020..For this i have followed the procedure like this:

1) Converted the 24-bit color image to 12 bit image using MATLAB and then made a .coe file of the same.

2) Stored the .coe file into Single Port Block ROM.

3) With the help of HDL i assigned 4 bits each to Red, Green and Blue (total 12-bits from ROM)

By following the above procedure i am getting image displayed on monitor but the colors are not displayed properly (some colors are matching perfectly).

 

For above problem i tried following:

1) Made few changes in HDL code.

2) Made some changes in MATLAB code.

but still i failed..I have attached my original image and output image in attachments..Please help..original image.jpgresult obtained.jpg

0 Kudos
4 Replies
pratham
Scholar
Scholar
5,494 Views
Registered: ‎06-05-2013

Hello,

Please do not post the same question to multiple boards.
-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
vsrunga
Xilinx Employee
Xilinx Employee
5,491 Views
Registered: ‎07-11-2011

Hi,

 

What is your monitor resolution,frame rate,  Hysnc, Vsync frequencies?

With 3 colors and 4 bits per color you will get only few shades so not sure your image can be displayed with enough content, any reason for using only 4 bits per color?

I would suggest you to check primary colors like Red, Green, Blue Yellow were displayed properly and then some patterns horizontal stribes, vertical stribes etc.alterate pixels/lines, based on which you can have a clue whether pixel positions and line posiions were mapped correctly and end to end clocking is good.

 

 

Regards,

Vanitha.

---------------------------------------------------------------------------------------------
Please do google search before posting, you may find relavant information.
Mark the post - "Accept as solution" and give kudos if information provided is helpful and reply oriented
0 Kudos
chaitannyasupe
Visitor
Visitor
5,484 Views
Registered: ‎08-07-2013

I tried to display colors using slide switches...I am using Zedboard to do this job and it has total 12-bit pins i.e 4 bits each for red, green and blue thats why i am using 4 bit per color.Zedboard can display 4096 colors which are enough to display my image(specifically skin color,hair color etc.).Infact i got succeeded in displaying simple RGB image( total 8 colors)..My pixel clock frequency is 25 MHz.

 

0 Kudos
drjohnsmith
Teacher
Teacher
5,454 Views
Registered: ‎07-09-2009

the normal test would be a test card,

 

try colour bars, that might give u a clue

 

then try a proper test card, 

<== If this was helpful, please feel free to give Kudos, and close if it answers your question ==>
0 Kudos