CogHistogram InputImageMask Property Cognex VisionPro 9.8
Mask indicating areas of Care (Non-Zero Mask Pixels) and Don't Care (Zero). The mask is aligned to the InputImage using the InputImageMaskOffsetX & Y values.

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

public CogImage8Grey InputImageMask { get; set; }

Property Value

Type: CogImage8Grey
Events

Event TypeReason
CogHistogram Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

A mask that indicates which pixels to consider or ignore when generating the histogram. Non-zero pixels in the mask are Care pixels which will be considered; zero pixels are Don't Care pixels which will be ignored.

The mask is aligned to the InputImage using the InputImageMaskOffsetX and InputImageMaskOffsetY values.

Default Value: Nothing. (No mask image.)

See Also