Another patch for highlight rolloff. Fixes black spots issue.

This commit is contained in:
Emil Martinec
2010-10-24 08:35:56 -05:00
parent 3f697139a1
commit 373f826dbe
2 changed files with 10 additions and 10 deletions

View File

@@ -735,7 +735,7 @@ void CurveFactory::complexCurve (double ecomp, double black, double hlcompr, dou
float toneslope=(shouldery-toey)/(shoulderx-toex);
if (shoulderx<1) {//a>1; positive EC
//move shoulder down if there is highlight rolloff
shouldery = shouldery-(0.2)*(hlcompr/100.0);
shouldery = shouldery-(0.3)*(hlcompr/100.0);
shoulderx = shoulderx - (1-shouldery)/toneslope;
} else {//a<1; negative EC
//if (shoulderx>1) {