]> Creatis software - clitk.git/commitdiff
- correct images types
authordsarrut <dsarrut>
Wed, 19 May 2010 06:33:08 +0000 (06:33 +0000)
committerdsarrut <dsarrut>
Wed, 19 May 2010 06:33:08 +0000 (06:33 +0000)
filters/clitkResampleImageGenericFilter.txx

index b19f5c9f0c953716850fcfe0605d9f91f74ebdef..3b57f76e38f411772e794c5b9815bc0819f03265 100644 (file)
@@ -27,7 +27,7 @@ template<class args_info_type>
 clitk::ResampleImageGenericFilter<args_info_type>::ResampleImageGenericFilter():
   ImageToImageGenericFilter<Self>("Resample") 
 {
-  // InitializeImageType<2>();
+  InitializeImageType<2>();
   InitializeImageType<3>();
   InitializeImageType<4>();
 }
@@ -39,8 +39,8 @@ template<class args_info_type>
 template<unsigned int Dim>
 void clitk::ResampleImageGenericFilter<args_info_type>::InitializeImageType() 
 {      
-  //ADD_DEFAULT_IMAGE_TYPES(Dim);
-  ADD_IMAGE_TYPE(Dim, short);
+  ADD_DEFAULT_IMAGE_TYPES(Dim);
+  //ADD_IMAGE_TYPE(Dim, short);
 }
 //--------------------------------------------------------------------