]> Creatis software - clitk.git/commitdiff
correct GetScalarTypeAsITKString
authordsarrut <dsarrut>
Wed, 7 Jul 2010 06:58:54 +0000 (06:58 +0000)
committerdsarrut <dsarrut>
Wed, 7 Jul 2010 06:58:54 +0000 (06:58 +0000)
common/clitkImageToImageGenericFilterBase.cxx

index 2d1679f748def5299a5c847c757b360bf5557f22..a685f6df4da4add370d13c39b5330255a460e248 100644 (file)
@@ -115,9 +115,9 @@ void clitk::ImageToImageGenericFilterBase::GetInputImageDimensionAndPixelType(un
     dim=dim_temp;
   } else {
     if (m_InputVVImages.size()) {
-      pixeltype=m_InputVVImages[0]->GetScalarTypeAsString();
-      dim=m_InputVVImages[0]->GetNumberOfDimensions();
-      components=m_InputVVImages[0]->GetNumberOfScalarComponents();
+      pixeltype = m_InputVVImages[0]->GetScalarTypeAsITKString();
+      dim = m_InputVVImages[0]->GetNumberOfDimensions();
+      components = m_InputVVImages[0]->GetNumberOfScalarComponents();
     } else
       assert(false); //No input image, shouldn't happen
   }