CogCNLSearchRunParams PropertiesCognex VisionPro

The CogCNLSearchRunParams type exposes the following members.

Properties

  NameDescription
Public propertyAcceptThreshold
Acceptance threshold on the score of a result. Only instances of the pattern that receive scores greater than or equal to this threshold are accepted. Valid range is from 0 to 1.
Public propertyAccuracy
The accuracy that should be used to perform a CNLSearch inspection. The accuracy specified must be among those for which the CNLSearch pattern object is trained.
Public propertyAlgorithm
The algorithm that should be used to perform a CNLSearch inspection. The algorithm specified must be among those for which the CNLSearch pattern object is trained.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyConfusionThreshold
Confusion threshold is a hint regarding how confusing the search image is likely to be. A high value slows the search but ensures that wrong features are not found. A low value speeds up the search for non-confusing scenes. Must be >= AcceptThreshold.
Public propertyEdgeThresholdHigh
All edges with strengths above the high threshold are included in the run-time edge map. Only applies to NonLinear CNLPAS.
Public propertyEdgeThresholdLow
Edges with strengths below the low threshold are excluded from the run-time edge map. Edges with strengths between low & high (inclusive) are included if 8-connected to an edge already belonging to the edge map. Only applies to NonLinear CNLPAS.
Public propertyEdgeThresholdsUsePattern
If true, the edge thresholds of ICogCNLSearchPattern will be used to generate a run-time edge map. If false, the edge thresholds in this run parameters interface will be used. Edge thresholds only apply to the NonLinear CNLPAS algorithm.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyMaxResults
CNLSearch will return up to the maximum number of results specified by this property.
Public propertyPartialMatchLimitDown
Limit-down specifies how many rows of pixels at the bottom of the pattern may lie outside of the search region and still be found. Ignored if PartialMatchLimitsUsePattern is true. Partial match results are not supported by the CNLPAS algorithms.
Public propertyPartialMatchLimitLeft
Limit-left specifies how many columns of pixels on the left side of the pattern may lie outside of the search region and still be found. Ignored if PartialMatchLimitsUsePattern is true. Partial match results are not supported by the CNLPAS algorithms.
Public propertyPartialMatchLimitRight
Limit-right specifies how many columns of pixels on the right side of the pattern may lie outside of the search region and still be found. Ignored if PartialMatchLimitsUsePattern is true. Partial match results are not supported by the CNLPAS algorithms.
Public propertyPartialMatchLimitsUsePattern
If true, the partial match limits of ICogCNLSearchPattern will be used at run-time. If false, the partial match limits in this run parameters interface will be used. Partial match limits only apply to the Linear Search algorithm.
Public propertyPartialMatchLimitUp
Limit-up specifies how many rows of pixels at the top of the pattern may lie outside of the search region and still be found. Ignored if PartialMatchLimitsUsePattern is true. Partial match results are not supported by the CNLPAS algorithms.
Public propertyPartialMatchReduceScore
If true, a matched pattern that lies partially outside of the image will receive a reduced score. In this case, the Score will be equal to (AreaScore * AreaCoverageScore). Otherwise, the Score is simply the AreaScore.
Public propertySearchPointEnabled
If SearchPointEnabled is true then CNLSearch will search for a single instance of the pattern starting at the point specified by SearchPointX & Y. In this case, the SearchRegion is ignored. Search point is only supported by the Linear search algorithm.
Public propertySearchPointX
CNLSearch will search for a single instance of this pattern starting at the point specified by SearchPointX & Y when SearchPointEnabled is true. This point corresponds to the pattern's origin and is specified in the selected space of the InputImage.
Public propertySearchPointY
CNLSearch will search for a single instance of this pattern starting at the point specified by SearchPointX & Y when SearchPointEnabled is true. This point corresponds to the pattern's origin and is specified in the selected space of the InputImage.
Public propertySearchRegionMode
Mode which specifies how the search region is to be applied to the input image of a CNLSearch inspection.
Public propertyXYOverlap
The maximum allowed percentage (0 to 1,inclusive) of overlap between two pattern instances. If the overlapping area of the two pattern instances is greater than the specified percentage, then the pattern instance with the lower score is discarded.
Top
See Also