diff --git a/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.h b/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.h
index de1cd1434bd2459d72d9aa1bb4aa486a7e89480d..d7d2da9174c774b83f172f147f5c1ebceecc45a6 100644
--- a/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.h
+++ b/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.h
@@ -22,7 +22,7 @@
 #define __otbLabelImageToLabelMapWithAdjacencyFilter_h
 
 #include "itkImageToImageFilter.h"
-#include "itkLabelMap.h"
+#include "otbLabelMapWithAdjacency.h"
 #include "itkLabelObject.h"
 
 namespace otb {
@@ -31,7 +31,7 @@ namespace otb {
  * \brief convert a labeled image to a label map with adjacency information.
  *
  */
-template<class TInputImage, class TOutputImage=itk::LabelMap< itk::LabelObject< typename TInputImage::PixelType, TInputImage::ImageDimension > > >
+template<class TInputImage, class TOutputImage=otb::LabelMapWithAdjacency< itk::LabelObject< typename TInputImage::PixelType, TInputImage::ImageDimension > > >
 class ITK_EXPORT LabelImageToLabelMapWithAdjacencyFilter : 
     public itk::ImageToImageFilter<TInputImage, TOutputImage>
 {