]> Creatis software - clitk.git/commitdiff
Back to the correct version... I think I am right...
authorBenoît Presles <benoit.presles@creatis.insa-lyon.fr>
Fri, 17 Jan 2014 18:04:09 +0000 (19:04 +0100)
committerBenoît Presles <benoit.presles@creatis.insa-lyon.fr>
Fri, 17 Jan 2014 18:04:09 +0000 (19:04 +0100)
itk/clitkResampleImageWithOptionsFilter.txx

index 9239afc4b5879f912a276424e9277db00868a320..e009e38ccd1a292ffcfc116227d8a6950dbf539d 100644 (file)
@@ -240,7 +240,7 @@ GenerateData()
   filter->SetTransform(m_Transform);
   filter->SetSize(m_OutputSize);
   filter->SetOutputSpacing(m_OutputSpacing);
-  filter->SetOutputOrigin(origin);
+  filter->SetOutputOrigin(m_OutputOrigin);
   filter->SetDefaultPixelValue(m_DefaultPixelValue);
   filter->SetNumberOfThreads(this->GetNumberOfThreads());
   filter->SetOutputDirection(m_OutputDirection); // <-- NEEDED if we want to keep orientation (in case of PermutAxes for example)