Public Member Functions | |
| CameraCalibration | create_from_plate (cls, CalibrationPlate calibration_plate) |
| Creates an instance of class CameraCalibration. | |
| None | __init__ (self, *Any args, **Any kwargs) |
| In order to create a CameraCalibration, please refer to the classmethods. | |
| CalibrationResult | process (self, ImageArray images) |
| Applies the camera calibration and calculates the intrinsic and extrinsic camera parameters based on several views of a calibration pattern. | |
Protected Attributes | |
| _calibration_plate = kwargs["_calibration_plate"] | |
Class for calibrating a camera.
The CameraCalibration calculates the intrinsic and extrinsic parameters, as well as the mean reprojection error.
Definition at line 24 of file camera_calibration.py.
| None __init__ | ( | self, | |
| *Any | args, | ||
| **Any | kwargs ) |
In order to create a CameraCalibration, please refer to the classmethods.
Definition at line 52 of file camera_calibration.py.
| CameraCalibration create_from_plate | ( | cls, | |
| CalibrationPlate | calibration_plate ) |
Creates an instance of class CameraCalibration.
For a camera calibration a calibration plate is needed.
| calibration_plate | A calibration plate. |
Definition at line 37 of file camera_calibration.py.
| CalibrationResult process | ( | self, | |
| ImageArray | images ) |
Applies the camera calibration and calculates the intrinsic and extrinsic camera parameters based on several views of a calibration pattern.
Furthermore, it computes the mean reprojection error.
| images | A list of images containing a calibration plate in different poses. |
| MismatchException | If no images are provided, or if the sizes of the images are different. |
| NotSupportedException | If the pattern of the calibration plate is not supported or the image has an unsupported format. |
| TargetNotFoundException | If the marker points were not found on the given image. |
Definition at line 65 of file camera_calibration.py.
|
protected |
Definition at line 60 of file camera_calibration.py.