Expose linear transform feature of libvips (#1024)

This commit is contained in:
Marcel
2018-02-04 11:36:04 +01:00
committed by Lovell Fuller
parent 73edfb3d2c
commit d599d1f29e
15 changed files with 156 additions and 1 deletions

View File

@@ -79,6 +79,8 @@ struct PipelineBaton {
int threshold;
bool thresholdGrayscale;
int trimTolerance;
double linearA;
double linearB;
double gamma;
bool greyscale;
bool normalise;
@@ -160,6 +162,8 @@ struct PipelineBaton {
threshold(0),
thresholdGrayscale(true),
trimTolerance(0),
linearA(1.0),
linearB(0.0),
gamma(0.0),
greyscale(false),
normalise(false),