Function caerFrameEventGetPixelForChannel
Defined in File frame.h
Function Documentation
-
static inline uint16_t caerFrameEventGetPixelForChannel(caerFrameEventConst event, int32_t xAddress, int32_t yAddress, uint8_t channel)
Get the pixel value at the specified (X, Y) address, taking into account the specified channel. (X, Y) and the channel number are checked against the actual possible values for this frame. The (0, 0) pixel is in the upper left corner, like in OpenCV/computer graphics.
- Parameters:
event – a valid FrameEvent pointer. Cannot be NULL.
xAddress – X address value (checked).
yAddress – Y address value (checked).
channel – the channel number (checked).
- Returns:
pixel value (normalized to 16 bit depth).