CogPMRedLinePattern TrainImageMaskOffsetY Property Cognex VisionPro
Gets or sets the Y offset (in pixels) for the train image mask.

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

public int TrainImageMaskOffsetY { get; set; }

Property Value

Type: Int32
The Y 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