merge with dev

This commit is contained in:
U-PC-BUREAU\jacques
2018-11-01 08:37:28 +01:00
75 changed files with 1248 additions and 378 deletions

View File

@@ -206,6 +206,10 @@ public:
return r * 0.2126729 + g * 0.7151521 + b * 0.0721750;
}
static float rgbLuminance(float r, float g, float b, const double workingspace[3][3])
{
return r * workingspace[1][0] + g * workingspace[1][1] + b * workingspace[1][2];
}
/**
* @brief Convert red/green/blue to L*a*b