diff --git a/src/tools/clut/src/dngproc.h b/src/tools/clut/src/dngproc.h index 8651c42e..19cb889e 100644 --- a/src/tools/clut/src/dngproc.h +++ b/src/tools/clut/src/dngproc.h @@ -292,8 +292,8 @@ dng_profile_fill( } if(illuminant == 2) { // D65 in XYZ (illum E) - p->wb[0] = 0.3127; - p->wb[1] = 0.329; + p->wb[0] = 0.31272; + p->wb[1] = 0.32903; p->wb[2] = 1.0-p->wb[0]-p->wb[1]; } diff --git a/src/tools/clut/src/mkssf.c b/src/tools/clut/src/mkssf.c index 4869bf6d..84ad9e3e 100644 --- a/src/tools/clut/src/mkssf.c +++ b/src/tools/clut/src/mkssf.c @@ -16,10 +16,10 @@ // - cfa model: plain gauss sigmoid pca // - optimiser: gauss/newton adam nelder/mead // - parameter: number of iterations -static int num_it = 30; +static int num_it = 80; static int num_epochs = 6; static int cfa_model = 2; // default to gauss -static int cfa_num_coeff = 20; +static int cfa_num_coeff = 30; static double cfa_param[3*36] = {0.1}; // init to something. zero has zero derivatives and is thus bad. static double ill[2][CIE2_SAMPLES]; // tabulated illuminants for the two target shots