CogCNLSearchRunParams PartialMatchReduceScore Property Cognex VisionPro
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.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Syntax

public bool PartialMatchReduceScore { get; set; }

Property Value

Type: Boolean
Events

Event TypeReason
CogCNLSearchRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

If true, a matched pattern that lies partially outside of the image will receive a reduced score that reflects the fact that only part of the pattern was found. If false, then the pattern instance is scored based on the quality of the matched portion and the missing part of the pattern is ignored.

If this property is true, the pattern instance's Score is equal to its AreaScore times its AreaCoverageScore. If false, then the Score is simply the AreaScore.

See Also