While using the StereoBinarySGBM class provided in the contrib/stereo module of OpenCV 3.4 (with the binary descriptor type CV_DENSE_CENSUS to apply a census transform