sdynpy.signal_processing.sdynpy_camera.compute_pixel_displacement
- compute_pixel_displacement(K, RT, coords, disp)[source]
Compute pixel displacements from coordinate displacements
This function computes pixel displacements from coordinate displacements
- Parameters
K (np.ndarray) – A 3x3 array of camera intrinsic parameters
RT (np.ndarray) – A 3x4 array of camera extrinsic parameters
coords (np.ndarray) – A 3xn array of coordinates
disp (np.ndarray) – A (mx)3xn array of displacements
- Returns
pixel_disp – A (mx)2xn array of pixel displacements
- Return type
np.ndarray