From: dsarrut Date: Wed, 7 Jul 2010 06:58:54 +0000 (+0000) Subject: correct GetScalarTypeAsITKString X-Git-Tag: v1.2.0~566 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ccf3ed5310ce0983c1335dcfc699e7c3b8267ba4;p=clitk.git correct GetScalarTypeAsITKString --- diff --git a/common/clitkImageToImageGenericFilterBase.cxx b/common/clitkImageToImageGenericFilterBase.cxx index 2d1679f..a685f6d 100644 --- a/common/clitkImageToImageGenericFilterBase.cxx +++ b/common/clitkImageToImageGenericFilterBase.cxx @@ -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 }