aboutsummaryrefslogtreecommitdiff
path: root/src/calibrate_detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-07 11:13:09 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:56 +0100
commitfbb24f228ef9a59db897829d08396872f6435131 (patch)
treea22b9487d843cf1c06bfac639bcbb5affcaaadb4 /src/calibrate_detector.c
parent58149b59cd8d1ec119b4c99a9923c52be982ab75 (diff)
indexamajig: Get peak threshold on command line
Diffstat (limited to 'src/calibrate_detector.c')
-rw-r--r--src/calibrate_detector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c
index 0759ff6b..e5945015 100644
--- a/src/calibrate_detector.c
+++ b/src/calibrate_detector.c
@@ -103,7 +103,8 @@ static void sum_peaks(struct image *image, double *sum)
int w = image->width;
const int lim = INTEGRATION_RADIUS * INTEGRATION_RADIUS;
- search_peaks(image);
+ /* FIXME: Get threshold value from command line */
+ search_peaks(image, 800.0);
for ( i=0; i<image_feature_count(image->features); i++ ) {