CogBlob InputImageMask Property Cognex VisionPro 9.5
Mask indicating areas of Care (Non-Zero Mask Pixels) and Don't Care (Zero). Don't Care areas are treated as background/holes when performing grey scale connectivity. The mask is aligned to the InputImage using the InputImageMaskOffsetX & Y values.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 69.0.0.0
Syntax

public CogImage8Grey InputImageMask { get; set; }

Property Value

Type: CogImage8Grey
The default is a NULL image.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

A mask CogImage8Grey indicating areas of "Care" and "Don't Care". Pixels with nonzero values are interpreted as "Care" pixels: image pixels that correspond to "Care" pixels in the mask are treated normally. Pixels with zero values are interpreted as "Don't Care" pixels: image pixels that correspond to "Don't Care" pixels in the mask are always treated as background pixels (or assigned a label of 0 if you are using labeled connectivity).

The mask is aligned to the input image using the InputImageMaskOffsetX and InputImageMaskOffsetY functions.

See Also