CogImage8Grey GetPixel Method Cognex VisionPro 9.5
Pixel value at given location.

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

public byte GetPixel(
	int x,
	int y
)

Return Value

Type: Byte
Exceptions

ExceptionCondition
CogImageNoPixelsException

Allocate(Int32, Int32) has not yet been called.

Remarks

Returns the pixel value at given location.

See Also