Various improvment to Retinex (label, double, maxchro...)

This commit is contained in:
Desmis
2019-05-26 14:00:00 +02:00
parent 83bfdad89e
commit 3ca1fa8719
6 changed files with 43 additions and 28 deletions

View File

@@ -1385,7 +1385,7 @@ void ImProcFunctions::MSRLocal(int sp, int lum, LabImage * bufreti, LabImage * b
delete [] buffer;
delete [] outBuffer;
outBuffer = nullptr;
float str = strength * (chrome == 0 ? 1.f : 0.8f * chrT);
float str = strength * (chrome == 0 ? 1.f : 0.8f * (chrT - 0.4f));
const float maxclip = (chrome == 0 ? 32768.f : 50000.f);
if (scal != 1) {