From fbb24f228ef9a59db897829d08396872f6435131 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 Sep 2010 11:13:09 +0200 Subject: indexamajig: Get peak threshold on command line --- src/calibrate_detector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/calibrate_detector.c') 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; ifeatures); i++ ) { -- cgit v1.2.3