diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-09-30 17:55:17 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:00 +0100 |
commit | b493440b312b1d08b3f70277fe9b78ce33a8e033 (patch) | |
tree | 7a4aa4f0ba8dd423c433cfdeafdeeca4061e1107 /src/detector.h | |
parent | 8679d7a1977239c98b0f296e9d5b71eb08e4434b (diff) |
pattern_sim: Get image size from detector geometry
Diffstat (limited to 'src/detector.h')
-rw-r--r-- | src/detector.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |