Precompute internal data for the pattern. Cognex internal use only.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 69.0.0.0
Syntax
Parameters
- inputImage
- Type: Cognex.VisionPro ICogImage
A typical input image. Must be of type CogImage8Grey.
- region
- Type: Cognex.VisionPro ICogRegion
An optional region of interest.
- runParams
- Type: Cognex.VisionPro.PMRedLine CogPMRedLineRunParams
The parameters that specify how to run this PMRedLine search.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | inputImage is null. |
| ArgumentNullException | runParams is null. |
| CogImageNoPixelsException | inputImage has no allocated pixels. |
| CogImageBadTypeException | inputImage is not a CogImage8Grey. |
| CogOperatorNotTrainedException | This pattern operator is not trained. |
See Also