aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-10 14:27:49 +0200
committerThomas White <taw@physics.org>2018-06-10 15:36:44 +0200
commitbf626f98ff9d57e9feed52cb38708d4048b685d8 (patch)
treefd10d47bd470ddd63ee160b5624768079a1df479 /src/process_image.c
parent96dcef898b6a2585e8cdb6575d88fdb4251242f2 (diff)
indexamajig: Estimate resolution based on peaks only
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 1d41ae6e..b0a03e46 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -245,6 +245,9 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
}
+ image.peak_resolution = estimate_peak_resolution(image.features,
+ image.lambda);
+
restore_image_data(image.dp, image.det, prefilter);
rn = getcwd(NULL, 0);