CogPMRedLinePattern TrainImageMaskOffsetX Property Cognex VisionPro 9.8
Gets or sets the X offset (in pixels) for the train image mask.

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

public int TrainImageMaskOffsetX { get; set; }

Property Value

Type: Int32
The X offset for the train image mask. Measured in pixels. Default value is zero.
Events

Remarks

The train image mask is aligned to the train image using the X and Y offset values. These values measure the offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in the pixel coordinates of the train image.

If you change this value on a trained pattern object, the pattern will become untrained.

See Also