Update output image
This commit is contained in:
parent
1bdbb27240
commit
c196d6caa3
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 119 KiB |
@ -54,9 +54,11 @@ if __name__ == '__main__':
|
||||
disp_vis = (disp - disp.min()) / (disp.max() - disp.min()) * 255.0
|
||||
disp_vis = disp_vis.astype("uint8")
|
||||
disp_vis = cv2.applyColorMap(disp_vis, cv2.COLORMAP_INFERNO)
|
||||
disp_vis = cv2.resize(disp_vis, left_img.shape[1::-1])
|
||||
|
||||
cv2.imshow("output", disp_vis)
|
||||
cv2.imwrite("output.jpg", disp_vis)
|
||||
combined_img = np.hstack((left_img, disp_vis))
|
||||
cv2.imshow("output", combined_img)
|
||||
cv2.imwrite("output.jpg", combined_img)
|
||||
cv2.waitKey(0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user