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