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

temporary fix to isValidDisparity (TODO)

parent 19091852
No related branches found
No related tags found
1 merge request!96Feature/of smoothing
Pipeline #12948 failed
......@@ -9,7 +9,7 @@ using cv::Size;
using std::vector;
template<typename T> static bool inline isValidDisparity(T d) { return true; }
template<typename T> static bool inline isValidDisparity(T d) { return (0.0 < d) && (d < 256.0); } // TODO
OFDisparityFilter::OFDisparityFilter(Size size, int n_frames, float threshold) :
n_(0), n_max_(n_frames), threshold_(threshold), size_(size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment