Click or drag to resize
CameraImageGetPixel Method (Int32, Int32)
Returns the value of a single pixel from the image array of a Monochrome sensor.

Namespace: ASCOM.Utilities.Video
Assembly: ASCOM.Utilities.Video (in ASCOM.Utilities.Video.dll) Version: 6.1.0.0 (6.2.0.2774)
Syntax
public int GetPixel(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
The X coordinate of the pixel starting from left.
y
Type: SystemInt32
The Y coordinate of the pixel starting from top.

Return Value

Type: Int32
The value of the specified pixel.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrows this exception if the image array data hasn't been set ot is not corresponding to a Monochrome sensor.
See Also