From 24c5609b3554d6a120dd150540de929192d8c084 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Wed, 8 Sep 2010 14:10:51 +0000 Subject: [PATCH] update buffered region --- itk/clitkResampleImageWithOptionsFilter.txx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itk/clitkResampleImageWithOptionsFilter.txx b/itk/clitkResampleImageWithOptionsFilter.txx index beb85cc..8e709d8 100644 --- a/itk/clitkResampleImageWithOptionsFilter.txx +++ b/itk/clitkResampleImageWithOptionsFilter.txx @@ -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 -- 2.45.1