]> Creatis software - clitk.git/commitdiff
update buffered region
authordsarrut <dsarrut>
Wed, 8 Sep 2010 14:10:51 +0000 (14:10 +0000)
committerdsarrut <dsarrut>
Wed, 8 Sep 2010 14:10:51 +0000 (14:10 +0000)
itk/clitkResampleImageWithOptionsFilter.txx

index beb85cc28adc45b01e48382c111281ef1ed0fe8c..8e709d8c29dc9f10818d5daffdfffc82dfceeddd 100644 (file)
@@ -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