Various improvment to Retinex (label, double, maxchro...)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user