Sets the training image, the pose and the enabled properties in one shot.
Namespace: Cognex.VisionPro.PMAlignAssembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 69.0.0.0
Syntax
Parameters
- image
- Type: Cognex.VisionPro ICogImage
n/a
- pose
- Type: Cognex.VisionPro CogTransform2DLinear
n/a
- enabled
- Type: System Boolean
n/a
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The SfImage state flag may be affected. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If the supplied image is null. |
| CogPMAlignImageTypeNotSupported | If the supplied value type is not CogImage8Grey. |
See Also