CogPMRedLinePattern GrainLimitCoarseAutoSelect Property Cognex VisionPro 9.10
Gets or sets whether to automatically recompute the coarse granularity limit during pattern training. If "true", the limit computed during training will overwrite the existing GrainLimitCoarse. Otherwise, it will remain unchanged.

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

public bool GrainLimitCoarseAutoSelect { get; set; }

Property Value

Type: Boolean
"True" if the GrainLimitCoarse is to be recomputed during training. "False" otherwise. Default value is "true".
Events

Remarks

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. The coarse value computed during training will never be smaller than the fine granularity limit.

If you change this value on a trained pattern object, the pattern will become untrained.

See Also