Up | Grab | Inspect | GetImageProp | GetImagePropRange | SetImageProp | Image | Camera

 

  

 
SetImageProp
Sets image properties in cameras.

Syntax:

SetImageProp;<image>=<name>;<imageno>=<index>; property=value; <property=value>

Example:

SetImageProp;imageno=1;Shutter=3100

Possible properties :

  • Brightness
  • Exposure
  • Sharpness
  • Contrast
  • Hue
  • Saturation
  • UB
  • VR
  • WhiteBalance
  • Gamma
  • Shutter
  • Gain
  • Iris
  • Focus
  • Temperature
  • Trigger
  • Zoom
  • Pan
  • Tilt
  • Roll
  • OpticalFilter
  • ColorEnable
  • BacklightCompensation.

Note:

  • The property value is given in driver units. Scorpion gets the register value from the camera. 
  • Available properties are given by the camera driver. If a property is not supported, the command fails.  
  • To see the properties supported by your driver/camera, open the camera dialog - press Capabilities to see list of the properties in the console window - more information

Direct Register Access - Requires Unibrain DirectShow driver

SetImageProp;0x<reg>=Value

Custom Scorpion Properties:

  • continous = <0|1>

Example 1: Activating continous Image Capture

To arm a hw-triggered camera the following commands can be placed in the following actions:

BeforeStart # start continous data-aquisition from camera connected to imageno=1

SetImageProp;imageno=1;continous=1

AfterStop # stop continous data-aquisition from camera connected to imageno=1

SetImageProp;imageno=1;continous=0

Note: continous image capture is useful to remove the need to arm the camera in the AfterInspection action. However, make sure there is enough time between trigger signals to process the images else Scorpion may enter an locked gui state - only escape is to terminate / kill scorpion from task manager.

 


Scorpion Vision Version XV  : Build 764 - Date: 20200529
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2020 Tordivel AS.