From: srit Date: Fri, 4 Mar 2011 10:39:32 +0000 (+0000) Subject: Don't feel the buffer in GenerateOutputInformation which can be called again after... X-Git-Tag: v1.2.0~197 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=531f63278ea46dcf7ab9f5af2109fa3b4c27e938;p=clitk.git Don't feel the buffer in GenerateOutputInformation which can be called again after update... --- 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