sdynpy.signal_processing.sdynpy_camera.compute_pixel_position
- compute_pixel_position(K, RT, coords)[source]
Compute pixel coordinates from world coordinates
This function computes pixel coordinates from world coordinates and camera matrices.
- 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
- Returns
pixel_position – A (mx)2xn array of pixel positions
- Return type
np.ndarray