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

Fix type to CV_16SC1

parent fdf29e79
No related branches found
No related tags found
2 merge requests!9Feature/bilateralfilter,!8Feature/bilateralfilter
Pipeline #10878 canceled
......@@ -29,7 +29,7 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) {
sgm::StereoSGM::Parameters(10,120,0.95f,true));
}
disp = Mat(cv::Size(l.cols, l.rows), CV_16UC1);
disp = Mat(cv::Size(l.cols, l.rows), CV_16SC1);
//auto start = std::chrono::high_resolution_clock::now();
ssgm_->execute(lbw.data, rbw.data, disp.data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment