ClassifyPattern Region Property Cognex VisionPro 9.24
Get

Gets the rectangular region indicating the portion of the images that will be used for classification. A null Region indicates that the entire image will be used for classification.

Set

Sets Region.

Namespace: Cognex.Vision.ViDiEL
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.24.0.0
Syntax

public IRegion Region { get; set; }

Property Value

Type: IRegion
Default Value: null
Remarks

  • The region, if needed, must be specified as the first step in configuring the pattern.
  • The region is used in subsampling when an image is added to the Images collection.
  • Any changes to the region size will cause the Images collection to be cleared, as well as the pattern to become untrained.

Remarks

Changed Raised when the value of this property changes. The following state flags may be affected:

See Also