Gets the width (in pixels) of the trained pattern. This is the same as the width of the images returned by GetTrainedPatternImage, GetTrainedPatternImageMask, & TrainedEdgeImage.
Namespace: Cognex.VisionPro.CNLSearchAssembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 91.0.0.0
Syntax
Property Value
Type: Int32Exceptions
| Exception | Condition |
|---|---|
| CogOperatorNotTrainedException | This pattern has not been trained. |
Remarks
Gets the width (in pixels) of the trained pattern. This is the as same width of the images returned by GetTrainedPatternImage , GetTrainedPatternImageMask , and TrainedEdgeImage.
See Also