X-StereoLab
X-StereoLab copied to clipboard
what are the codes doing for disparity .pfm?
for i in range(data.shape[0]):
for j in range(data.shape[1]):
if j - data[i][j] < 0:
data[i][j] = -1
It make black areas at bottom-left corner of the disparity image.
I'm also confused about this...
I tried not to use this part,and train the model . It didn't matter and the result is similar。