Displaying a sequence of images like video in matlab

images is an array of dim imageHeight x imageWidth x frameNumber


for i = 1:size(images,3)
    imshow(images(:,:,i));
    title(['frame# ' num2str(i)]);
    drawnow; %// this is why it works
end


Advertisements

One Response to Displaying a sequence of images like video in matlab

  1. prapti says:

    hey how can v convert video to frmae…which algo 2 use??

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: