Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 83.0.0.0
Property Value
Type: CogPMRedLineZoneConstantsThe configuration of the angle degree of freedom zone. Default value is Nominal.
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is not a member of CogPMRedLineZoneConstants. |
Using the nominal angle value is very different from specifying a tight range of angle values. In the Nominal case the pattern is tried at exactly one angle, and scored at that angle. In the LowHigh case more than one angle is tried and the algorithm iterates to find the best angle. The initial range of angles is given by you (using Low and High), but PMRedLine might discover that the best angle is outside of your initial range, leading to a result that is not accepted.
For example, if you ask PMRedLine to find a pattern instance at a nominal angle of 0.1 radians it might find a runtime instance whose true angle is 0.101 radians. This happens when the pattern at the nominal angle is "close enough" to the runtime features to receive a high score. The reported angle will be exactly 0.1 radians.
If, however, you ask PMRedLine to find a pattern instance within a range of angles between 0.0999 radians and 0.1001 radians, that same runtime instance would not be reported with a angle of 0.101. By default, it won't be reported at all. PMRedLine will iterate to the true angle (of 0.101) and then determine that it falls outside of your desired angle range. The runtime instance will be eliminated unless ReturnAllResults is set to "true".