From 941556dbe66c7f13f0659ebdc139344193eb3e7c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 20 Feb 2011 03:11:29 -0800 Subject: s/min_x/min_fs/ and so on --- src/calibrate_detector.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/calibrate_detector.c') diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c index 78872bad..20503388 100644 --- a/src/calibrate_detector.c +++ b/src/calibrate_detector.c @@ -58,8 +58,8 @@ static void split_image(struct image *image) p = &det->panels[i]; - width = 1 + p->max_x - p->min_x; - height = 1 + p->max_y - p->min_y; + width = 1 + p->max_fs - p->min_fs; + height = 1 + p->max_ss - p->min_ss; data = malloc(width*height*sizeof(float)); snprintf(filename, 1023, "%s-%i.h5", image->filename, i); @@ -71,8 +71,8 @@ static void split_image(struct image *image) int im_x, im_y; - im_x = x+p->min_x; - im_y = y+p->min_y; + im_x = x+p->min_fs; + im_y = y+p->min_ss; data[x+width*y] = image->data[im_x+image->width*im_y]; -- cgit v1.2.3