CogImage16Range GetMaskData Method Cognex VisionPro 9.5
Returns a CogImage8Grey that represents the mask data of this image. This data is commonly referred to as the "visible pixel mask" and is provided as an indication of which pixel values were visible to the camera during acquisition. Any range image pixel that was not visible has an undefined pixel value. The visible pixel mask represents a visible pixel at a given row and column with an 8 bit grey value of 255, and a non-visible pixel with an 8 bit grey value of zero. The CogImage8Root and the two dimensional coordinate space tree of this CogImage8Grey visible pixel mask representation are shared with this range image. Note that the value returned by this method may be null, in which case all pixel values are considered visible.

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

public CogImage8Grey GetMaskData()

Return Value

Type: CogImage8Grey
See Also