Get the pixel map array. When an image is mapped, each pixel in the input image is used as an index into the array and replaced by the returned value.
Namespace: Cognex.VisionPro.ImageProcessingAssembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 65.1.0.0
Syntax
Return Value
Type: ByteRemarks
Each pixel value is converted to its corresponding value in the pixel map. The default pixel map is an identity map an (input pixel value of 0 maps to an output value of 0, 1 to 1, and so on).
The value returned by GetMap is a copy of the pixel map. If you make changes to the returned array, and you want them reflected in the pixel map, you must pass the altered array to SetMap .
See Also