From 18ace785b31de59e5d60eb4507e4e991027ec795 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 17 Mar 2007 21:54:28 +0100 Subject: correct vignetting + color correction case --- src/Stitch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Stitch.cxx') diff --git a/src/Stitch.cxx b/src/Stitch.cxx index 7ed97a0..2ed72fe 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -192,8 +192,8 @@ Stitch::vignette_calib(GipfelWidget::sample_mode_t m, } if (p2 == 0) { // no color correction for first image - gsl_matrix_set(X, n_samples, 0, -c2d[l] * a1 * a1); - gsl_matrix_set(X, n_samples, 1, -c2d[l] * a1 *a1 * a1 * a1); + gsl_matrix_set(X, n_samples, 0, -c2d[l] * a2 * a2); + gsl_matrix_set(X, n_samples, 1, -c2d[l] * a2 *a2 * a2 * a2); gsl_vector_set(yv, n_samples, c2d[l]); } else { gsl_matrix_set(X, n_samples, 0, - c2d[l] * a2 * a2); -- cgit v1.2.3