diff --git a/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx b/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
index 50c903aa0fa6241fea82b6464d92ed480fff4f01..d3ae79f6eadf1da03074b29f25399483ddc35521 100644
--- a/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
+++ b/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
@@ -15,10 +15,6 @@
  PURPOSE.  See the above copyright notices for more information.
 
  =========================================================================*/
-#include "otbImage.h"
-#include "otbVectorImage.h"
-#include "otbImageFileReader.h"
-#include "otbImageFileWriter.h"
 
 #include "otbMultiChannelExtractROI.h"
 #include "otbExtractROI.h"
@@ -55,11 +51,6 @@ public:
   typedef ImageType::InternalPixelType      ImagePixelType;
   typedef UInt32ImageType                   LabelImageType;
   typedef LabelImageType::InternalPixelType LabelImagePixelType;
-
-  typedef otb::ImageFileReader<ImageType> ImageReaderType;
-  
-  typedef otb::ImageFileReader<LabelImageType> LabelImageReaderType;
-  typedef otb::ImageFileWriter<LabelImageType> LabelImageWriterType;
   
   typedef otb::MultiChannelExtractROI <ImagePixelType,ImagePixelType > MultiChannelExtractROIFilterType;
   typedef otb::ExtractROI<LabelImagePixelType,LabelImagePixelType> ExtractROIFilterType;