User`s guide

Setting Acquisition Parameters in Image Acquisition Tool
3-19
the compressed image. The data is compressed as much as possible, up to the
specified target. This is only available for objects associated with Motion JPEG
2000 files. The default is 10.
Frame Rate is the rate of playback for the video in frames per second. The
default is 30. If your device has a set frame rate, that will be used instead.
Lossless Compression is a Boolean value (logical true or false) only
available for objects associated with Motion JPEG 2000 files. If you select true,
VideoWriter uses reversible mode so that the decompressed data is identical to
the input data, and ignores any specified value for CompressionRatio. The
default is false for the Motion JPEG 2000 profile, and true for the Archival
profile.
MJ2 Bit Depth is the number of least significant bits in the input image data,
from 1 to 16. This is only available for objects associated with Motion JPEG 2000
files. If you do not specify a value, VideoWriter sets the bit depth based on the
input data type. For example, if the input data is an array of uint8 or int8 values,
MJ2BitDepth is 8.
Quality is a number from 0 to 100. Higher quality numbers result in higher
video quality and larger file sizes. Lower quality numbers result in lower video
quality and smaller file sizes. Only available for objects associated with the
Motion JPEG AVI profile. The default is 75.
Colormap is a value that specifies the intensity of red, green, and blue for the
image. Type in a value, such as hsv(128), or the name of one of the built-in
MATLAB colormaps, such as jet or hot. For a list of the built-in colormaps, see
the colormap function in the MATLAB documentation.
6
After setting your profile and options, start your acquisition to log a VideoWriter file
to disk.
Note about bit size of AVI files
AVI files are limited to a bit depth of 8 bits per pixel for each band. If you have higher bit
data, you should not log it to a profile that creates an AVI file because the AVI format is
restricted to 8-bit data. If you log higher bit data to an AVI file, it will be scaled and then
logged as 8-bit data. The Archival and Motion JPEG 2000 profiles do not have this
issue.
Setting Up Triggering