Modified Pyramid equalizer to act only on luminance channel, and added a threshold slider to control noise (only local contrast larger than the threshold is amplified).

This commit is contained in:
Emil Martinec
2010-09-27 11:04:25 -05:00
parent 874ed12455
commit d62281b86f
8 changed files with 319 additions and 91 deletions

View File

@@ -449,7 +449,9 @@ void ImProcFunctions::colorCurve (LabImage* lold, LabImage* lnew) {
if (params->dirpyrequalizer.enabled && lab->W>=8 && lab->H>=8) {
dirpyrLab_equalizer(lab, lab, params->dirpyrequalizer.mult);
//dirpyrLab_equalizer(lab, lab, params->dirpyrequalizer.mult);
dirpyr_equalizer(lab->L, lab->L, lab->W, lab->H, params->dirpyrequalizer.mult);
}
}