Init new - add GUI and Mip for local vibrance - does nothing

This commit is contained in:
Desmis
2017-07-15 17:50:32 +02:00
parent 4c7287574d
commit b5ddef00ed
18 changed files with 1457 additions and 186 deletions

View File

@@ -447,6 +447,24 @@ void CurveFactory::curveCCLocal (bool & localcutili, const std::vector<double>&
}
void CurveFactory::curveskLocal (bool & localskutili, const std::vector<double>& curvePoints, LUTf & LocalskCurve, int skip)
{
bool needed = false;
std::unique_ptr<DiagonalCurve> dCurve;
if (!curvePoints.empty() && curvePoints[0] != 0) {
dCurve = std::unique_ptr<DiagonalCurve> (new DiagonalCurve (curvePoints, CURVES_MIN_POLY_POINTS / skip));
if (dCurve && !dCurve->isIdentity()) {
needed = true;
localskutili = true;
}
}
fillCurveArray (dCurve.get(), LocalskCurve, skip, needed);
}
void CurveFactory::localLCurve (double br, double contr, /*const std::vector<double>& curvePoints,*/
LUTu & histogram, LUTf & outCurve,