I would like to reconstruct 3d points from a depth map and a camera intrinsic Matrix. I\'m using the following code to do so,
def reconstruct3d(depth_map, cam