sdynpy.signal_processing.sdynpy_camera.calibration_linear_estimate

calibration_linear_estimate(image_points, plane_points)[source]

Computes a linear estimate of the camera parameters from point correspondences

Uses pass in a set of points on images for multiple views of the same calibration object

Parameters
  • image_points (ndarray) – A (n_camera x) n_image x n_point x 2 array of image points

  • plane_points (ndarray) – A n_point x 2 array of 2D positions of the points on the calibration object

Raises

ValueError – If the point correspondence matrices are not the correct sizes.

Returns

  • K_est – A (n_camera x) 3 x 3 estimate of the camera intrinsic matrix

  • RT_est – A (n_camera x) n_image x 3 x 4 estimate of the camera extrinsic matrix