Improve local contrast with simple wavelet

This commit is contained in:
Desmis
2019-08-01 10:36:35 +02:00
parent 1a75467794
commit 3105bab29f
17 changed files with 560 additions and 34 deletions

View File

@@ -1229,6 +1229,36 @@ public:
}
};
class LocwavCurve
{
private:
LUTf lutLocwavCurve; // 0xffff range
void Set(const Curve &pCurve);
public:
float sum;
virtual ~LocwavCurve() {};
LocwavCurve();
void Reset();
void Set(const std::vector<double> &curvePoints);
float getSum() const
{
return sum;
}
float operator[](float index) const
{
return lutLocwavCurve[index];
}
operator bool (void) const
{
return lutLocwavCurve;
}
};
class LocretigainCurverab
{
private: