diff --git a/modules/DisparityStereoSGBM.h b/modules/DisparityStereoSGBM.h index fae9c66..cdd5142 100644 --- a/modules/DisparityStereoSGBM.h +++ b/modules/DisparityStereoSGBM.h @@ -58,7 +58,7 @@ private: #if( CV_MAJOR_VERSION == 3) cv::Ptr m_cStereoMatch; #else - StereoSGBM m_cStereoMatch; + cv::StereoSGBM m_cStereoMatch; #endif public: