aboutsummaryrefslogtreecommitdiff
path: root/src/itrans-threshold.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/itrans-threshold.h')
-rw-r--r--src/itrans-threshold.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/itrans-threshold.h b/src/itrans-threshold.h
new file mode 100644
index 0000000..32c3faf
--- /dev/null
+++ b/src/itrans-threshold.h
@@ -0,0 +1,27 @@
+/*
+ * itrans-threshold.h
+ *
+ * Threshold and adaptive threshold peak searches
+ *
+ * (c) 2007 Thomas White <taw27@cam.ac.uk>
+ *
+ * dtr - Diffraction Tomography Reconstruction
+ *
+ */
+
+#ifndef ITRANS_THRESHOLD_H
+#define ITRANS_THRESHOLD_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdint.h>
+
+#include "control.h"
+#include "imagedisplay.h"
+
+extern unsigned int itrans_peaksearch_threshold(int16_t *image, ControlContext *ctx, double tilt_degrees, ImageDisplay *imagedisplay);
+extern unsigned int itrans_peaksearch_adaptive_threshold(int16_t *image, ControlContext *ctx, double tilt_degrees, ImageDisplay *imagedisplay);
+
+#endif /* ITRANS_THRESHOLD_H */