This chapter lists the common features of The Imaging Source video capture devices.
The available features depend on the used camera models. For example, monochrome cameras do not provide hue, saturation and white balance.
Also some camera models have an external trigger or GP I/O support.
The plugin provides a so called feature_n feature, that is used to query the available features and execute commands. The following example source shows how to fill two combo boxes with the available features and execute commands. The feature combobox is named cboFeatures, the execute commands combo box is named cboExecutes.
[C#]
ICogImagingDeviceAccess Feature = Camera.OwnedImagingDeviceAccess; String FeatureIndex; String FeatureName = "n/a"; int i = 1; while(FeatureName != "") { FeatureIndex = String.Format("feature_{0}", i); FeatureName = Feature.GetFeature(FeatureIndex); if (FeatureName != "") { cboFeatures.Items.Add(FeatureName); i++; } } String ExecuteIndex; String ExecuteName = "n/a"; i = 1; while (ExecuteName != "") { ExecuteIndex = String.Format("execute_{0}", i); ExecuteName = Feature.GetFeature(ExecuteIndex); if (ExecuteName != "") { cboExecutes.Items.Add(ExecuteName); i++; } }
Property | Description | ||
exposure auto switch | Return and set the exposure automatic. |
||
exposure value abs | Set and get the exposure in seconds. |
||
exposure value abs max | Return the exposure maximum value in seconds. |
||
exposure value abs min | Return the exposure minimum value in seconds. |
||
exposure value range | Set and get the exposure. |
||
exposure value range max | Return the exposure maximum value. |
||
exposure value range min | Return the exposure minimum value. |
||
feature_n | Return the n-th feature. |
||
focus value range | Set and get the focus of a motorized lens. |
||
focus value range max | Return the focus maximum value of a motorized lens. |
||
focus value range min | Return the focus minimum value of a motorized lens. |
||
gain auto switch | Return and set the gain automatic. |
||
gain value range | Set and get the gain. |
||
gain value range max | Return the gain maximum value. |
||
gain value range min | Return the gain minimum value. |
||
gamma value range | Set and get the gamma. |
||
gamma value range max | Return the gamma maximum value. |
||
gamma value range min | Return the gamma minimum value. |
||
gpio gp in range | Get the value of the digital input. |
||
gpio gp in range max | Return the digital input maximum value. |
||
gpio gp in range min | Return the digital input minimum value. |
||
gpio gp out range | Set the value of the digital ouput. |
||
gpio gp out range max | Return the digital output maximum value. |
||
gpio gp out range min | Return the digital output minimum value. |
||
hue value range | Set and get the hue. |
||
hue value range max | Return the hue maximum value. |
||
hue value range min | Return the hue minimum value. |
||
inputchannel | Set a new input channel or return the currently used input channel. |
||
inputchannels | Return a list of available input channels. |
||
iris auto switch | Return and set the iris automatic. |
||
iris value range | Set and get the iris of motorized lenses. |
||
iris value range max | Return the iris maximum value of motorized lenses. |
||
iris value range min | Return the iris minimum value of motorized lenses. |
||
pixelformat | Set a new pixel format or return the current pixel format. |
||
saturation value range | Set and get the saturation. |
||
saturation value range max | Return the saturation maximum value. |
||
saturation value range min | Return the saturation minimum value. |
||
strobe delay range | Set and get the delay of the strobe signal. |
||
strobe delay range max | Return the strobe delay maximum value. |
||
strobe delay range min | Return the strobe delay minimum value. |
||
strobe duration range | Set and get the duration of the strobe signal. |
||
strobe duration range max | Return the strobe duration maximum value. |
||
strobe duration range min | Return the strobe duration minimum value. |
||
strobe enable switch | Get and enable or disable the strobe output. |
||
strobe mode strings | Get and set the strobe mode. |
||
strobe polarity switch | Get and set the polarity strobe output. |
||
trigger enable switch | Get the current external trigger setting, set the external trigger. |
||
trigger mode strings | Get and set current trigger mode. |
||
trigger polarity switch | Get and set current trigger polarity. |
||
videoformat | Set a new video format or return the currently used video format. |
||
videoformats | Return a list of available video formats. |
||
videonorm | Set a new video norm or return the currently used video norm. |
||
videonorms | Return a list of available video norms. |
||
whitebalance auto switch | Return and set the whitebalance automatic. |
||
whitebalance value range | Set and get the whitebalance. |
||
whitebalance value range max | Return the whitebalance maximum value. |
||
whitebalance value range min | Return the whitebalance minimum value. |
||
whitebalance white balance blue value range | Set and get the white balance blue. |
||
whitebalance white balance blue value range max | Return the whitebalance white balance blue maximum value. |
||
whitebalance white balance blue value range min | Return the whitebalance white balance blue minimum value. |
||
whitebalance white balance red value range | Set and get the whitebalance white balance red. |
||
whitebalance white balance red value range max | Return the whitebalance white balance red maximum value. |
||
whitebalance white balance red value range min | Return the whitebalance white balance red minimum value. |
||
zoom value range | Set and get the zoom of motorized lenses. |
||
zoom value range max | Return the zoom maximum value of motorized lenses. |
||
zoom value range min | Return the zoom minimum value of motorized lenses. |
||