I’m comparing the Block Matching to the Semi-Global Block Matching algorithms in VisionWorks. I understand that the output of SGBM (nvxSemiGlobalMatchingNode) is a Q11.4 formatted S16, whereas the output of BM (nvxStereoBlockMatchingNode) is a U8. Two questions:
What is the best way to convert that U8 to an S16, in Q11.4 format? I tried vxConvertDepthNode(), but it only does a bit shift…I think it also needs a scaling factor, no?
Do you happen to know if the Q11.4 signed format of SGBM output is the same as the OpenCV StereoSGBM class function (specifically computeDisparitySGBM())? I think it is, but just want to check.