]> Creatis software - clitk.git/commitdiff
Don't feel the buffer in GenerateOutputInformation which can be called again after...
authorsrit <srit>
Fri, 4 Mar 2011 10:39:32 +0000 (10:39 +0000)
committersrit <srit>
Fri, 4 Mar 2011 10:39:32 +0000 (10:39 +0000)
itk/clitkResampleImageWithOptionsFilter.txx

index 0807fc0f09418f68423f669570b8fda2b1541865..df38d0e122e9e6958adbff6df52722ac7fc3e322 100644 (file)
@@ -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