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

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

public double SearchPointX { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogCNLSearchRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

If SearchPointEnabled is true, then CNLSearch attempts to locate a single pattern instance starting at the point specified by SearchPointX and SearchPointY. The supplied point is in the selected space of InputImage and corresponds to the origin of the pattern.

Unlike non-point search, CNLSearch searches for (and always returns) a single pattern instance. You should make sure that the point location you supply is close to the pattern instance you want to locate.

Default Value: 70.0

See Also