Add trim operation to remove "boring" edges (#491 #492)

This commit is contained in:
Kleis Auke Wolthuizen
2016-07-08 23:19:10 +02:00
committed by Lovell Fuller
parent 673d8278b5
commit b69627891d
9 changed files with 136 additions and 6 deletions

View File

@@ -63,6 +63,7 @@ struct PipelineBaton {
double sharpenJagged;
int threshold;
bool thresholdGrayscale;
int trimTolerance;
double gamma;
bool greyscale;
bool normalize;
@@ -127,6 +128,7 @@ struct PipelineBaton {
sharpenJagged(2.0),
threshold(0),
thresholdGrayscale(true),
trimTolerance(0),
gamma(0.0),
greyscale(false),
normalize(false),