Converting a .tiff sequence to a .avi video file
42 次查看(过去 30 天)
显示 更早的评论
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!