Why has DisparityWLSFilter been removed from OpenCV 3.0.0?
I've been trying to build on OpenCV 3.0.0 the extra modules sample that uses post filtering to improve the stereo matching depth map, but the support functions such as DisparityWLSFilter generate unresolved errors.
[I later downloaded the contrib release for 3.0.0. but it has disparity_filter.cpp removed] - see https://github.com/Itseez/opencv_cont...
Does anyone know the situation, and what is the best way to build this sample?
Have you download opencv_contrib? I can find it in ximgproc\samples\disparity_filtering.cpp(242)
Yes, but it's not been updated to match OpenCV 3.0.0
What do you mean ? Ican build and run this sample using opencv 3.0-dev with VS2013
The version of contrib for 3.0.0 [I'm using OpenCV 3.0.0], available here https://github.com/Itseez/opencv_cont... no longer has disparity_filter.cpp - all of the related code has been stripped now. Trying to compile into 3.0.0. with the older contrib that does have it generates many errors.
I have got https://github.com/Itseez/opencv_cont...
I have got this
I´ve just checked, and none of the opencv_contrib downloads releases 3.0.0, 3.0.0-rc1 or -beta have the disparity_filter code. Are you using opencv "master" download, off the main page of contribs on GitHub with OpenCV 3.0-dev, unmodified, and disparity_filtering.cpp sample is working?
Okay, you have the master contribs, which does have disparity_filtering sample. Do you have it compiled and working with OpenCV 3.0.0-dev? (Dev is the 3.0-beta download right?)