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: 3c9121baba46811fe6e53a58a05935662261416d
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.

Implements

ICameraImageGetPixel(Int32, Int32)
Exceptions
ExceptionCondition
InvalidOperationExceptionThrows this exception if the image array data hasn't been set ot is not corresponding to a Monochrome sensor.
See Also