-
|
In genesis documentation I see that there is |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Hi, have you figured out the difference between |
Beta Was this translation helpful? Give feedback.
-
|
Same question of the differences of "extrinsics" and "transform" print("transform", camera.transform)
print("extrinsics", camera.extrinsics)transform [[ 0. 0.67 -0.74 -3.88]
[-1. 0. 0. 0.26]
[ 0. 0.74 0.67 9.83]
[ 0. 0. 0. 1. ]]
extrinsics [[-0. -1. -0. -0. ]
[-0.67 -0. -0.74 0. ]
[ 0.74 0. -0.67 13.45]
[ 0. 0. 0. 1. ]]The printed value are totally different. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
@duburcqa Ok , Got it. T_wc = camera.transform
t_wc = T_wc[:3, 3]
R_wc = T_wc[:3, :3]
R_cw = R_wc.T
t_cw = -R_cw @ t_wc
# project some point in world to camrea frame
boat_pos_cam = R_cw @ boat_pos + t_cw |
Beta Was this translation helpful? Give feedback.
camera.transformstores the pose of the camera in the world. This may be changing dynamically between every timesteps.camera.extrinsicsfully specify the transform from pixel to world. It is supposed to be constant for a given camera.