]> Creatis software - bbtk.git/commitdiff
#3467 Bug: InvertCrop Dimension of 2D or 3D
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Sun, 20 Jun 2021 20:31:27 +0000 (22:31 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Sun, 20 Jun 2021 20:31:27 +0000 (22:31 +0200)
kernel/src/bbtkBlackBox.cxx
packages/vtk/src/bbvtkInversCrop.cxx

index 4b000f0e65acf32f76f242175a99c702252436b0..38b018b4a75e95c8ab205da1760d92e95a439ffe 100644 (file)
@@ -748,9 +748,9 @@ namespace bbtk
                           ( (bbBoxProcessModeIsManual()==true)&&(bbLetRecursiveExecuteManualMode==true) ) 
                         )
                        {
-//printf("EED BlackBox::bbRecursiveExecute bbProcess start %s \n", bbGetFullName().c_str() );
+printf("EED BlackBox::bbRecursiveExecute bbProcess start %s \n", bbGetFullName().c_str() );
                                this->bbProcess();              
-//printf("EED BlackBox::bbRecursiveExecute bbProcess end %s \n", bbGetFullName().c_str() );
+printf("EED BlackBox::bbRecursiveExecute bbProcess end %s \n", bbGetFullName().c_str() );
                    } // Manual analysis
                  
 //EED ups                      if ((bbBoxProcessModeIsManual()==true) && (bbLetRecursiveExecuteManualMode==false))
index 8a4bb337ccdb73000ddea1a68143c6d06c1fb42b..03673e6f1b476d88636824cfb70c7591c8a7e17f 100644 (file)
@@ -100,12 +100,15 @@ printf("EED InversCrop::Process 2   %d %d  %d \n",dim[0],dim[1],dim[2]  );
                } 
 
                
-               printf("EED InversCrop::Process 3   %d %d  %d \n",dimMoveX,dimMoveY,dimMoveZ  );
+printf("EED InversCrop::Process 3   %d %d  %d \n",dimMoveX,dimMoveY,dimMoveZ  );
 
                
                
                int spxM                = 0;  // start px MoveImage
                int sizeXM              = 0;  // sizeX MoveImage
+printf("EED InversCrop::Process 3.1   sizeOrigin %d \n", bbGetInputOrigin().size() );
+printf("EED InversCrop::Process 3.1   Origin %d  %d %d\n", bbGetInputOrigin()[0],bbGetInputOrigin()[1],bbGetInputOrigin()[2] );
+
                px                              = bbGetInputOrigin()[0];
                spxM                    = 0;
                if (px<0)