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

Use master branch version of fixstars_sgm.cpp

parent eb3ac7aa
No related branches found
No related tags found
1 merge request!50CBSegmentation algorithm
Pipeline #11866 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment