LineMaxTool InputImageMask Property Cognex VisionPro 9.25 SR1
Get

Gets the pixel mask of the input image.

Set

Sets the pixel mask of the input image.

Namespace: Cognex.Vision.LineMax
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.25.1.0
Syntax

public Image8Grey InputImageMask { get; set; }

Return Value

Type: Image8Grey

The inspection mask.

Remarks

Use a mask to categorize input image pixels as "Care" or "Don't Care". Mask pixels with values of 255 are defined as "Care" pixels, meaning the corresponding image pixels are processed normally. Pixels with values of 0 are defined as "Don't Care", meaning the corresponding image pixels are not considered. All other pixel values are undefined. Mask pixels are aligned to InputImage pixels using the InputImageMaskOffsetX and InputImageMaskOffsetY values. If the InputImageMask value is null or it is an unallocated Image8Grey then the entire InputImage is processed, subject to the Region property.

Remarks

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

See Also