aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorYaroslav Gevorkov <yaroslav.gevorkov@desy.de>2018-05-24 10:07:11 +0200
committerThomas White <taw@physics.org>2018-05-24 15:21:18 +0200
commit8f99dad3c42ab08d631b1ac02b195b33944c7240 (patch)
treee3e6c533a4babfde64b87d07ac1a44650c21f4a4 /src/process_image.c
parent3f8db4b1884a95f4f52e744cb1639df80208381e (diff)
Add "peakfinder9"
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 4b02e694..be4fa094 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -223,6 +223,19 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
}
break;
+ case PEAK_PEAKFINDER9:
+ if ( search_peaks_peakfinder9(&image,
+ iargs->sig_fac_biggest_pix,
+ iargs->sig_fac_peak_pix,
+ iargs->sig_fac_whole_peak, iargs->min_sig,
+ iargs->min_peak_over_neighbour,
+ iargs->window_radius) )
+ {
+ ERROR("Couldn't get enough memory to perform "
+ "peakFinder9.\n");
+ }
+ break;
+
}
restore_image_data(image.dp, image.det, prefilter);