Lua API: Hằng Số#
A list of the CMUcam3 constants exposed in the Camscripter Lua environment.
Camera Resolution Constants#
CC3_CAMERA_RESOLUTION_LOW-- low resolutionCC3_CAMERA_RESOLUTION_HIGH-- high resolution
Channel of Interest (COI) Constants#
CC3_CHANNEL_SINGLE-- one channel, regardless of image typeCC3_CHANNEL_RED-- red channel in RGB imagesCC3_CHANNEL_GREEN-- green channel in RGB imagesCC3_CHANNEL_BLUE-- blue channel in RGB imagesCC3_CHANNEL_Y-- Y channel in YCrCb imagesCC3_CHANNEL_CR-- Cr channel in YCrCb imagesCC3_CHANNEL_CB-- Cb channel in YCrCb imagesCC3_CHANNEL_HUE-- Hue channel in HSV imagesCC3_CHANNEL_SAT-- Saturation channel in HSV imagesCC3_CHANNEL_VAL-- Value channel in HSV imagesCC3_CHANNEL_ALL-- All channels
Colorspace Constants#
CC3_COLORSPACE_RGB-- The RGB colorspace (red, green, blue) http://en.wikipedia.org/wiki/RGBCC3_COLORSPACE_YCRCB-- The YCrCb colorspace. http://en.wikipedia.org/wiki/YCbCr