- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 06:00 AM
Dear all
I have spartan 3e starter board and edk 11.1.Now i want to store an image in the BRAM of the board,then I need to make some processing,Can anyone suggest me how could I do that.In fact if I get the pixel value from Matlab from that can I fetch that value into the board??
any idea plz share how to load a image in spartan 3e
regards
Tusu
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 10:42 AM
Why specifically the BRAM? Why not in memory? Just have Matlab put the pixels into an array and then just store in the FPGA that way.
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 10:46 AM
thanks for reply
now if I have the pixel value from matlab and stored in an array then hoe can i dump that in the board,I have to use Rs232 port some recvbyte function...is it that way???
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 10:48 AM
You would just transfer the array out to the RS232 port. You just need to know how the image is stored in the array so you recreate it in the same way on the other end.
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-22-2012 09:06 PM
hello
as you told me,i have matlab where i used imread function and stores the works[ace result in a .mat file?now how could i send this via edk?
Is there any alternative way to store the image in an array??
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-23-2012 10:45 PM
What do you want to do with the FPGA? How do you plan on getting the data to from matlab to the FPGA?
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2012 08:52 AM
I want to store the image on any memory of FPGA, and after some processing I want to again retrieve the image data form FPGA
but for now I just want to store it in FPGA using Microblaze and EDK,How could I do that?How to binarize the image and store it in FPGA?
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2012 12:13 PM
Do you want to use rs232, USB, Ethernet, etc.? How big is the picture, if it is small just send it out a byte at a time.
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2012 09:29 PM
yes I want to use RS232,I have EDK platform where I could get data via RS232 using Xuartlite_RecvByte,,,,Now how to take the image and store it in Spartan 3e,The size of image is 73 KB,
Guide me how to store it in FPGA
regards
Re: Store image in Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 08:58 AM
Just store the vairable in the array and SDK will keep track of it for you. There is a way of storing pages/files but I've never done it. I've just used 2-dimensional arrays to store the x,y coordinates with the data.











