From 531f63278ea46dcf7ab9f5af2109fa3b4c27e938 Mon Sep 17 00:00:00 2001 From: srit Date: Fri, 4 Mar 2011 10:39:32 +0000 Subject: [PATCH] Don't feel the buffer in GenerateOutputInformation which can be called again after update... --- itk/clitkResampleImageWithOptionsFilter.txx | 1 - 1 file changed, 1 deletion(-) diff --git a/itk/clitkResampleImageWithOptionsFilter.txx b/itk/clitkResampleImageWithOptionsFilter.txx index 0807fc0..df38d0e 100644 --- a/itk/clitkResampleImageWithOptionsFilter.txx +++ b/itk/clitkResampleImageWithOptionsFilter.txx @@ -157,7 +157,6 @@ GenerateOutputInformation() outputImage->CopyInformation(input); outputImage->SetLargestPossibleRegion(m_OutputRegion); outputImage->SetSpacing(m_OutputSpacing); - outputImage->FillBuffer(GetDefaultPixelValue()); // Init Gaussian sigma if (m_GaussianSigma[0] != -1) { // Gaussian filter set by user -- 2.47.1