summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscuri <scuri>2011-04-12 14:49:19 +0000
committerscuri <scuri>2011-04-12 14:49:19 +0000
commit77315310f9f4a4f6991b635e45de4c7db2281110 (patch)
tree898d2775d85e0eab7440af0b3ba7477bd06a43fb
parentee3ab8e6551ed22aeffcbb75d89d0e2af0afc973 (diff)
*** empty log message ***
-rw-r--r--src/process/im_arithmetic_bin.cpp6
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++)
{