Why do the MATLAB Movie Player not accurately display a MATLAB-generated animated GIF?

2 visualizzazioni (ultimi 30 giorni)
I have generated animated GIF files using MATLAB. The GIF animation files can be read correctly in different viewers (including ImageJ, different browsers, and also in Microsoft PowerPoint). However, if I use the MATLAB Movie Player to read the file, the image color and intensity (or the dynamic range) is very weird in most of the frames. I have attached a generated GIF file. Please help me to know how to correctly load the animated GIF in the Movie Player. Thank you.
ps. this is the part of the code that loaded the file and display it in the Movie Player. Am I doing it worng?
%%
....
[gifImage, map] = imread([file_path, file_name2], 'frames', 'all');
mov = immovie (gifImage, map);
implay(mov, 5)

Risposte (0)

Categorie

Scopri di più su Animation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by