exposure before interpolation from branch default

This commit is contained in:
jdc
2011-01-07 07:06:46 +01:00
parent de5b09080e
commit 291a0f5cac
14 changed files with 391 additions and 46 deletions

View File

@@ -950,8 +950,18 @@ void RawImageSource::preprocess (const RAWParams &raw)
plistener->setProgress (0.0);
}
CA_correct_RT(raw.cared, raw.cablue);
CA_correct_RT(raw.cared, raw.cablue);
}
if ( raw.expos !=1 ) { // exposure
if (plistener) {
plistener->setProgressStr ("Exposure Correction...");
plistener->setProgress (0.0);
}
exp_bef(raw.expos, raw.preser);
}
t2.set();
if( settings->verbose )
printf("Preprocessing: %d usec\n", t2.etime(t1));
@@ -3203,6 +3213,8 @@ void RawImageSource::dcb_demosaic(int iterations, int dcb_enhance)
#include "CA_correct_RT.cc"//Emil's CA auto correction
#include "cfa_linedn_RT.cc"//Emil's CA auto correction
#include "green_equil_RT.cc"//Emil's green channel equilibration
#include "expo_before_b.cc"//Jacques's exposure before interpolation
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%