//===================================================
void ResampleImageFilter::ProcessSwitch()
{
+ printf("EED ResampleImageFilter::ProcessSwitch Start \n");
bbtk::TypeInfo t = bbGetInputIn().type();
BBTK_TEMPLATE_ITK_IMAGE_SWITCH(t, this->Process);
+ printf("EED ResampleImageFilter::ProcessSwitch End \n");
}
//===================================================
template <class T>
void ResampleImageFilter::Process()
{
+ printf("EED ResampleImageFilter::Process Start \n");
bbtkDebugMessageInc("Core",9,
"bbitk::ResampleImageFilter::Process<"
<<bbtk::TypeName<T>()<<">()"<<std::endl);
typedef T ImageType;
+ printf("EED ResampleImageFilter::Process 1 \n");
typedef itk::ResampleImageFilter<ImageType,ImageType> FilterType;
+ printf("EED ResampleImageFilter::Process 2 \n");
typename FilterType::Pointer filter = FilterType::New();
const unsigned int Dimension = ImageType::ImageDimension;
// Input
+ printf("EED ResampleImageFilter::Process 3 \n");
T* in = this->bbGetInputIn().get<T*>();
+ printf("EED ResampleImageFilter::Process 4 \n");
filter->SetInput( in );
+ printf("EED ResampleImageFilter::Process 5 \n");
// Size, Spacing, Origin and DefaultPixelVal
typename ImageType::SizeType size;
mOutput = filter->GetOutput();
bbtkDebugDecTab("Core",9);
+
+ printf("EED ResampleImageFilter::Process End \n");
+
}
//===================================================