CogIPOneImageGreyMorphology OriginX Property Cognex VisionPro 9.8
X Coordinate of the origin of the structuring element relative to the upper left corner of the structuring element. OriginX is zero-based. The result of a morphological operation is stored at the pixel in the output image corresponding to the origin.

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 75.1.0.0
Syntax

public int OriginX { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogIPOneImageGreyMorphology Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The new value is < 0 or >= Width

Remarks

The x-coordinate of the origin of the structuring element relative to the upper-left corner of the element. OriginX is zero-based.

Default Value: 1

See Also