display an animated image

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..

Respuestas (1)

Oleg Komarov
Oleg Komarov el 28 de Jul. de 2011

1 voto

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

3 comentarios

Oyewale Oyelami
Oyewale Oyelami el 28 de Jul. de 2011
what am seeing looks like a web.. address..if am very sure or is it a directory on desktop
Walter Roberson
Walter Roberson el 28 de Jul. de 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 el 10 de Dic. de 2015
...and this is proprietary to 'Image Processing Toolbox'...

Iniciar sesión para comentar.

Productos

Preguntada:

el 28 de Jul. de 2011

Comentada:

el 10 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by