diff --git a/Code/DisparityMap/otbPointSetWithTransformToDeformationFieldGenerator.h b/Code/DisparityMap/otbPointSetWithTransformToDeformationFieldGenerator.h
index c98cb16a8193703c0375655edfaa798feda4cc65..fa2b39a321b908ea558155fb179408c1bb0d5047 100644
--- a/Code/DisparityMap/otbPointSetWithTransformToDeformationFieldGenerator.h
+++ b/Code/DisparityMap/otbPointSetWithTransformToDeformationFieldGenerator.h
@@ -57,7 +57,7 @@ class ITK_EXPORT PointSetWithTransformToDeformationFieldGenerator
   typedef typename DeformationFieldType::SizeType SizeType;
   typedef typename DeformationFieldType::SpacingType SpacingType;
   typedef typename DeformationFieldType::PointType PointType;
-  typedef typename DeformationFieldType::ValueType ValueType;
+  typedef typename DeformationFieldType::InternalPixelType ValueType;
 
   /** More typedefs */
   typedef typename Superclass::DistanceVectorType DistanceVectorType;