MATLAB Function Reference Previous page   Next Page

Convert indexed image into movie format



f = im2frame(X,map) converts the indexed image X and associated colormap map into a movie frame f. If X is a truecolor (m-by-n-by-3) image, then map is optional and has no effect.

Typical usage:

f = im2frame(X) converts the indexed image X into a movie frame f using the current colormap if X contains an indexed image.

See Also

frame2im, movie

Bit-Mapped Images for related functions

Previous page  ifftshift im2java Next page

© 1994-2005 The MathWorks, Inc.