Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 93.1.0.0
Property Value
Type: DoubleThe coarse granularity limit. Default value is two.
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
| ICogChangedEvent Changed | Fires when this property changes and the fine granularity limit is also changed. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is less than one. |
PMRedLine employs a multi-resolution search strategy: the tool will subsample your input image multiple times as it searches for instances of your pattern. The maximum amount of subsampling is specified by the coarse granularity limit. The minimum amount is specified by the fine granularity limit. Neither limit can be less than one.
The coarse granularity limit must be greater than or equal to the fine granularity limit. Setting it to a value smaller than the fine granularity limit also sets the fine limit to the new value.
If GrainLimitCoarseAutoSelect is "true" the coarse granularity limit will be recomputed, and overwritten, whenever the pattern is trained. The computed value will never be smaller than the fine granularity limit.
If you change this value on a trained pattern object, the pattern will become untrained.