//itk include
#include "itkLightObject.h"
-#include "itkInverseDeformationFieldImageFilter.h"
+#if ITK_VERSION_MAJOR >= 4
+ #include "itkInverseDisplacementFieldImageFilter.h"
+#else
+ #include "itkInverseDeformationFieldImageFilter.h"
+#endif
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);
//----------------------------------------