Backed out changeset: 159f9e7014f8
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
// columns of the matrix p=xyz_rgb are RGB tristimulus primaries in XYZ
|
||||
// c is the color fixed on the boundary; and m=0 for c=0, m=1 for c=255
|
||||
|
||||
void ImProcFunctions::gamutmap(float &X, float &Y, float &Z, const double p[3][3]) const
|
||||
void ImProcFunctions::gamutmap(float &X, float &Y, float &Z, const double p[3][3])
|
||||
{
|
||||
float u = 4*X/(X+15*Y+3*Z)-u0;
|
||||
float v = 9*Y/(X+15*Y+3*Z)-v0;
|
||||
|
Reference in New Issue
Block a user