diff options
Diffstat (limited to 'src/itrans-stat.c')
-rw-r--r-- | src/itrans-stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itrans-stat.c b/src/itrans-stat.c index 6d64a08..f0677d4 100644 --- a/src/itrans-stat.c +++ b/src/itrans-stat.c @@ -29,7 +29,7 @@ * can be done as matrices to save effort * Renormalises matrix to 0->1 */ -static gsl_matrix *itrans_peaksearch_stat_createImageMatrix(int16_t *image, int width, int height) { +static gsl_matrix *itrans_peaksearch_stat_createImageMatrix(uint16_t *image, int width, int height) { gsl_matrix *raw; int i, j; @@ -496,7 +496,7 @@ unsigned int itrans_peaksearch_stat(ImageRecord imagerecord, ControlContext *ctx int i; double px,py; double tilt_degrees = imagerecord.tilt; - int16_t *image = imagerecord.image; + uint16_t *image = imagerecord.image; m = itrans_peaksearch_stat_createImageMatrix(image, imagerecord.width, imagerecord.height); p = itrans_peaksearch_stat_iterate(m, &n_reflections); |