Convert movie frame to indexed image.
A movie frame is simply a struct with the fields "cdata"
and
"colormap"
.
Support for N-dimensional images or movies is given when f is a struct array. In such cases, x will be a MxNx1xK or MxNx3xK for indexed and RGB movies respectively, with each frame concatenated along the 4th dimension.
See also: im2frame.
Package: octave