replace type_rgb_16 by type_rgb_flt and change some settings

This commit is contained in:
Desmis
2018-04-30 17:41:04 +02:00
parent 3ebbbdf139
commit 2bfc41fd03
7 changed files with 35 additions and 37 deletions

View File

@@ -892,8 +892,7 @@ private:
int cw = baseImg->getWidth();
int ch = baseImg->getHeight();
// put gamma TRC to 1
Image16* readyImg0 = NULL;
//Imagefloat does not work
Imagefloat* readyImg0 = NULL;
double ga0, ga1, ga2, ga3, ga4, ga5, ga6;
int mul = -5;
double gga = 2.4, ssl = 12.92;
@@ -911,7 +910,7 @@ private:
delete readyImg0;
//adjust TRC
Image16* readyImg = NULL;
Imagefloat* readyImg = NULL;
gga = params.icm.gamm, ssl = params.icm.slop;
mul = 5;
readyImg = ipf.workingtrc(baseImg, cw, ch, mul, params.icm.working, gga, ssl, ga0, ga1, ga2, ga3, ga4, ga5, ga6);