19 Color(uint8_t r, uint8_t g, uint8_t
b, uint8_t a)
26 Color(uint8_t r, uint8_t g, uint8_t
b)
uint8_t getRed() const
Returns the red channel; value is between 0 and 255.
uint8_t getBlue() const
Returns the blue channel; value is between 0 and 255.
Color()
Creates a color object with zero for the red, green, blue, and alpha channels.
uint8_t getGreen() const
Returns the green channel; value is between 0 and 255.
Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
Creates a color from the given red, green, blue, and alpha channel values.
Structure to describe an RGB color.
EIGEN_DEVICE_FUNC const Scalar & b
Color(uint8_t r, uint8_t g, uint8_t b)
Creates a color from the given red, green, and blue values.