From 33a3cc28c6c96bc2826ac33a31a58fb88f545043 Mon Sep 17 00:00:00 2001 From: David Hilvert Date: Wed, 3 Jun 2009 19:51:46 +0000 Subject: [PATCH] d2/align, d2/image_rw: updates for ale_image Libale type. --- d2/align.h | 4 ++-- d2/image_rw.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/d2/align.h b/d2/align.h index 219ebe8..df2c5de 100644 --- a/d2/align.h +++ b/d2/align.h @@ -2432,8 +2432,8 @@ public: if (wmx_file == NULL || wmx_exec == NULL || wmx_defs == NULL) return; - unsigned int rows = reference_image->height(); - unsigned int cols = reference_image->width(); + unsigned int rows = ale_image_get_height(reference_image); + unsigned int cols = ale_image_get_width(reference_image); image_rw::write_image(wmx_file, reference_image); image_rw::write_image(wmx_defs, reference_defined, exp_bool); diff --git a/d2/image_rw.h b/d2/image_rw.h index f997db7..b972a02 100644 --- a/d2/image_rw.h +++ b/d2/image_rw.h @@ -352,7 +352,7 @@ public: /* * Write an image to a file */ - static void write_image(const char *filename, const image *im, exposure *exp = output_exposure, int rezero = 0, int exp_scale_override = 0) { + static void write_image(const char *filename, ale_image im, exposure *exp = output_exposure, int rezero = 0, int exp_scale_override = 0) { static int warned = 0; /* -- 2.11.4.GIT