diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-03-17 21:47:58 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-03-17 21:47:58 +0100 |
commit | 759799defe3e388bc9ec7255c79895138194e4fa (patch) | |
tree | 384c9b18c6469869e38c6cf2c42926932bde569a /src/Stitch.cxx | |
parent | 40b830740a3670625b58ab2c64d4093e7b1d95d7 (diff) |
show sample points in separate window
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r-- | src/Stitch.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx index db5d396..7ed97a0 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -107,7 +107,7 @@ Stitch::vignette_calib(GipfelWidget::sample_mode_t m, int merged_pixel_set; double radius = (double) w / (view_end -view_start); - int max_samples = 10000 * 3, n_samples = 0; + int max_samples = 20000 * 3, n_samples = 0; int ret; int n_vars = 2 + num_pics * 3 ; gsl_matrix *X, *cov; @@ -173,9 +173,9 @@ Stitch::vignette_calib(GipfelWidget::sample_mode_t m, c2[0] > MAX_VALUE * 0.1 && c2[1] > MAX_VALUE * 0.1 && c2[2] > MAX_VALUE * 0.1 && - fabs(c1d[1] / c1d[0] - c2d[1] / c2d[0]) < 0.02 && - fabs(c1d[1] / c1d[2] - c2d[1] / c2d[2]) < 0.02 && - fabs(c1d[2] / c1d[0] - c2d[2] / c2d[0]) < 0.02 ) { + fabs(c1d[1] / c1d[0] - c2d[1] / c2d[0]) < 0.05 && + fabs(c1d[1] / c1d[2] - c2d[1] / c2d[2]) < 0.05 && + fabs(c1d[2] / c1d[0] - c2d[2] / c2d[0]) < 0.05 ) { for (int l = 0; l<3; l++) { gsl_vector_set(wv, n_samples, 1.0); |