Pose_utils

packnet_sfm.geometry.pose_utils.euler2mat(angle)[source]

Convert euler angles to rotation matrix

packnet_sfm.geometry.pose_utils.invert_pose(T)[source]

Inverts a [B,4,4] torch.tensor pose

packnet_sfm.geometry.pose_utils.invert_pose_numpy(T)[source]

Inverts a [4,4] np.array pose

packnet_sfm.geometry.pose_utils.pose_vec2mat(vec, mode='euler')[source]

Convert Euler parameters to transformation matrix.