Gets an image containing the trained edge pattern. Pixels in the TrainedEdgeImage will be either 255 if the pixel is part of the edge pattern or 0 if the pixel is not part of the edge pattern.
Namespace: Cognex.VisionPro.CNLSearchAssembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 69.0.0.0
Syntax
Property Value
Type: CogImage8GreyExceptions
| Exception | Condition |
|---|---|
| CogOperatorNotTrainedException | This pattern has not been trained. |
| CogCNLSearchNoTrainedEdgeImageException | This pattern was not trained using the NonLinearCNLPASalgorithm (the only algorithm that generates an edge image). |
Remarks
Gets an image containing the trained edge pattern. Pixels in the TrainedEdgeImage will be either 255 if the pixel is part of the edge pattern or 0 if the pixel is not part of the edge pattern.
See Also