image-matching-benchmark icon indicating copy to clipboard operation
image-matching-benchmark copied to clipboard

Some simple corrections

Open mfatih7 opened this issue 3 years ago • 0 comments

depth_clean = f['depth'].value

gives errors and can be corrected like

depth_clean = f['depth'][:]


Then

f2 = plt.imshow(data['depth'].astype(np.float))

can be corrected like

# f2 = plt.imshow(data['depth'])


changing

plt.imshow(rgb.transpose((1, 2, 0)).astype(np.float))

to

plt.imshow(rgb.transpose((1, 2, 0)).astype(np.float64))

prevents some warnings

mfatih7 avatar Apr 28 '22 13:04 mfatih7