princeton-vl/DeepV2D

Question about pose preprocessing

jwh97nn opened this issue · 1 comments

Hi,

I have a question about retrieving the pose data.
As referenced below, after the pose is converted from quaternion to matrix, it follows by an inverse operation. Why is this inverse operation necessary?

pose_mat = pose_vec2mat(pose_vec)
poses.append(np.linalg.inv(pose_mat))

Thanks

The inverse operator converts poses from "world" coordinates to "camera" coordinates. This is necessary because we use camera coordinates for training.