]> Creatis software - clitk.git/commitdiff
Make the tool work for all image pixel types
authordsarrut <dsarrut>
Tue, 8 Mar 2011 12:34:53 +0000 (12:34 +0000)
committerdsarrut <dsarrut>
Tue, 8 Mar 2011 12:34:53 +0000 (12:34 +0000)
tools/clitkCropImageGenericFilter.txx

index 8d2a23924f7b36af861ef6129143d8cb32bb7693..b5b80ee97ce08ac3f95534ff79eba6462cb44e20 100755 (executable)
@@ -37,9 +37,9 @@ template<class ArgsInfoType>
 template<unsigned int Dim>
 void clitk::CropImageGenericFilter<ArgsInfoType>::InitializeImageType() 
 {  
-  // ADD_DEFAULT_IMAGE_TYPES(Dim);
-  ADD_IMAGE_TYPE(Dim, uchar);
-  ADD_IMAGE_TYPE(Dim, short);
+  ADD_DEFAULT_IMAGE_TYPES(Dim);
+  //ADD_IMAGE_TYPE(Dim, uchar);
+  //ADD_IMAGE_TYPE(Dim, short);
   // ADD_IMAGE_TYPE(Dim, uint);
   //  ADD_IMAGE_TYPE(Dim, ulong);
   // ADD_IMAGE_TYPE(Dim, int);