User`s guide
Creating Image Acquisition Objects
Creating Image Acquisition Objects
In this section.. .
“Types of Objects” on page 4-9
“Video Input Objects” on page 4-9
“Video Source Objects” on page 4-9
“Creating a Video Input Object” on page 4-10
“Specifying the Video Format” on page 4-12
“Specifying the Selected Video Source Object” on page 4-15
“Getting Information About a Video Input Object” on page 4-16
TypesofObjects
After you get information about your image acquisition hardware, described in
“Getting Hardware Information” on page 4-3, you can establish a connection
to the device by creating a n imag e acquisition object. The toolbox uses two
types of image acquisition objects:
• Video input object
• Video source object
Video Input Objects
A video input object represents the connection between MATLAB and a video
acquisition d evice at a high level. You must create the video input object
using the
videoinput function. See “Creating a Video Input Object” on page
4-10 for more information.
Video Source Objects
When you create a video input object, the toolbox automatically creates one or
more video source objects associated wi t h the v ideo input object. Each video
source object represents a collection of one or more physical data sources that
aretreatedasasingleentity.Thenumber of video source objects t he toolbox
creates depends on the device and the video format you specify.
4-9