User`s guide
viii Contents
Connecting to Hardware
5
Getting Hardware Information . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Getting Hardware Information . . . . . . . . . . . . . . . . . . . . . . . 5-2
Determining the Device Adaptor Name . . . . . . . . . . . . . . . . . 5-2
Determining the Device ID . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Determining Supported Video Formats . . . . . . . . . . . . . . . . . 5-5
Creating Image Acquisition Objects . . . . . . . . . . . . . . . . . . . . 5-8
Types of Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Video Input Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Video Source Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Creating a Video Input Object . . . . . . . . . . . . . . . . . . . . . . . 5-9
Specifying the Video Format . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Specifying the Selected Video Source Object . . . . . . . . . . . . 5-13
Getting Information About a Video Input Object . . . . . . . . . 5-14
Configuring Image Acquisition Object Properties . . . . . . . 5-16
About Image Acquisition Object Properties . . . . . . . . . . . . . 5-16
Viewing the Values of Object Properties . . . . . . . . . . . . . . . 5-17
Viewing the Value of a Particular Property . . . . . . . . . . . . . 5-19
Getting Information About Object Properties . . . . . . . . . . . 5-19
Setting the Value of an Object Property . . . . . . . . . . . . . . . 5-20
Starting and Stopping a Video Input Object . . . . . . . . . . . . 5-22
Deleting Image Acquisition Objects . . . . . . . . . . . . . . . . . . . 5-25
Saving Image Acquisition Objects . . . . . . . . . . . . . . . . . . . . . 5-27
Using the save Command . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27
Using the obj2mfile Command . . . . . . . . . . . . . . . . . . . . . . 5-27
Image Acquisition Toolbox Properties . . . . . . . . . . . . . . . . . 5-28
Acquiring Image Data
6
Acquiring Image Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2