CogIPOneImagePixelMap GetMap Method Cognex VisionPro 9.22 SR1
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.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 87.1.0.0
Syntax

public byte[] GetMap()

Return Value

Type:  Byte 
Remarks

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