cuda classes with cv::StereoMatcher interface should work as the other cv::StereoMatcher classes (Bug #4166)
Their compute functions accept only cuda::GpuMat.
They don't return the same dimensions of disparity values as the cpu versions.
The caller have to know the actual implementation to call them properly, so the inheritance is useless at this time.
Is it a bug or by design?