'MODE_SGBM_3WAY' is not a member of 'cv::StereoSGBM'
Dear friends for calculate the volume, I used the stereo_match.cpp file that available in OpenCV3.1.0 (opencv3.1.0 / sampels / cpp/stereo_match.cpp).I wrote the program entries as follows: std::string img1_filename = "/home/farzad/Desktop/mathing/build-matching-Desktop-Debug/left.jpg"; std::string img2_filename = "/home/farzad/Desktop/mathing/build-matching-Desktop-Debug/right.jpg"; std::string intrinsic_filename = "/home/farzad/Desktop/calibration/build-calibration-Desktop-Debug/intrinsics.yml"; std::string extrinsic_filename = "/home/farzad/Desktop/calibration/build-calibration-Desktop-Debug/extrinsics.yml"; std::string disparity_filename = "/home/farzad/Desktop/mathing/build-matching-Desktop-Debug/opencv_storage/disparity.jpg"; std::string point_cloud_filename = "/home/farzad/Desktop/mathing/build-matching-Desktop-Debug/opencv_storage/point_cloud.yml";
But I faced the following error: 'MODE_SGBM_3WAY' is not a member of 'cv::StereoSGBM'
Does anyone know the problem?