CogPMAlignPattern GrainLimitFine Property Cognex VisionPro
Fine granularity limit. User can manually set the grain limit if GrainLimitAutoSelect is false. Valid range is 1.0 to 25.5 inclusive. Coarse must be greater than or equal to fine. Setting fine greater than coarse will also set coarse to the new value.

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

public double GrainLimitFine { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogPMAlignPattern Changed

Fires when the value of this property changes.

The following state flag may be affected:

CogPMAlignPattern Changed

Fires when the value of this property changes. The new value was greater than GrainLimitCoarse so it was set to the new value.

The following state flags may be affected:

    CogPMAlignPattern Changed

    Fires when the value of this property changes and the pattern was untrained. The new value may also have been greater than GrainLimitCoarse, in which case its value was set to the new value.

    The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value less than 1.0 or greater than 25.5.

    Remarks

    Fine granularity limit. You can manually set the grain limit if GrainLimitAutoSelect is False. The valid range is from 1.0 to 25.5.

    The coarse and fine granularity limits represent the largest and smallest feature sizes that PatMax uses to locate patterns in a run-time image. PatMax uses a range of granularity values within the range you specify.

    GrainLimitCoarse must be greater than or equal to GrainLimitFine. Setting GrainLimitCoarse less than GrainLimitFine sets GrainLimitFine to the new GrainLimitCoarse value.

    Note: Changing this property causes this CogPMAlignPattern to become untrained.

    Default Value: 1.0

    See Also