Break existing sharpen API to accept sigma and improve precision

This commit is contained in:
Lovell Fuller
2016-03-31 22:00:33 +01:00
parent ee21d2991c
commit b7a098fb28
8 changed files with 55 additions and 48 deletions

View File

@@ -51,7 +51,7 @@ struct PipelineBaton {
bool flatten;
bool negate;
double blurSigma;
int sharpenRadius;
double sharpenSigma;
double sharpenFlat;
double sharpenJagged;
int threshold;
@@ -104,7 +104,7 @@ struct PipelineBaton {
flatten(false),
negate(false),
blurSigma(0.0),
sharpenRadius(0),
sharpenSigma(0.0),
sharpenFlat(1.0),
sharpenJagged(2.0),
threshold(0),