User`s guide
1 Getting Started
1-20
Figure Window Displayed by Example
Image Data in the MATLAB Workspace
In the example, the getdata function returns the image frames in the variable data as
a 480-by-640-by-1-by-10 array of 8-bit data (uint8).
whos 
 Name Size Bytes Class
 data 4-D 3072000 uint8 array
 dev_info 1x1 1601 struct array
 info 1x1 2467 struct array
 vid 1x1 1138 videoinput object
 vid_src 1x1 726 videosource object
The height and width of the array are primarily determined by the video resolution of
the video format. However, you can use the ROIPosition property to specify values that
supersede the video resolution. Devices typically express video resolution as column-by-
row; MATLAB expresses matrix dimensions as row-by-column.
The third dimension represents the number of color bands in the image. Because the
example data is a grayscale image, the third dimension is 1. For RGB formats, image
frames have three bands: red is the first, green is the second, and blue is the third. The
fourth dimension represents the number of frames that have been acquired from the
video stream.










