Convert indexed image into movie frame
Syntax
F = im2frame(X,Map)
Description
F = im2frame(X,Map)
converts the indexed image X and associated colormap Map into a movie frame F. You can use im2frame to convert a sequence of images into a movie.
Example
To use im2frame to convert a sequence of images into a movie, first pre-allocate matrix using movein:
M = moviein(n);
M(:,1) = im2frame(X1,map);
M(:,2) = im2frame(X2,map);
...
M(:,n) = im2frame(Xn,map);
movie(M)
See Also
capture, frame2im, movie, moviein
[ Previous | Help Desk | Next ]