User`s guide

Basic Image Acquisition Procedure
The follow ing figure show s how the exam ple di splays detected m otion. In the
figure, areas representing movement are displayed.
Figure Windo w 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 B
ytes Class
data 4-D 30
72000 uint8 array
dev_info 1x
1 1601 struct array
info 1x1 24
67 struct array
vid 1x1 1138
videoinput object
vid_src 1x1
726 videosource obj ect
Theheightandwidthofthearrayareprimarilydeterminedbythevideo
resolution of the video format. H ow ev er, y ou can use the
ROIPosition
property to specify v alues that supersede the video resolution . Devices
typically express video resolution as column-by-row; MATLAB expresses
matrix dimensions as row-by-column.
1-19