immovieFolder.m

IMMOVIEFOLDER records a movie from a group of image files in a specified folder, and plays it.
196 téléchargements
Mise à jour 25 mars 2013

Afficher la licence

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.

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Movie dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0