my questions
1-you said previously; how can i create the .coe file ;[must obtain the pixels value of the pictures as 0's and 1's]. are you mean binary form? if right this causing that ;losing gray scale of an image if i have an image with gary scale not balck and white
please explain this point
Well..I am not quite sure that I comletely understand what you are asking about however let me tell you...you might need to go quickly through **broken link removed**
and let me explain a little bit...you have a Grayscale picture which contains different intensities of black and white but no colors in it...you can easily understand what I mean if you searched for grayscale picture examples on google!
Each pixel in the grayscale pic holds a value from 0 to 255 which correspond to the different intensity from black to white..also read
THIS
so each pixel(ranging from 0 to 255) in the grayscale image you can represent in 8 bits(1 byte)...there is a matlab function(I do not recall it now) which extract this value...I believe you will find it easily
If your picture is NOT grayscale and its RGB(colered image) where R stand for Red and G for Green and B for Blue...then you will be having three different frames for the picture where each frame represents a color(R or G or B) and again each pixel will have three different values each representing intensity of the color R, G and B
the intensity of each color is again 8 bits(ranges from 0 to 255).
This might be also helpfull.
you have to extract the three frames(R, G and B) of an RGB picture in matlab using also a function (I do not recall it now as well
) ) first and then read the different intensities of the different colors for each pixel.
so based on the previuos cases you can configure your BRAM as you want. If it is grayscale image, then you can simply store each pixel(the binary value of the intensity) in a memory location. If it is RGB picture, one solution would be store the R, G and B values in one memory location or another solution would be create three different BRAMs for the R, G and B..IU believe that setting up your memory is completely based on what you want to do.
Concerning displaying the image...I actually does not have something in mind to tell you as I didnt face it yet..however I think its not a big issue to do you just need to search on how to use your VGA interface and send something to a screen
Eshbon!