CogPatInspectPattern TrainImage Property Cognex VisionPro
Image used to train PatInspect. Additional images may be incorporated into the pattern using the StatisticalTrain method. The TrainRegion is applied to this TrainImage in order to define the region that will be used to train the pattern.

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

public CogImage8Grey TrainImage { get; set; }

Property Value

Type: CogImage8Grey
Events

Event TypeReason
CogPatInspectPattern Changed

Fires when the value of this property changes.

The following state flag may be affected:

CogPatInspectPattern Changed

Fires when the value of this property changes and the pattern was untrained.

The following state flags may be affected:

Remarks

Image used to train PatInspect. Additional images may be incorporated into the pattern using the StatisticalTrain method. The TrainRegion is applied to this TrainImage in order to define the region that will be used to train the pattern.

Default Value: NULL

See Also