Train mode constants are used to indicate whether a PMAlign pattern should be trained based on the pixel content of a training image or trained based on a synthetic pattern described by a collection of shape models.
Namespace: Cognex.VisionPro.PMAlignAssembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 65.1.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| Image | 0 | Train the PMAlign pattern based on pixel content of the TrainImage property. | |
| ShapeModelsWithImage | 1 | Train the PMAlign pattern based on a synthetic pattern description provided via the TrainShapeModels property. The selected space of the shapes are resolved using the coordinate space tree of the TrainImage. | |
| ShapeModelsWithTransform | 2 | Train the PMAlign pattern based on a synthetic pattern description provided via the TrainShapeModels property. The space of the shapes are defined by the TrainShapeModelsTransform which is a shape space from pixel space transform. |
Remarks
Train mode constants are used to indicate whether a PMAlign pattern should be trained based on the pixel content of a training image or trained based on a synthetic pattern described by a collection of shape models.
See Also