[opengtl-commits] [585] fix output image size

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 585
Author:   cyrille
Date:     2009-03-06 21:50:29 +0100 (Fri, 06 Mar 2009)

Log Message:
-----------
fix output image size

Modified Paths:
--------------
    trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp


Modified: trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp	2009-03-05 17:54:45 UTC (rev 584)
+++ trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp	2009-03-06 20:50:29 UTC (rev 585)
@@ -239,7 +239,7 @@
         region += p.changed( *it, i, inputDOD );
       }
     }
-    GTLCore::Image image( region.right() - 1, region.bottom() - 1, pixel );
+    GTLCore::Image image( region.right(), region.bottom(), pixel );
     p.evaluatePixeles( GTLCore::Region(region.x() , region.y(), region.width(), region.height()), images, &image );
     if( showAssembly )
     {


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/