From 25d17e90208122547fdc7b7bb1c3ffa719756b01 Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Thu, 27 Jun 2019 09:28:33 +0300 Subject: [PATCH] Use master branch version of fixstars_sgm.cpp --- components/rgbd-sources/src/algorithms/fixstars_sgm.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp index 4049d16df..73d853e9c 100644 --- a/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp +++ b/components/rgbd-sources/src/algorithms/fixstars_sgm.cpp @@ -27,15 +27,6 @@ void FixstarsSGM::compute(const cv::cuda::GpuMat &l, const cv::cuda::GpuMat &r, ssgm_ = new sgm::StereoSGM(l.cols, l.rows, max_disp_, 8, 16, lbw_.step, dispt_.step / sizeof(short), sgm::EXECUTE_INOUT_CUDA2CUDA, sgm::StereoSGM::Parameters(10, 120, uniqueness_, true)); } - if (false) { - int T_h = value("T_h", 40); - int T_add = value("T_add", 30); - int T_del = value("T_del", 40); - float alpha = value("alpha", 0.5); - float beta = value("beta", 1.5); - float epsilon = value("epsilon", 1.0); - //seg_ = new ftl::CBSegmentation(l.cols, l.rows, 5, alpha, beta, epsilon, 0.0, T_add, T_del, T_h); - } //auto start = std::chrono::high_resolution_clock::now(); ssgm_->execute(lbw_.data, rbw_.data, dispt_.data); -- GitLab