CogHistogramTool Region Property Cognex VisionPro 9.22 SR1
Region of interest in the InputImage that is used to operate over. NULL means use entire InputImage. The RegionMode property of the histogram parameters specifies exactly how the region will be used to generate the histogram.

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 87.1.0.0
Syntax

public ICogRegion Region { get; set; }

Property Value

Type: ICogRegion
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

The region of the InputImage for which to generate the histogram. The RegionMode determines how the input region is used to control which pixels are considered and which are ignored. If no region is supplied, the tool generates a histogram for the entire InputImage.

See Also