CentralCamera.images2C#
- classmethod CentralCamera.images2C(images: Iterable[Image], gridshape: tuple[int, int] = (7, 6), squaresize: float = 0.025) tuple[ndarray, ndarray, list[Any]] | None[source][source]#
Calibrate camera from checkerboard images
- Parameters:
- Returns:
camera calibration matrix, distortion parameters, image frames
- Return type:
ndarray(3,4), ndarray(5), list of named tuples
The distortion coefficients are in the order \((k_1, k_2, p_1, p_2, k_3)\) where \(k_i\) are radial distortion coefficients and \(p_i\) are tangential distortion coefficients.
Image frames that were successfully processed are returned as a list of named tuples
CalibrationFramewith elements:Note
The units used for
squaresizemust match the units used for defining 3D points in space.References
See also