Public Member Functions | |
| CalibrationParameters (string filePath) | |
| Constructs a CalibrationParameters instance by loading data from a JSON file. | |
| CalibrationParameters (IntrinsicParameters intrinsicParameters, ExtrinsicParameters extrinsicParameters) | |
| Constructs a CalibrationParameters instance from the provided intrinsic and extrinsic parameters. | |
| CalibrationParameters (byte[] data) | |
| Constructs a CalibrationParameters instance from binary data that have been read from the camera memory. | |
| byte[] | ToBinary () |
| Converts CalibrationParameters to binary data that can be written to the camera memory. | |
| override string | ToString () |
| Returns a string representation of the calibration parameters. | |
| override int | GetHashCode () |
| Returns a hash code for the calibration parameters. | |
Properties | |
| IntrinsicParameters | IntrinsicParameters [get] |
| Gets the intrinsic camera parameters. | |
| ExtrinsicParameters | ExtrinsicParameters [get, set] |
| Gets or sets the extrinsic camera parameters. | |
| static IEqualityComparer< CalibrationParameters > | Comparer [get] |
| Gets a default equality comparer for comparing CalibrationParameters data values. | |
Holds a complete set of camera calibration parameters, including both intrinsic and extrinsic data.
The CalibrationParameters class represents a minimal dataset derived from a full CalibrationResult. It includes only the essential information required to apply the intrinsic and extrinsic calibration to images or depth maps.
|
inline |
Constructs a CalibrationParameters instance by loading data from a JSON file.
Allows calibration parameters to be loaded from a file, avoiding the need for recalibration and enabling consistent application of intrinsic and extrinsic camera parameters across sessions.
The file may contain either a CalibrationParameters object or a full CalibrationResult. From a full CalibrationResult, only the calibration parameters are extracted as follows:
| filePath | Path to the JSON file containing calibration parameters. |
| IcvIOException | If the given file_path does not exist, or the permissions are not sufficient to read it. |
| IcvCorruptedException | If the file content is corrupted. |
|
inline |
Constructs a CalibrationParameters instance from the provided intrinsic and extrinsic parameters.
| intrinsicParameters | The intrinsic camera parameters. |
| extrinsicParameters | The extrinsic camera parameters. |
|
inline |
Constructs a CalibrationParameters instance from binary data that have been read from the camera memory.
| data | The binary calibration parameters. |
| IcvCorruptedException | The binary data is corrupted. |
|
inline |
Returns a hash code for the calibration parameters.
|
inline |
Converts CalibrationParameters to binary data that can be written to the camera memory.
|
inline |
Returns a string representation of the calibration parameters.
|
staticget |
Gets a default equality comparer for comparing CalibrationParameters data values.
Gets or sets the extrinsic camera parameters.
Gets the intrinsic camera parameters.