labgrid: work on [0,1] values

This commit is contained in:
Alberto Griggio
2018-10-30 21:12:44 +01:00
parent fb44445f2a
commit 74a467fb4e
4 changed files with 30 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ void ImProcFunctions::labColorCorrectionRegions(LabImage *lab)
return;
}
const float factor = ColorToningParams::LABGRID_CORR_MAX * 3.f;
const float factor = 3.f;
const float scaling = 1.f;
int n = params->colorToning.labregions.size();