diff --git a/Testing/Code/BasicFilters/otbLeeFilter.cxx b/Testing/Code/BasicFilters/otbLeeFilter.cxx
index 497b28f6edfca3fcb3c2fff1b146d3b9fc2ed4a0..1332605ee9a7cbefa9582efdf2f1dee655abd02e 100755
--- a/Testing/Code/BasicFilters/otbLeeFilter.cxx
+++ b/Testing/Code/BasicFilters/otbLeeFilter.cxx
@@ -13,14 +13,12 @@
 #pragma warning ( disable : 4786 )
 #endif
 
-#define MAIN
-
 #include "itkExceptionObject.h"
-#include "itkImage.h"
-#include "itkImageFileWriter.h"
 #include <iostream>
 
+#include "otbImage.h"
 #include "otbImageFileReader.h"
+#include "otbImageFileWriter.h"
 #include "otbLeeImageFilter.h"
 
 
@@ -39,11 +37,11 @@ int otbLeeFilter( int argc, char ** argv )
         typedef unsigned char   	                        OutputPixelType;
         const   unsigned int        	                        Dimension = 2;
 
-        typedef itk::Image< InputPixelType,  Dimension >        InputImageType;
-        typedef itk::Image< OutputPixelType, Dimension >        OutputImageType;
+        typedef otb::Image< InputPixelType,  Dimension >        InputImageType;
+        typedef otb::Image< OutputPixelType, Dimension >        OutputImageType;
 
         typedef otb::ImageFileReader< InputImageType  >         ReaderType;
-        typedef itk::ImageFileWriter< OutputImageType >         WriterType;
+        typedef otb::ImageFileWriter< OutputImageType >         WriterType;
 
         typedef otb::LeeImageFilter< InputImageType,OutputImageType >   FilterType;