cv.DisparityWLSFilter/DisparityWLSFilter - MATLAB File Help |
Factory method to create instance of DisparityWLSFilter
obj = cv.DisparityWLSFilter(matcher_left)
obj = cv.DisparityWLSFilter(use_confidence)
The first variant is a convenience factory method that creates an instance of DisparityWLSFilter and sets up all the relevant filter parameters automatically based on the matcher instance. Currently supports only cv.StereoBM and cv.StereoSGBM.
The second variant is a more generic factory method, that create instance of DisparityWLSFilter and execute basic initialization routines. When using this method you will need to set-up the ROI, matchers and other parameters by yourself.