display an animated image

7 次查看(过去 30 天)
Oyewale Oyelami
Oyewale Oyelami 2011-7-28
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
  • [a,b] = imread('http://www.animatedgif.net/arrowpointers/arrow20_e0.gif','frames','all');
  • implay(a)
  3 个评论
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'...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by