imagemagick - get individual frames from gif image in matlab -
i want find frame individual gif image.i means want convert gif image seperate jpeg images in matlab. please suggest me how can this? attached link project gif image.
use imread read frames @ once, or read them 1 one, explained here.
example this post on matlab central:
allframedata = imread('yourfile.gif', 'frames', 'all'); or
for = 1:n % n number of frames image = imread('yourfile.gif', i); filename = ['pathtofolder' '\\' int2str(i) '.png']; imwrite(image, filename); end
Comments
Post a Comment