Convert color from RGB to LAB color space.
void RGBToLab(const float r, const float g, const float b, float &L, float &A, float &B);