first version of new shadows/highlights tool
This commit is contained in:
@@ -884,17 +884,17 @@ private:
|
||||
// update blurmap
|
||||
SHMap* shmap = nullptr;
|
||||
|
||||
if (params.sh.enabled) {
|
||||
shmap = new SHMap (fw, fh, true);
|
||||
double radius = sqrt (double (fw * fw + fh * fh)) / 2.0;
|
||||
double shradius = params.sh.radius;
|
||||
// if (params.sh.enabled) {
|
||||
// shmap = new SHMap (fw, fh, true);
|
||||
// double radius = sqrt (double (fw * fw + fh * fh)) / 2.0;
|
||||
// double shradius = params.sh.radius;
|
||||
|
||||
if (!params.sh.hq) {
|
||||
shradius *= radius / 1800.0;
|
||||
}
|
||||
// if (!params.sh.hq) {
|
||||
// shradius *= radius / 1800.0;
|
||||
// }
|
||||
|
||||
shmap->update (baseImg, shradius, ipf.lumimul, params.sh.hq, 1);
|
||||
}
|
||||
// shmap->update (baseImg, shradius, ipf.lumimul, params.sh.hq, 1);
|
||||
// }
|
||||
|
||||
// RGB processing
|
||||
|
||||
|
Reference in New Issue
Block a user