CogSearchMaxPattern ZoneScaleX Property Cognex VisionPro 9.20
Gets or sets the zone configuration for the X scale degree of freedom used for training pattern templates. This property is ignored if TrainMode is EvaluateDOFsAtRuntime.

Namespace: Cognex.VisionPro.SearchMax
Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 80.0.0.0
Syntax

public CogSearchMaxZoneScale ZoneScaleX { get; set; }

Property Value

Type: CogSearchMaxZoneScale
The zone configuration for the X scale degree of freedom. Default value is a default constructed CogSearchMaxZoneScale.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfZoneScaleX
  • SfTrained
  • SfGetTrainedPatternImage
  • SfGetTrainedPatternImageMask
Exceptions

ExceptionCondition
ArgumentNullException Thrown when you attempt to set this to NULL.
ObjectDisposedException Thrown if this CogSearchMaxPattern object has already been disposed.
Remarks

An CogSearchMaxZoneScale object describing the X scale degree of freedom.

Specify a value for ZoneScale to specify the uniform scale degree of freedom.

Note Changing this property causes this CogSearchMaxPattern to become untrained.

Note This CogSearchMaxPattern will sink changed events for the CogSearchMaxZoneScale that you supply. Whenever the CogSearchMaxZoneScale changes, this CogSearchMaxPattern will become untrained.

See Also