Cleaner implementation of the gamma array (more C++11)

This commit is contained in:
Hombre
2016-08-31 23:40:27 +02:00
parent 72db91b574
commit d31de41f68
9 changed files with 81 additions and 94 deletions

View File

@@ -1162,7 +1162,7 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
if(params.icm.gamma != "default" || params.icm.freegamma) { // if select gamma output between BT709, sRGB, linear, low, high, 2.2 , 1.8
Color::GammaValues ga;
GammaValues ga;
// if(params.blackwhite.enabled) params.toneCurve.hrenabled=false;
readyImg = ipf.lab2rgb16 (labView, cx, cy, cw, ch, params.icm, bwonly, &ga);
customGamma = true;