Gets or sets the image that will be used to train this PMRedLine
pattern. Pattern features will be found and trained only from portions
of the image within the train region.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 69.0.0.0
Syntax
Property Value
Type: ICogImageThe train image. Default value is null.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
Remarks
If you change this value on a trained pattern object, the pattern will become untrained.
You can restrict what portions of the training image are trained by PMRedLine. There are two restriction methods you can use:
- You can exclude one contiguous area of the image using the TrainRegion.
- You can exclude multiple non-contiguous areas using the TrainImageMask.
See Also