User`s guide
R2007b
19-28
Compressed AVI Video Files in Windows Vista and Windows XP x64
Because Windows Vista, Windows Vista 64-bit, and Windows XP x64 operating systems
do not ship with the Indeo
®
5 codec, which is the default codec used by MATLAB Audio-
Video functions for file compression, the functions movie2avi and avifile now generate
uncompressed AVI files on these platforms. Also, aviread on these platforms cannot read
files that were compressed using the Indeo 5 codec.
Compatibility Considerations
If you have upgraded your Windows operating system to Windows Vista, Windows
Vista 64-bit, or Windows XP x64, you need to install the Indeo 5 codec to read or create
Indeo 5 compressed AVI files with aviread, avifile, or movie2avi. You can learn more
about downloading the Indeo 5 codec from the Ligos Corporation Web site at http://
ligos.com/index.php/home/products/indeo/
mmfileinfo Reads Files on MATLAB Path
The mmfileinfo function now reads files on the MATLAB path, not only those in the
current directory. The mmfileinfo output struct contains a field called Path, which
indicates the directory where the file exists.
Compatibility Considerations
The Filename field of the output struct from mmfileinfo now contains only the
filename itself without any path information, while the path information is contained
in the Path field. In previous releases, the Filename field contained both path and
filename information.
Changes to imread Support of TIFF Format
The imread function includes several updates to its TIFF support:
• imread reads TIFF files that use JPEG, LZW, and Deflate compression.
• imread reads image data from TIFF files in any arbitrary samples-per-pixel and bits-
per-sample combination.
• imread provides increased performance when reading large images, when used with
the 'PixelRegion' parameter.