MATLAB Function Reference
  Go to function:
    Search    Help Desk 
im2frame    Examples   See Also

Convert indexed image into movie format

Syntax

Description

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 affect.

F = im2frame(X) converts the indexed image X into a movie frame F using the current colormap.

Example

To use im2frame to convert a sequence of images into a movie, first pre-allocate matrix using movein.

See Also

getframe, frame2im, movie



[ Previous | Help Desk | Next ]