MATLAB Function Reference    

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

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, capture

Bit-Mapped Images for related functions

  ifftshift im2java