In MATLAB 7.0.1 (R14SP1), all movie frames created manually from indexed images (by assigning directly to the cdata and colormap fields) or created using IM2FRAME are inverted when played back.
The following example shows how to reproduce this problem. The example loads an indexed image and uses IMMOVIE to generate a movie. When displayed, using MOVIE, the images are flipped.
load cape;figure;mov=immovie(X, map);movie(mov,10);
The same procedure worked fine in MATLAB 7.0 (R14).
Best Answer