How do I read an image that is in the buffer
Show older comments
I would like to read an image file that is in the buffer (after it has been grabbed). Currently I write the file and then read it from the matlab code to process the image but would like to avoid the write/read step. Any suggestions are welcome.
Thanks, ram
Answers (1)
Image Analyst
on 9 May 2013
0 votes
If it got into a buffer in the first place, then you already have it. You couldn't have called imwrite() if you did not already have the image.
4 Comments
Ram
on 9 May 2013
Image Analyst
on 9 May 2013
Try using getframe().
Ram
on 9 May 2013
Image Analyst
on 10 May 2013
Did it? If so, then please mark this as "Answered"
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!