X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkResampleImageWithOptionsFilter.txx;h=7c05dc5b018644848ded74469216017e23b3769a;hb=ec55f1d5b6e32c6e4bc0cfa2e3174706729a156e;hp=beb85cc28adc45b01e48382c111281ef1ed0fe8c;hpb=c6af1ad959db0f78028d4cb11b6eb75f2cadc4ba;p=clitk.git diff --git a/itk/clitkResampleImageWithOptionsFilter.txx b/itk/clitkResampleImageWithOptionsFilter.txx index beb85cc..7c05dc5 100644 --- a/itk/clitkResampleImageWithOptionsFilter.txx +++ b/itk/clitkResampleImageWithOptionsFilter.txx @@ -17,7 +17,7 @@ ======================================================================-====*/ // clitk -#include "clitkCommon.h" +#include "clitkDD.h" // itk include #include "itkImage.h" @@ -189,6 +189,7 @@ GenerateData() static const unsigned int dim = InputImageType::ImageDimension; // Set regions and allocate + //DD(this->GetOutput()->GetLargestPossibleRegion()); //this->GetOutput()->SetRegions(m_OutputRegion); //this->GetOutput()->Allocate(); // this->GetOutput()->FillBuffer(m_DefaultPixelValue); @@ -198,7 +199,7 @@ GenerateData() typename FilterType::Pointer filter = FilterType::New(); filter->GraftOutput(this->GetOutput()); // this->GetOutput()->Print(std::cout); - // this->GetOutput()->SetBufferedRegion(this->GetOutput()->GetLargestPossibleRegion()); + this->GetOutput()->SetBufferedRegion(this->GetOutput()->GetLargestPossibleRegion()); // this->GetOutput()->Print(std::cout); // Print options if needed