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

回答 (1 件)

Oleg Komarov
Oleg Komarov 2011 年 7 月 28 日

1 投票

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

3 件のコメント

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

サインインしてコメントする。

製品

質問済み:

2011 年 7 月 28 日

コメント済み:

2015 年 12 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by