What are the ximgproc_DisparityWLSFilter.filter() Arguments?
问题 I get a ximgproc_DisparityWLSFilter from cv2.ximgproc.createDisparityWLSFilter(left_matcher) , but I cannot get ximgproc_DisparityWLSFilter.filter() to work. The error I get is OpenCV Error: Assertion failed (!disparity_map_right.empty() && (disparity_map_right.depth() == CV_16S) && (disparity_map_right.channels() == 1)) in cv::ximgproc::DisparityWLSFilterImpl::filter, file ......\opencv_contrib\modules\ximgproc\src\disparity_filters.cpp, line 262 In general, how do I figure out how to use