aboutsummaryrefslogtreecommitdiff
path: root/src/itrans-threshold.h
blob: 32c3faf2c8ded9bb91b41584b09276ea9d510243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 */