immovieFolder.m

版本 1.0.0.0 (2.2 KB) 作者: Ahmed A. Selman
IMMOVIEFOLDER records a movie from a group of image files in a specified folder, and plays it.
196.0 次下载
更新时间 2013/3/25

查看许可证

IMMOVIEFOLDER records a movie from a group of image files in a specified folder and plays it. Image files must have the same size.
[A,B]=immovieFolder(inFolder) the default, reads files with the extension (*.jpg) from the folder with name (inFolder), without any image resize, and plays the movie with 30 frames per second (fps).
The output A is an M-by-N-by-P-by-K array, where K is the number of images in the specified folder. The image size is assumed to be [M,N,P].
B is movie in a form of multiframe indexed image (a structure).

immovieFolder(inFolder,s) reads files with the extension (*.jpg) from the folder with name (inFolder), with resizing parameter = s (s < 1). Use this when you get (Out of memory) error, and try s values 0.5 or less.

immovieFolder(inFolder,s,'fileType') reads files with the extension (fileType) from the folder with name (inFolder), and using a resizing parameter = s.
immovieFolder(inFolder,s,'fileType',fps) reads files with the extension (fileType) from the folder with name (inFolder),using a resizing parameter = s, and plays the movie with a rate fps per a second.

This function calls folderFiles.m function.

引用格式

Ahmed A. Selman (2024). immovieFolder.m (https://www.mathworks.com/matlabcentral/fileexchange/40917-immoviefolder-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Movie 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0