Patch from issue 1359: "Munsell correction - Lab adjustements" credits: jdesmis

Bundled new features besid the Lab tool enhancement (by jdesmis) :
   - curve to control skin tones in vibrance tool, credits: jdesmis
   - right click over SHCSelector (below the parametric curve) to reset to default values, credits: Hombre
   - colored bars around curves, credits: Hombre
This commit is contained in:
natureh
2012-07-21 00:47:24 +02:00
parent 61f287b364
commit caf53b95a3
75 changed files with 4905 additions and 3336 deletions

View File

@@ -202,12 +202,14 @@ class LCurveParams {
std::vector<double> lcurve;
std::vector<double> acurve;
std::vector<double> bcurve;
std::vector<double> cccurve;
std::vector<double> chcurve;
//std::vector<double> cbgcurve;
int brightness;
int contrast;
int saturation;
bool avoidclip;
bool enable_saturationlimiter;
double saturationlimit;
int chromaticity;
bool avoidcolorshift;
double rstprotection;
bool bwtoning;
};
@@ -273,8 +275,9 @@ class VibranceParams {
bool protectskins;
bool avoidcolorshift;
bool pastsattog;
std::vector<double> skintonescurve;
VibranceParams() : psthreshold(1, 75, false) {};
VibranceParams() : psthreshold(0, 75, false) {};
};
/**