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

undo previous

parent e82d4922
No related branches found
No related tags found
No related merge requests found
Pipeline #11468 passed
...@@ -44,8 +44,8 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) { ...@@ -44,8 +44,8 @@ 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(disp, 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_) {
cv::cuda::GpuMat l_gpu, disp_gpu, disp_gpu_out; cv::cuda::GpuMat l_gpu, disp_gpu, disp_gpu_out;
......
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