Skip to content
Snippets Groups Projects
Commit e82d4922 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

fix build

parent 5512f805
No related branches found
No related tags found
No related merge requests found
Pipeline #11465 passed
...@@ -44,7 +44,7 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) { ...@@ -44,7 +44,7 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) {
Mat bad_pixels = (disp == (256 << 5)); Mat bad_pixels = (disp == (256 << 5));
disp.setTo(0, bad_pixels); disp.setTo(0, bad_pixels);
Mat left_pixels(cv::Rect(0, 0, max_disp_, disp.rows)); Mat left_pixels(disp, cv::Rect(0, 0, max_disp_, disp.rows));
left_pixels = 0; left_pixels = 0;
if (use_filter_) { if (use_filter_) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment