Enable OpenCV4 compability

This commit is contained in:
JFilipe committed 2019-02-25 18:09:43 +00:00
1 parent b20d5aef49
commit 2eec03b23f
5 files changed
+22 -3

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ private:
bool m_bUseHH;
int m_uiNumberOfDisparities;
unsigned int m_uiBlockSize;
#if( CV_MAJOR_VERSION == 3 )
#if( CV_MAJOR_VERSION >= 3 )
cv::Ptr<cv::StereoSGBM> m_cStereoMatch;
#else
cv::StereoSGBM m_cStereoMatch;