![]() |
IDS peak ICV v1.1.0
|
Public Member Functions | |
| CalibrationResult | create_from_file (cls, str file_path) |
| Creates an instance of CalibrationResult by loading the calibration result from a file. | |
| None | __init__ (self, *Any args, **Any kwargs) |
| In order to create a CalibrationResult, please refer to the classmethods. | |
| None | __del__ (self) |
| float | mean_reprojection_error (self) |
| Provides the mean reprojection error from calibration result. | |
| CalibrationViewArray | views (self) |
Provides a list of CalibrationView. | |
| None | save (self, str file_path) |
| Saves calibration result to a JSON file for later use. | |
| CalibrationParameters | calibration_parameters (self) |
Provides the CalibrationParameters that contain the necessary information to use the camera calibration. | |
Protected Member Functions | |
| CalibrationResult | _create_empty (cls) |
Protected Attributes | |
| _handle | |
| np.ndarray|None | _views = None |
Class for holding the results of a camera calibration.
The CalibrationResult stores intrinsic and extrinsic parameters as well as the mean reprojection error calculated by CameraCalibration.process().
Definition at line 22 of file calibration_result.py.
| None __init__ | ( | self, | |
| *Any | args, | ||
| **Any | kwargs ) |
In order to create a CalibrationResult, please refer to the classmethods.
Definition at line 67 of file calibration_result.py.
| None __del__ | ( | self | ) |
Definition at line 79 of file calibration_result.py.
|
protected |
Definition at line 60 of file calibration_result.py.
| CalibrationParameters calibration_parameters | ( | self | ) |
Provides the CalibrationParameters that contain the necessary information to use the camera calibration.
Definition at line 157 of file calibration_result.py.
| CalibrationResult create_from_file | ( | cls, | |
| str | file_path ) |
Creates an instance of CalibrationResult by loading the calibration result from a file.
| file_path | An existing file path to a JSON file containing the calibration result. |
| IOException | If the given file_path does not exist, or the permissions are not sufficient to read it. |
| CorruptedException | If the file content is corrupted. |
Definition at line 35 of file calibration_result.py.
| float mean_reprojection_error | ( | self | ) |
Provides the mean reprojection error from calibration result.
The mean reprojection error is the root-mean-square of distances between the marker points extracted from the calibration images and the projected world points from the used calibration plate.
Definition at line 84 of file calibration_result.py.
| None save | ( | self, | |
| str | file_path ) |
Saves calibration result to a JSON file for later use.
| file_path | An existing file path to save calibration result. |
| IOException | If the specified file path is invalid, you lack the necessary permissions, or the file already exists. |
Definition at line 139 of file calibration_result.py.
| CalibrationViewArray views | ( | self | ) |
Provides a list of CalibrationView.
The order in which the CalibrationViews are provided, is equivalent to the order of images provided to CameraCalibration.CameraCalibration.Process.
Definition at line 101 of file calibration_result.py.
|
protected |
Definition at line 74 of file calibration_result.py.
|
protected |
Definition at line 77 of file calibration_result.py.