Page 1 of 1

For Indexed AVI files, the pixel values in the data being written must be lesser than size ({0}) of the Colormap.

Posted: Thu Feb 09, 2017 4:00 am
by matlab1
For Indexed AVI files, the pixel values in the data being written must be lesser than size ({0}) of the Colormap.

Re: For Indexed AVI files, the pixel values in the data being written must be lesser than size ({0}) of the Colormap.

Posted: Wed Dec 30, 2020 7:57 am
by matlab1
solution :



A colormap is a matrix of values that define the colors for graphics objects such as surface, image, and patch objects. MATLABĀ® draws the objects by mapping data values to colors in the colormap.
https://de.mathworks.com/help/matlab/ref/colormap.html

When you are working with AVI files, you must set the pixel values lower than the size of the colormap.