Raw white point (aka Raw exposure) ported
This commit is contained in:
@@ -713,6 +713,11 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, int rhei
|
||||
if (params.toneCurve.autoexp && aeHistogram)
|
||||
ipf.getAutoExp (aeHistogram, aeHistCompression, logDefGain, params.toneCurve.clip, br, bl);
|
||||
|
||||
// The RAW exposure is not reflected since it's done in preprocessing. If we only have e.g. the chached thumb,
|
||||
// that is already preprocessed. So we simulate the effect here roughly my modifying the exposure accordingly
|
||||
|
||||
if (params.raw.expos!=1) br += (params.raw.expos-1.0);
|
||||
printf("Param raw.exp: %f real %f\n",params.raw.expos,br);
|
||||
LUTf curve1 (65536);
|
||||
LUTf curve2 (65536);
|
||||
LUTf curve (65536);
|
||||
|
Reference in New Issue
Block a user