how do i extract the frame and shw it out with imshow (HELP)
古いコメントを表示
""
obj=VideoReader('111.wmv');
a=read(obj);
frames=get(obj,'numberOfFrames');
for k = 1 : frames
I(k).cdata = a(:,:,:,k);
I(k).colormap = [];
end
implay(I)
""
111.wmv is my video(in this video got 148 frames) and what i need is extract all the frame to compare example"Frame1-frame2"(but how do i extract the frame 1 and frame 2... then the other)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Video Formats and Interfaces についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!