replace type_rgb_16 by type_rgb_flt and change some settings
This commit is contained in:
@@ -494,8 +494,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
|
||||
int cw = oprevi->getWidth();
|
||||
int ch = oprevi->getHeight();
|
||||
// put gamma TRC to 1
|
||||
Image16* readyImg0 = NULL;
|
||||
// I used Image16 because 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;
|
||||
@@ -513,7 +512,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
|
||||
|
||||
delete readyImg0;
|
||||
//adjust TRC
|
||||
Image16* readyImg = NULL;
|
||||
Imagefloat* readyImg = NULL;
|
||||
gga = params.icm.gamm, ssl = params.icm.slop;
|
||||
mul = 5;
|
||||
readyImg = ipf.workingtrc(oprevi, cw, ch, mul, params.icm.working, gga, ssl, ga0, ga1, ga2, ga3, ga4, ga5, ga6);
|
||||
|
Reference in New Issue
Block a user