Image Processing Toolbox | ![]() ![]() |
Make a movie of a multiframe indexed image
Syntax
mov = immovie(X,map)
Description
mov = immovie(X,map)
returns the movie matrix mov
from the images in the multiframe indexed image X
. As it creates the movie matrix, it displays the movie frames on the screen. You can play the movie using the MATLAB movie
function.
X
comprises multiple indexed images, all having the same size and all using the colormap map
. X
is an m
-by-n
-by-1-by-k
array, where k
is the number of images.
Class Support
X
can be of class uint8
, uint16
, or double
. mov
is of class double
.
Example
load mri mov = immovie(D,map);
See Also
avifile
, getframe
, movie
, movie2avi
in the MATLAB Function Reference
Remarks
You can also make movies from images by using the MATLAB function avifile
, which creates AVI files. In addition, you can convert an existing MATLAB movie into an AVI file by using the movie2avi
function.
![]() | imhist | imnoise | ![]() |