CogPMRedLineZoneAngle Nominal Property Cognex VisionPro 9.8
Gets or sets the nominal angle (in radians) for the angle degree of freedom zone.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 75.1.0.0
Syntax

public double Nominal { get; set; }

Property Value

Type: Double
The nominal angle (in radians). Default value is zero.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Remarks

The nominal angle is only used if the Configuration property is set to Nominal. In this case PMRedLine will only look for pattern instances at the nominal angle that you specify; it will not search at any other angle. If the pattern, at the nominal angle, is a high-scoring match to the runtime image features it may be returned as a result. The reported angle of the result will be exactly the nominal value.

The result angle is measured from the selected space of the InputImage to the coordinate space of the pattern (as defined by the pattern Origin). It can be accessed using the Rotation property of the CogTransform2DLinear returned by the GetPose  method of the CogPMRedLineResult class.

You can specify any value for the nominal angle. The tool always returns angle results in the range -pi to +pi.

See Also