add bilateral to local denoise and enhanced GUI

This commit is contained in:
Desmis
2017-12-23 09:34:39 +01:00
parent 42d0f550c9
commit 9713604b12
15 changed files with 422 additions and 38 deletions

View File

@@ -1103,7 +1103,7 @@ private:
}
ifstream fich(datalab, ios::in);
int maxdata = 99; // 91 10021 //88 10019 //87 10018//86 10017//85 10016 //82;//78;//73 10011
int maxdata = 100; //99 10021 // 91 10021 //88 10019 //87 10018//86 10017//85 10016 //82;//78;//73 10011
if (fich && versionmip != 0) {
std::string inser;
@@ -1396,6 +1396,8 @@ private:
dataspots[93][0] = 1;
}
dataspots[94][0] = params.locallab.bilateral;
dataspots[maxdata - 5][0] = 100.f * params.locallab.huerefblur;
dataspots[maxdata - 4][0] = 100.f * params.locallab.hueref;
dataspots[maxdata - 3][0] = params.locallab.chromaref;
@@ -1924,6 +1926,7 @@ private:
params.locallab.expexpose = true;
}
params.locallab.bilateral = dataspots[94][sp];
params.locallab.huerefblur = ((float) dataspots[maxdata - 5][sp]) / 100.f;