Function caerFrameEventSetPixel

Function Documentation

static inline void caerFrameEventSetPixel(caerFrameEvent event, int32_t xAddress, int32_t yAddress, uint16_t pixelValue)

Set the pixel value at the specified (X, Y) address. (X, Y) are checked against the actual possible values for this frame. Different channels are not taken into account! 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).

  • pixelValue – pixel value (normalized to 16 bit depth).