immovieFolder.m

IMMOVIEFOLDER records a movie from a group of image files in a specified folder, and plays it.
196 descargas
Actualizado 25 mar 2013

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Movie en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0