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