Image16Grey SetPixel Method Cognex VisionPro 9.22 SR1

Sets the value of the pixel at the given location.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public void SetPixel(
	int x,
	int y,
	ushort value
)
Exceptions

ExceptionCondition
ImageExceptionAllocate has not yet been called.
ImageExceptionx or y is outside the bounds of this image (less than 0, or greater than or equal to width or height)
See Also