CogSearchMaxPattern TrainImageMaskOffsetY Property Cognex VisionPro 9.7
Gets or sets the Y offset value in pixels. The X and 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.SearchMax
Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 73.0.0.0
Syntax

public int TrainImageMaskOffsetY { get; set; }

Property Value

Type: Int32
The Y offset value for the TrainImageMask. Default value is 0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfTrainImageMaskOffsetY
  • SfTrained
  • SfGetTrainedPatternImage
  • SfGetTrainedPatternImageMask
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if this CogSearchMaxPattern object has already been disposed.
Remarks

Note Changing this property causes this CogSearchMaxPattern to become untrained.

See Also