CogCNLSearchPattern TrainImageMaskOffsetY Property Cognex VisionPro 9.23
Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in image coordinates of the TrainImage.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 91.0.0.0
Syntax

public int TrainImageMaskOffsetY { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogCNLSearchPattern Changed

Fires when the TrainImageMaskOffsetY is changed, but the change does cause the pattern to become untrained (because it has not been trained yet).

The following state flag may be affected:

CogCNLSearchPattern Changed

Fires when the TrainImageMaskOffsetY is changed and this pattern becomes untrained.

The following state flags may be affected:

Remarks

The Y-offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in pixels.

If these values are changed, the pattern becomes untrained.

Default Value: 0

See Also