CogCNLSearchPattern TrainedEdgeImage Property Cognex VisionPro 9.8 SR1
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.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 75.0.0.0
Syntax

public CogImage8Grey TrainedEdgeImage { get; }

Property Value

Type: CogImage8Grey
Exceptions

ExceptionCondition
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