Function caerFrameEventGetPixelUnsafe

Function Documentation

static inline uint16_t caerFrameEventGetPixelUnsafe(caerFrameEventConst event, int32_t xAddress, int32_t yAddress)

Get the pixel value at the specified (X, Y) address. No checks on (X, Y) are performed! 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 (unchecked).

  • yAddress – Y address value (unchecked).

Returns:

pixel value (normalized to 16 bit depth).