Code covered by the BSD License  

Highlights from
immovieFolder.m

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 2.22 KB File ID: #40917

immovieFolder.m

by

 

IMMOVIEFOLDER records a movie from a group of image files in a specified folder, and plays it.

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.8 (R2009a)
Other requirements This function calls folderFiles.m function.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us