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

Fix hack

parent 59e817b8
No related branches found
No related tags found
No related merge requests found
Pipeline #10815 passed
......@@ -39,6 +39,4 @@ void FixstarsSGM::compute(const cv::Mat &l, const cv::Mat &r, cv::Mat &disp) {
Mat bad_pixels = (disp == (256 << 5));
disp.convertTo(disp, CV_32F, 1.0f/16.0f);
disp.setTo(0, bad_pixels); // decide how bad values should be represented
disp.convertTo(disp, CV_32F, 1.0f/16.0f);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment