I used VideoReader to load the video from my down loads and read() to read each frame. How do I save the image and then save that image to the cell of a preallocated cell array?
v=VideoReader(movieFile);numFrames=v.NumberofFrames;c=cell(1,numFrames);for a=1:numFrames frame=read(v,a); imwrite(frame,['Image' int2str(a), '.jpg']) c(a)=frame;end
Best Answer