getframe returns blank frames on ubuntu 10.04
1 view (last 30 days)
Show older comments
The following code displays a black image instead of the expected grabbed frame.
b = imread('ngc6543a.jpg');
imshow(b)
currF = getframe(gcf)
image(currF.cdata)
currF.cdata is an all zero matrix.
Did anyone have/solved this problem?
Thanks
2 Comments
Answers (0)
See Also
Categories
Find more on Language Fundamentals 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!