User`s guide
Working with Image Data in the MATLAB Workspace
3 View the video format and video resolution properties — The toolbox
creates the object with t h e default video format. This format defines the
video resolution.
get(vid,'VideoFormat')
ans =
M_RS170
get(vid,'VideoResolution')
ans =
[640 480]
4 Bring a single frame into the work space —Callthegetsna psho t
function to bring a frame into the workspace.
frame = getsnapshot(v id);
The dimensions of the returned data reflect the image resolution and the
value of the
NumberOfBands property.
vid.NumberOfBands
ans =
1
size(frame)
ans =
480 640
5 Start the image acquisition o bject —Callthestart function to start
the image acquisition object.
start(vid)
The object executes an immediate trigger and begins acquiring frames
of data.
6-15