From bb9d7903a5fc28e45ec4f953c764bf73a5fdc075 Mon Sep 17 00:00:00 2001
From: Sebastian Hahta <joseha@utu.fi>
Date: Thu, 13 Jun 2019 16:49:43 +0300
Subject: [PATCH] undo undo

---
 components/rgbd-sources/src/algorithms/fixstars_sgm.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
index fd49ea84d..fc68f24a9 100644
--- a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
+++ b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp
@@ -44,8 +44,8 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) {
 	Mat bad_pixels = (disp == (256 << 5)); 
 	
 	disp.setTo(0, bad_pixels);
-	//Mat left_pixels(disp, cv::Rect(0, 0, max_disp_, disp.rows));
-	//left_pixels = 0;
+	Mat left_pixels(disp, cv::Rect(0, 0, max_disp_, disp.rows));
+	left_pixels = 0;
 
 	if (use_filter_) {
 		cv::cuda::GpuMat l_gpu, disp_gpu, disp_gpu_out;
-- 
GitLab