Small changes to increase precision gamma

This commit is contained in:
U-PC-BUREAU\jacques
2018-11-18 11:02:30 +01:00
parent b13f0b106c
commit dc7f2c0912
3 changed files with 7 additions and 7 deletions

View File

@@ -368,6 +368,7 @@ Imagefloat* ImProcFunctions::lab2rgbOut(LabImage* lab, int cx, int cy, int cw, i
cmsToneCurve* GammaTRC[3];
if(slopetag == 0.) {
//printf("gammatag=%f\n", gammatag);
GammaTRC[0] = GammaTRC[1] = GammaTRC[2] = cmsBuildGamma(NULL, gammatag);
}
else {