MATLAB COMPILER RELEASE NOTES User's Guide Page 185

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 184
Data Import and Export
5-25
Data Import and Export
Reading and writing indexed and grayscale AVI files with VideoReader
and VideoWriter objects
The VideoReader.read method now returns an array of grayscale data when reading
grayscale AVI files. The read method also reads AVI files with indexed video and a
colormap using the new 'native' input argument.
The VideoWriter.writeVideo method now writes grayscale AVI files, and AVI files with
indexed video and a colormap.
Compatibility Considerations
A VideoReader object created from an AVI file with indexed video and a grayscale
colormap now has a VideoFormat property with the value 'Grayscale'. By default,
using the VideoReader.read method to read this object returns an m-by-n-by-1-by-F
array, where m is the image frame height, n is the image frame width, and F is the
number of frames read. In R2012b and earlier releases, the value of VideoFormat was
'RGB24' and read by default returned an m-by-n-by-3-by-F array.
Writing MPEG-4 H.264 files on Mac with VideoWriter object
VideoWriter now writes MPEG-4 H.264 files with the extension .mp4 or .m4v on systems
with Mac OS X 10.7 or later.
Tiff object improvements for reading and writing RGB-class TIFF images
The Tiff.readRGBAImage method returns RGBA data from an entire RGB-compatible
image. The Tiff.readRGBAStrip and Tiff.readRGBATile methods return RGBA data from
a single strip or a single tile in an RGB-compatible image, respectively.
The JPEGColorMode property for Tiff objects controls YCbCr/RGB conversion when
writing YCbCr images. For more information, see the Tiff reference page.
Page view 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 715 716

Comments to this Manuals

No comments