Now the output Point cloud is correct.

Two things:
1, output of SBM/SGBM is CV_16S, not CV_32F
2, output value is scaled 16 times large. need a d=d/16