Open royanimal opened 6 years ago
Hi, Are you using OpenCV version 2.x ?
The implementation of StereoSGBM is different in version 2 and 3.
This code needs version 3. So, easy way is update OpenCV version to 3.
Or, If you still want to use version 2, you need to modify the code. For example, this is sample code from OpenCV 2.4. https://github.com/opencv/opencv/blob/2.4/samples/cpp/stereo_match.cpp
Regards,
Thank you so much,I fixed it! The result looks good! Could you tell me how to evaluate the results?I just feel the result is good,but I don't know how good it's.I also want to optimize the result.Can you give me some references? Thanks a lot.
Good luck!
Hi, evaluation of stixel is discussed in several papers. For example,
Ground Truth Stixel Dataset is also available. http://www.6d-vision.com/ground-truth-stixel-dataset
Regards,
i can't complie the code,and there is bug: main.cpp:67:34: error: ‘create’ is not a member of ‘cv::StereoSGBM’ error: ‘MODE_SGBM_3WAY’ is not a member of ‘cv::StereoSGBM’
could you give me some suggestion?Thank you