MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Podręcznik Użytkownika Strona 115

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 114
Defining Device-Specific Properties
6-3
Device Specific Properties:
Brightness = -10
Contrast = 266
Exposure = 1024
ExposureMode = auto
Hue = 0
Saturation = 340
Sharpness = 40
Suggested Algorithm
When a user calls the videoinput function, the engine calls the
getDeviceAttributes() function to set up any device-specific properties you
have defined for the device. The engine passes several arguments to your adaptor's
getDeviceAttributes() function:
void getDeviceAttributes(const imaqkit::IDeviceInfo* deviceInfo,
const char* acqFormat,
imaqkit::IPropFactory* devicePropFact,
imaqkit::IVideoSourceInfo* sourceContainer,
imaqkit::ITriggerInfo* hwTriggerInfo)
Argument Data Type Description
deviceInfo Handle to a IDeviceInfo
object
Specifies the image acquisition
device
acqformat Text string Specifies the video format or the
path to a device configuration file
devicePropFact Handle to a IPropFactory
object
Provides member functions used
to create properties
sourceContainer Handle to a
IVideoSourceInfo object
Defines the video sources
available with this device,
described in “Identifying Video
Sources” on page 4-9
hwTriggerInfo Handle to a ITriggerInfo
object
Specifies hardware triggers. The
toolbox handles the other two
trigger types (immediate and
manual) automatically.
The algorithm for getDeviceAttributes() typically includes these steps:
Przeglądanie stron 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag