]> Creatis software - clitk.git/blobdiff - tools/clitkInvertVFGenericFilter.txx
Remove ITK3 and ITK4.2 tests and dependencies
[clitk.git] / tools / clitkInvertVFGenericFilter.txx
index 812ed0c69db5737b56b0eccc26e68c48dab90f3b..a18a6417c6b0ad26c3efc14225fba5d1c7444153 100644 (file)
@@ -205,11 +205,7 @@ InvertVFGenericFilter<args_info_type>::UpdateWithDimAndPixelType()
 
   case 2: {
     // Create the InverseDeformationFieldFilter
-#if ITK_VERSION_MAJOR >= 4
     typedef itk::InverseDisplacementFieldImageFilter<InputImageType,OutputImageType> FilterType;
-#else
-    typedef itk::InverseDeformationFieldImageFilter<InputImageType,OutputImageType> FilterType;
-#endif
     typename FilterType::Pointer filter =FilterType::New();
     filter->SetInput(input);
     filter->SetOutputOrigin(input->GetOrigin());