diff --git a/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h b/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h index 52daf0b5e0d622a4cceec534b1d49cee24fcb7b9..68eded701afb6da66c875e15e1ac8046164c6ef3 100644 --- a/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h +++ b/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h @@ -287,6 +287,18 @@ public: return m_Functor; } + /** Get the functor for parameters setting */ + BlockMatchingFunctorType & GetFunctor() + { + return m_Functor; + } + + /** Get the functor (const version) */ + const BlockMatchingFunctorType & GetFunctor() const + { + return m_Functor; + } + /** Set initial horizontal disparity field (optional, override m_InitHorizontalDisparity) */ void SetHorizontalDisparityInput( const TOutputDisparityImage * hfield); @@ -341,6 +353,9 @@ private: /** Block-matching functor */ BlockMatchingFunctorType m_Functor; + /** Block-matching functor */ + BlockMatchingFunctorType m_Functor; + /** Block-matching functor */ BlockMatchingFunctorType m_Functor;