diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-03-15 15:58:00 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-03-15 15:58:00 +0100 |
commit | c7a40505652adc10d29b2049bb4553cf91cec823 (patch) | |
tree | f114e85552b3110cc899e49f2f59e858c0ec8e06 /src/Stitch.cxx | |
parent | 905cd5600e604aa1f9fe256ab3b4d7125695951e (diff) |
make it work with fixed vignetting params
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r-- | src/Stitch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx index dbd0d53..1391fff 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -192,7 +192,7 @@ Stitch::color_calib(GipfelWidget::sample_mode_t m, c2[l]=((uchar)MIN(rint((double) c2[l] * devign), 255)); } - if (fabs(a1-a2) < 0.02 && + if (fabs(a1-a2) < 0.01 && fabs(((double) c1[1]) / ((double) c1[0]) - ((double) c2[1]) / ((double) c2[0])) < 1.0 && fabs(((double) c1[2]) / ((double) c1[0]) - |