// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
+printf("\n\n EED InversCrop::Process Start \n" );
+
if (bbGetInputActive()==true)
{
if ( (bbGetInputImageFix()!=NULL) && (bbGetInputImageMove()!=NULL) )
#endif
dim[0]= ext[1]-ext[0]+1;
dim[1]= ext[3]-ext[2]+1;
- dim[2]= ext[5]-ext[4]+1;
+ dim[2] = 1;
+ if (bbGetInputImageFix()->GetDataDimension()==3)
+ {
+ dim[2] = ext[5]-ext[4]+1;
+ }
+
+printf("EED InversCrop::Process 1 %d\n", bbGetInputImageFix()->GetDataDimension() );
+printf("EED InversCrop::Process 2 %d %d %d \n",dim[0],dim[1],dim[2] );
if (bbGetInputType()==0)
{
#endif
int dimMoveX = ext[1]-ext[0]+1;
int dimMoveY = ext[3]-ext[2]+1;
- int dimMoveZ = ext[5]-ext[4]+1;
+ int dimMoveZ = 1;
+ if (bbGetInputImageMove()->GetDataDimension()==3)
+ {
+ dimMoveZ = ext[5]-ext[4]+1;
+ }
+
+
+ printf("EED InversCrop::Process 3 %d %d %d \n",dimMoveX,dimMoveY,dimMoveZ );
+
+
+
int spxM = 0; // start px MoveImage
int sizeXM = 0; // sizeX MoveImage
px = bbGetInputOrigin()[0];
bbSetOutputOut(_imageoutput);
} // if Active
+printf("EED InversCrop::Process End \n" );
}