CogCNLSearchPattern PartialMatchLimitDown Property Cognex VisionPro
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. Partial match results are not supported by the CNLPAS algorithms.

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

public int PartialMatchLimitDown { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogCNLSearchPattern Changed

Fires when the value of this property is changed, but the change does cause the pattern to become untrained (because it has not been trained yet).

The following state flag may be affected:

CogCNLSearchPattern Changed

Fires when the value of this property is changed and this pattern becomes untrained.

The following state flags may be affected:

Exceptions

ExceptionCondition
ArgumentException

The supplied value is less than zero.

Remarks

Limit-down specifies how many rows of pixels at the bottom of the pattern may lie outside of the search image and still be found. Partial match searching is only supported for the Linear Search algorithm.

The partial match limits that you specify for training are only used during training if you have specified advanced training. Advanced training uses these limits to help train a pattern that will be effective at run time when the pattern is partially outside of the image.

The training-time partial match limits that you specify are used at run time if you specify true for the PartialMatchLimitsUsePattern property.

Default Value: 0

See Also