all i want to do is to display an animated image using any available methodd without losing the effect or the animation on the image...probably gif format....but i have tried a = imread('car.gif'); imshow(a); but the animation becomes static thanks..

Réponses (1)

Oleg Komarov
Oleg Komarov le 28 Juil 2011

1 vote

  • [a,b] = imread('http://www.animatedgif.net/arrowpointers/arrow20_e0.gif','frames','all');
  • implay(a)

3 commentaires

Oyewale Oyelami
Oyewale Oyelami le 28 Juil 2011
what am seeing looks like a web.. address..if am very sure or is it a directory on desktop
Walter Roberson
Walter Roberson le 28 Juil 2011
YourFileName = 'C:\Users\oeyewale\Documents and Settings\MyGif.gif';
[a,b] = imread(YourFileName, 'frames', 'all');
implay(a)
Adjust file name as needed.
Josh Philipson
Josh Philipson le 10 Déc 2015
...and this is proprietary to 'Image Processing Toolbox'...

Connectez-vous pour commenter.

Catégories

En savoir plus sur Animation dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by