Lua API: Constants

A list of the CMUcam3 constants exposed in the Camscripter Lua environment.

Camera Resolution Constants

  • CC3_CAMERA_RESOLUTION_LOW - low resolution
  • CC3_CAMERA_RESOLUTION_HIGH - high resolution

Channel of Interest (COI) Constants

  • CC3_CHANNEL_SINGLE - one channel, regardless of image type
  • CC3_CHANNEL_RED - red channel in RGB images
  • CC3_CHANNEL_GREEN - green channel in RGB images
  • CC3_CHANNEL_BLUE - blue channel in RGB images
  • CC3_CHANNEL_Y - Y channel in YCrCb images
  • CC3_CHANNEL_CR - Cr channel in YCrCb images
  • CC3_CHANNEL_CB - Cb channel in YCrCb images
  • CC3_CHANNEL_HUE - Hue channel in HSV images
  • CC3_CHANNEL_SAT - Saturation channel in HSV images
  • CC3_CHANNEL_VAL - Value channel in HSV images
  • CC3_CHANNEL_ALL - All channels

Colorspace Constants