From f7a312058664d5f3e8c5176ba27bb593ae0f1b0d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 1 Oct 2010 18:37:48 +0200 Subject: Don't lose precision when calculating q --- src/detector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/detector.h') diff --git a/src/detector.h b/src/detector.h index f6b26c8c..720b5351 100644 --- a/src/detector.h +++ b/src/detector.h @@ -42,10 +42,10 @@ struct detector int max_y; /* Size of overall array needed, minus 1 */ }; -extern struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys, +extern struct rvec get_q(struct image *image, double xs, double ys, unsigned int sampling, float *ttp, float k); -extern double get_tt(struct image *image, unsigned int xs, unsigned int ys); +extern double get_tt(struct image *image, double xs, double ys); extern void record_image(struct image *image, int do_poisson); -- cgit v1.2.3