display an animated image

3 Ansichten (letzte 30 Tage)
Oyewale Oyelami
Oyewale Oyelami am 28 Jul. 2011
Kommentiert: Josh Philipson am 10 Dez. 2015
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..

Antworten (1)

Oleg Komarov
Oleg Komarov am 28 Jul. 2011
  • [a,b] = imread('http://www.animatedgif.net/arrowpointers/arrow20_e0.gif','frames','all');
  • implay(a)
  3 Kommentare
Walter Roberson
Walter Roberson am 28 Jul. 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 am 10 Dez. 2015
...and this is proprietary to 'Image Processing Toolbox'...

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by