cv::cuda::StereoBM disparity type CV_8UC1

Hi, the docs for the base version of cv::StereoMatcher::compute says that the disparity out type is either 16-bit fixed point or 32-bit floats but cv::cuda::StereoBM always returns a type of CV_8UC1, what exactly am I dealing with here?

welcome.

looks to me like the implementation uses integer disparity values and upto 8 bits of that.

the documentation doesn’t say but it’s a fair assumption from glancing over the code.