Gets the pixel mask of the input image.
Sets the pixel mask of the input image.
Assembly: Cognex.Vision.SmartLine.Net (in Cognex.Vision.SmartLine.Net.dll) Version: 9.21.1.1
Return Value
Type: Image8GreyThe inspection mask.
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.
Changed Raised when the value of this property changes. The following state flag may be affected: