sdynpy.signal_processing.sdynpy_camera.decomposeP
- decomposeP(P)[source]
Decomposes a projection matrix P into intrinsic and extrinsic matrices K, R, and t
- Parameters
P (np.ndarray) – 3x4 camera projection matrix P = K@np.concatenate((R,t),axis=-1)
- Returns
K (ndarray) – 3x3 upper triangular intrinsic parameter matrix
R (ndarray) – 3x3 rotation matrix
t (ndarray) – 3x1 translation vector