Add H=f(H) to color and light

This commit is contained in:
Desmis
2017-07-13 07:30:51 +02:00
parent d204369f83
commit 4f7d310eb2
19 changed files with 905 additions and 170 deletions

View File

@@ -48,6 +48,7 @@ class RetinexgaintransmissionCurve;
class LocretigainCurve;
class LocretigainCurverab;
class LocLHCurve;
class LocHHCurve;
enum RenderingIntent {
@@ -937,6 +938,7 @@ public:
std::vector<double> llcurve;
std::vector<double> cccurve;
std::vector<double> LHcurve;
std::vector<double> HHcurve;
double mult[5];
double threshold;
@@ -946,12 +948,13 @@ public:
setDefaults();
}
void setDefaults();
void getCurves (LocretigainCurve &cTgainCurve, LocretigainCurverab &cTgainCurverab, LocLHCurve & lhCurve) const;
void getCurves (LocretigainCurve &cTgainCurve, LocretigainCurverab &cTgainCurverab, LocLHCurve & lhCurve, LocHHCurve & hhCurve, bool &LHutili, bool &HHutili) const;
static void getDefaultLocalgainCurveT (std::vector<double> &curve);
static void getDefaultLocalgainCurveTrab (std::vector<double> &curve);
static void getDefaultLLCurve (std::vector<double> &curve);
static void getDefaultLHCurve (std::vector<double> &curve);
static void getDefaultCCCurve (std::vector<double> &curve);
static void getDefaultHHCurve (std::vector<double> &curve);
};