getframe returns blank frames on ubuntu 10.04

1 view (last 30 days)
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
Grey Nearing
Grey Nearing on 25 Sep 2015
I also have this issue on SUSE Enterprise 11 and R2011b.

Sign in to comment.

Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!