From b493440b312b1d08b3f70277fe9b78ce33a8e033 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 30 Sep 2010 17:55:17 +0200 Subject: pattern_sim: Get image size from detector geometry --- src/detector.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/detector.h') diff --git a/src/detector.h b/src/detector.h index 854a765a..f6b26c8c 100644 --- a/src/detector.h +++ b/src/detector.h @@ -38,6 +38,8 @@ struct detector { struct panel *panels; int n_panels; + int max_x; + int max_y; /* Size of overall array needed, minus 1 */ }; extern struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys, -- cgit v1.2.3