]> Creatis software - clitk.git/blobdiff - tools/clitkImageStatisticsGenericFilter.h
clitkImageStatistics supports multi-channel images
[clitk.git] / tools / clitkImageStatisticsGenericFilter.h
index b61beb89006e941fed751778cb81b8e72ed7f659..6511c0e0a0bcc30114f5606a5cc3a016e5a31dc3 100644 (file)
@@ -72,7 +72,7 @@ namespace clitk
     {
       m_ArgsInfo=a;
       m_Verbose=m_ArgsInfo.verbose_flag;
-      m_InputFileName=m_ArgsInfo.input_arg;
+      m_InputFileName=m_ArgsInfo.input_arg[0];
     }
     
     
@@ -93,8 +93,8 @@ namespace clitk
     //----------------------------------------  
     // Templated members
     //----------------------------------------  
-    template <unsigned int Dimension>  void UpdateWithDim(std::string PixelType);
-    template <unsigned int Dimension, class PixelType>  void UpdateWithDimAndPixelType();
+    template <unsigned int Dimension, unsigned int Components>  void UpdateWithDim(std::string PixelType);
+    template <unsigned int Dimension, class PixelType, unsigned int Components>  void UpdateWithDimAndPixelType();
 
 
     //----------------------------------------