CogTrevista SensorCompensationModifier Property Cognex VisionPro 9.21
Gets or sets the modifier to apply to sensor correction in order to account for distortion from reflectance, sensor position, or other factors (no units, see remarks for details).

Namespace: Cognex.VisionPro.Trevista
Assembly: Cognex.VisionPro.Trevista (in Cognex.VisionPro.Trevista.dll) Version: 83.0.0.0
Syntax

public double SensorCompensationModifier { get; set; }

Property Value

Type: Double
The compensation modifier to apply to the images during processing. Default value is 0.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ObjectDisposedException If the object has been disposed.
Remarks

This property is only applied if the SensorCorrectionEnabled property is set to True.


This property only supports float value type precision. Up to five decimal places (such as 0.00001) will be maintained. Further precision can be assigned but will be lost due truncation.

This property applies to all output images other than the Shading and Greyscale images. Eg. the gradient images and all images derived from those images.

The Sensor Compensation Modifier is an abstracted, relative, value intended for handling scenarios where adjustment is required in the processed images to account for factors such as sensor position or reflectance that are atypical and consequently producing distortion in those images. This value may be positive or negative within a range of -1 to 1.

See Also