01-12-2014 11:54 PM
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..
01-13-2014 12:22 AM
01-13-2014 12:25 AM
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.
01-13-2014 01:10 AM
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.
01-13-2014 01:00 PM
the normal test would be a test card,
try colour bars, that might give u a clue
then try a proper test card,