Image Processing Toolbox User's Guide Previous page   Next Page
immovie

Make movie from multiframe indexed image

Syntax

Description

mov = immovie(X,map) returns the movie structure array mov from the images in the multiframe indexed image X with the colormap map. As it creates the movie array, immovie displays the movie frames on the screen. You can play the movie using the MATLAB movie function. For details about the movie structure array, see the reference page for getframe.

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.

mov = immovie(RGB) returns the movie structure array mov from the images in the multiframe, truecolor image RGB.

RGB comprises multiple truecolor images, all having the same size. RGB is an m-by-n-by-3-by-k array, where k is the number of images.

Remarks

You can also use the MATLAB function avifile to make movies from images. The avifile function creates AVI files. To convert an existing MATLAB movie into an AVI file, use the movie2avi function.

Class Support

An indexed image can be uint8, uint16, single, double, or logical. A truecolor image can be uint8, uint16, single, or double. mov is a MATLAB movie structure.

Example

See Also

avifile, getframe, montage, movie, movie2avi


Previous page  immagbox immultiply Next page

© 1994-2005 The MathWorks, Inc.