diff options
Diffstat (limited to 'src/process')
-rw-r--r-- | src/process/im_arithmetic_bin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process/im_arithmetic_bin.cpp b/src/process/im_arithmetic_bin.cpp index a22e8cc..890b43b 100644 --- a/src/process/im_arithmetic_bin.cpp +++ b/src/process/im_arithmetic_bin.cpp @@ -2,7 +2,7 @@ * \brief Binary Arithmetic Operations * * See Copyright Notice in im_lib.h - * $Id: im_arithmetic_bin.cpp,v 1.4 2011/04/05 02:35:10 scuri Exp $ + * $Id: im_arithmetic_bin.cpp,v 1.5 2011/04/12 14:49:19 scuri Exp $ */ @@ -586,12 +586,12 @@ void imProcessMultipleMean(const imImage** src_image_list, int src_image_count, if (image1->data_type == IM_BYTE) data_type = IM_USHORT; - imImage *acum_image = imImageCreate(image1->width, image1->height, image1->color_space, data_type); + imImage *acum_image = imImageCreateBased(image1, -1, -1, -1, data_type); if (!acum_image) return; if (image1->data_type == IM_BYTE) - aux_image = imImageCreate(image1->width, image1->height, image1->color_space, data_type); + aux_image = imImageCreateBased(image1, -1, -1, -1, data_type); for(int i = 0; i < src_image_count; i++) { |