Why does my AVI movie, that was created using a TrueColor image in MATLAB, change when read in using AVIREAD in MATLAB 6.5 (R13)?
If I have this code
n=10;img=imread('flowers.tif');cmap=rand(8,3);for t=1:n, mov(t).cdata = img; mov(t).colormap = cmap;end movie2avi(mov,'test.avi','compression','none');
the movie appears differently when I load it into MATLAB using:
AviMovie=aviread('test.avi');movie(AviMovie);
The movie displays correctly in Windows Media Player and Quicktime.
Best Answer