Ask Your Question

Revision history [back]

First you must use last doc : your link becomes https://docs.opencv.org/master/d3/d14/tutorial_ximgproc_disparity_filtering.html. Why ? because in last documentation C++ and python function are given when you click on a link wls_filter = createDisparityWLSFilter(left_matcher);

If your opencv version is not 3.4 you should update it.

First you must use last doc : your link becomes https://docs.opencv.org/master/d3/d14/tutorial_ximgproc_disparity_filtering.html. Why ? because in last documentation C++ and python function are given when you click on a link

wls_filter = createDisparityWLSFilter(left_matcher);

If your opencv version is not 3.4 you should update it.

First you must use last doc : your link becomes https://docs.opencv.org/master/d3/d14/tutorial_ximgproc_disparity_filtering.html. Why ? because in last documentation C++ and python function are given when you click on a link :

wls_filter = createDisparityWLSFilter(left_matcher);

you will get :

createDisparityWLSFilter() Ptr<disparitywlsfilter> cv::ximgproc::createDisparityWLSFilter ( Ptr< StereoMatcher > matcher_left )
Python: retval = cv.ximgproc.createDisparityWLSFilter( matcher_left )

If your opencv version is not 3.4 you should update it.

First you must use last doc : your link becomes https://docs.opencv.org/master/d3/d14/tutorial_ximgproc_disparity_filtering.html. Why ? because in last documentation C++ and python function are given when you click on a link :

wls_filter = createDisparityWLSFilter(left_matcher);

you will get :

createDisparityWLSFilter() Ptr<disparitywlsfilter> cv::ximgproc::createDisparityWLSFilter ( Ptr< StereoMatcher > matcher_left )
Python: retval = cv.ximgproc.createDisparityWLSFilter( matcher_left )
image description

If your opencv version is not 3.4 you should update it.