Converting a .tiff sequence to a .avi video file
32 ビュー (過去 30 日間)
古いコメントを表示
Dries van Roovert
2016 年 11 月 4 日
コメント済み: Dries van Roovert
2016 年 11 月 7 日
Hello everyone,
I collect uint16 arrays from .tiff images.
I want to convert these images uncompressed to an .avi video-file.
Does anyone know how to do this?
Kind regards,Dries
0 件のコメント
採用された回答
Geoff Hayes
2016 年 11 月 4 日
編集済み: Geoff Hayes
2016 年 11 月 4 日
Dries - consider using the VideoWriter object. A couple of very basic examples can be found at the given link or at writeVideo, but you should be able to extend them for your purposes. For example,
v = VideoWriter('newfile.avi','Uncompressed AVI');
open(v);
for k=1:10 % assumes 10 images to write to file
writeVideo(v,randi(255,100,200,'uint8'));
end
close(v);
5 件のコメント
Geoff Hayes
2016 年 11 月 4 日
編集済み: Geoff Hayes
2016 年 11 月 4 日
Right! I thought that was only in the Image Processing Toolbox but it looks like it now is part of the core app. I really should upgrade from r2014a!
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!