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

public int TrainedPatternHeight { get; }

Property Value

Type: Int32
Exceptions

ExceptionCondition
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