diff --git a/Code/BasicFilters/otbMeanShiftImageFilter2.h b/Code/BasicFilters/otbMeanShiftImageFilter2.h
index 3e9f49ea532be85093171985908a0a6dcd7b4eba..015715a0874d0cc36e3a0b7e15f8e29f38a1ee86 100644
--- a/Code/BasicFilters/otbMeanShiftImageFilter2.h
+++ b/Code/BasicFilters/otbMeanShiftImageFilter2.h
@@ -111,6 +111,9 @@ public:
 
   itkGetConstMacro(SpectralBandwidth, double);
   itkSetMacro(SpectralBandwidth, double);
+  itkGetConstMacro(SpatialBandwidth, double);
+  itkSetMacro(SpatialBandwidth, double);
+
 
   itkGetConstMacro(IterationCount, unsigned int);