ICogAcqRangeImage XScale Property Cognex VisionPro
Reads or sets the dimensions of image pixels in mm in the X direction. Used when generating range images. Defaults to the scaling of sensor pixels at the closest distance from the camera that can be measured. This ensures no information is lost in range images for objects close to the camera, but it increases the width of the range image.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

double XScale { get; set; }

Property Value

Type: Double
The dimensions of image pixels in mm in the X direction.
Events

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

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than XScaleMin or greater than XScaleMax.
See Also