]> Creatis software - clitk.git/blobdiff - tools/clitkInvertVFGenericFilter.h
Invert VF from B-Spline coefficients
[clitk.git] / tools / clitkInvertVFGenericFilter.h
index a3207984487684a769fcab7696af7ee5e7885b1d..cdaf86fcd900e726783a8dafbd933ec3bd7197b5 100644 (file)
 
 //itk include
 #include "itkLightObject.h"
-#include "itkInverseDeformationFieldImageFilter.h"
+#if ITK_VERSION_MAJOR >= 4
+  #include "itkInverseDisplacementFieldImageFilter.h"
+#else
+  #include "itkInverseDeformationFieldImageFilter.h"
+#endif
 
 namespace clitk 
 {
@@ -95,6 +99,7 @@ namespace clitk
     //----------------------------------------  
     template <unsigned int Dimension>  void UpdateWithDim(std::string PixelType);
     template <unsigned int Dimension, class PixelType>  void UpdateWithDimAndPixelType();
+    template<class DisplacementFieldType> typename DisplacementFieldType::Pointer CoeffsToDVF(std::string fileName, std::string likeFileName);
 
 
     //----------------------------------------