I want to create a colormap movie that contains more than 256 frames. How would I go about doing this? Would appreciate any help on this.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shivani Patel
am 17 Jul. 2018
Erneut geöffnet: Shivani Patel
am 17 Jul. 2018
I understand how to capture the frames and convert to a movie (avi) file. However, I'm confused as to how I can make a movie that can contain more than 256 frames.
0 Kommentare
Akzeptierte Antwort
Dinesh Iyer
am 17 Jul. 2018
Use VideoWriter using the Indexed AVI profile. You can write as many frames as you want.
If you mean that your images are indexed > 8bits i.e. have more than 256 colormap entries, then you cannot write to an AVI file because AVI supports only 8-bit colormaps.
You will have to use the IND2RGB and RGB2IND functions to requantize your image to an 8-bit colormap.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!