Loading
 
Support Support Home » Vision Libraries » Cognex VisionPro » XIMEA Cognex Demo Application Manual

XIMEA Cognex Demo Application Manual

Basic camera control

  • downsampling : Change image resolution by binning or skipping, type integer, default value 1
  • gain : Camera gain in dB, type float, default value 0
  • width:max : Maximum width of the Image provided by the device (in pixels), type int
  • height:max : Maximum height of the Image provided by the device (in pixels), type int
  • imgdataformat : image data format, type integer, default value 0 (mono8)
    • 0 = mono8
    • 1 = mono16
    • 3 = rgb32
  • gpi_selector : GPI port selection (1-4), type integer, default value 1
  • gpi_mode : Defines GPI functionality, type integer, default value 0
    • 0 = Input off.
    • 1 = Trigger input
    • 2 = External signal input
  • gpo_selector : GPO port selection (1-4), type integer, default value 1
  • gpo_mode : Defines GPO functionality, type integer, default value 0
    • 0 = Output off
    • 1 = Logical level.
    • 2 = High during exposure time + readout time + data transfer time
    • 3 = Low during exposure time + readout time + data transfer time
    • 4 = High during exposure time
    • 5 = Low during exposure time
  • led_selector : Programmable LED selection (1 or 2), type integer, default value 1
  • led_mode : Defines LED functionality, type integer, default value 0
    • 0 = set led to blink if link is ok (led 1), heartbeat (led 2)
    • 1 = set led to blink if trigger detected
    • 2 = set led to blink if external signal detected
    • 3 = set led to blink if data streaming
    • 4 = set led to blink if sensor integration time
    • 5 = set led to blink if device busy/not busy
    • 6 = set led to blink if link is ok
    • 7 = set led to zero
    • 8 = set led to one
  • capture_timeout : time interval required to wait for the image , type integer, default value 1000

h2.Look up table control (applies only on mono8 image data format):

  • LUTEnable : Activate LUT, type boolean, default value 0 (false)
  • LUTIndex : Control the index of the coefficient to access in the LUT, type integer, default value 0
  • LUTValue : Value at entry LUT index of the LUT, type integer, default values (0 - 255)
  • LUT_preset : Select predefined LUT, works only for mono8 and RGB32 image data formats
    • 0 : Ramp LUT
    • 1 : Inverse Ramp LUT

Auto exposure/gain control

  • aeag : Start automatic exposure/gain, type boolean, default value 0 (false)
  • exp_priority : Exposure priority (0.5 - exposure 50%, gain 50%), , type float, default value 0.8
  • ae_max_limit : Maximum limit of exposure in AEAG procedure in microseconds, type integer, default value 1000000
  • ag_max_limit : Maximum limit of gain in AEAG procedure, type float, default value set by camera sensor
  • aeag_level : Average intensity of output signal AEAG should achieve(in %), type float, default value 40

Sensor defects correction

  • bpc : Use correction of sensor defects, type boolean, default value 0 (false)

Color correction control

Applies only for RGB24 and RGB32 image data format.

  • apply_icc : Apply ICC profiles(input Device.icc and DISPLAY.icm), type boolean, default value 0 (false)
  • wb_kr : White balance red coefficient, type float, default value 0, values in range (0 – 0.8)
  • wb_kg : White balance green coefficient, type float, default value 0, values in range (0 – 0.8)
  • wb_kb : White balance blue coefficient, type float, default value 0, values in range (0 – 0.8)
  • manual_wb : Calculates White Balance during image acquisition, type boolean, default value 0 (false)
  • auto_wb : Automatic white balance, type boolean, default value 0 (false)
  • gammaY : Luminosity gamma, type float, default value 0, values in range (0.3 – 1)
  • gammaC : Chromaticity gamma, type float, default value 0, values in range (0.3 – 1)
  • sharpness : Sharpness strenght, type float, default value 0, values in range (-4 – 4)
  • ccMTX00 : Color Correction Matrix element [0][0] , type float, default value 1
  • ccMTX01 : Color Correction Matrix element [0][1] , type float, default value 0
  • ccMTX02 : Color Correction Matrix element [0][2] , type float, default value 0
  • ccMTX03 : Color Correction Matrix element [0][3] , type float, default value 0
  • ccMTX10 : Color Correction Matrix element [1][0] , type float, default value 0
  • ccMTX11 : Color Correction Matrix element [1][1] , type float, default value 1
  • ccMTX12 : Color Correction Matrix element [1][2] , type float, default value 0
  • ccMTX13 : Color Correction Matrix element [1][3] , type float, default value 0
  • ccMTX20 : Color Correction Matrix element [2][0] , type float, default value 0
  • ccMTX21 : Color Correction Matrix element [2][1] , type float, default value 0
  • ccMTX22 : Color Correction Matrix element [2][2] , type float, default value 1
  • ccMTX23 : Color Correction Matrix element [2][3] , type float, default value 0
  • ccMTX30 : Color Correction Matrix element [3][0] , type float, default value 0
  • ccMTX31 : Color Correction Matrix element [3][1] , type float, default value 0
  • ccMTX32 : Color Correction Matrix element [3][2] , type float, default value 1
  • ccMTX33 : Color Correction Matrix element [3][3] , type float, default value 0
  • defccMTX : Set default Color Correction Matrix, type boolean, default value 0 (false)

Cooling control

  • cooling : Start camera cooling.
  • target_temp : Set sensor target temperature for cooling in °C.
  • chip_temp : Camera chip temperature in °C.
  • hous_temp : Camera housing tepmerature in °C.

High dinamic range imaging

Note: This feature is in Alpha Implementation Stage.

  • hdr : Enable High Dynamic Range sensor feature.
  • hdr_ratio : High Dynamic Range ratio (long exposure time / short exposure time, total exposure time = short + long).*Type:* Integer.