merged 'colortoning-labregions' into 'dev'

This commit is contained in:
Alberto Griggio
2018-11-01 15:18:11 +01:00
18 changed files with 953 additions and 90 deletions

View File

@@ -455,6 +455,22 @@ struct ColorToningParams {
static const double LABGRID_CORR_MAX;
static const double LABGRID_CORR_SCALE;
struct LabCorrectionRegion {
double a;
double b;
double saturation;
double lightness;
std::vector<double> hueMask;
std::vector<double> chromaticityMask;
std::vector<double> lightnessMask;
LabCorrectionRegion();
bool operator==(const LabCorrectionRegion &other) const;
bool operator!=(const LabCorrectionRegion &other) const;
};
std::vector<LabCorrectionRegion> labregions;
int labregionsShowMask;
ColorToningParams();
bool operator ==(const ColorToningParams& other) const;