diff --git a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
index 7b7bf80137aa08e3e34ee6fd547d506ec76e0179..8acec464f82b3a426d0ca905bf9d2cb48de7b8ce 100644
--- a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
+++ b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
@@ -47,9 +47,9 @@ int otbAlignImageToPath( int argc, char * argv[] )
         const char * outputFilename = argv[2];
        
 
-        typedef unsigned char                                   InputPixelType;
-        typedef unsigned char   	                        OutputPixelType;
-	typedef float						RealPixelType;
+        typedef double                                   	InputPixelType;
+        typedef double   	                        	OutputPixelType;
+	typedef double						RealPixelType;
         const   unsigned int        	                        Dimension = 2;
 
         typedef itk::Image< InputPixelType,  Dimension >	InputImageType;