CogAcqRangeImage XScale Property Cognex VisionPro 9.7
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.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

public virtual double XScale { get; set; }

Property Value

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

Implements

ICogAcqRangeImage XScale
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