Hi,
Kindly go through the following example illustrated at link.
function redraw(frame)
imshow(['AT3_1m4_' num2str(frame, '%02.0f') '.tif'])
end
videofig(10, @redraw);
redraw(1)
As videofig is used to set up the viewer and not to display, you need to put redraw(1,v2); (Function code is below) to display images. (Reason for getting blank figure with axis).
function redraw(frame, vidObj)
f = vidObj.read(frame);
image(f);
axis image off
end
v2=VideoReader('heat_map.avi');
videofig(v2.NumFrames, @(frm) redraw(frm,v2));
redraw(1,v2);
If you wish to put images with it, try to merge images using imfuse. Hope it helps!!
0 Comments
Sign in to comment.