unreal.DistortionCalibrationResult¶
- class unreal.DistortionCalibrationResult(evaluated_focus: float = 0.0, evaluated_zoom: float = 0.0, reprojection_error: float = 0.0, focal_length: FocalLengthInfo = Ellipsis, image_center: ImageCenterInfo = Ellipsis, camera_poses: None = [], nodal_offset: NodalPointOffset = Ellipsis, parameters: DistortionInfo = Ellipsis, st_map: STMapInfo = Ellipsis, st_map_full_path: str = '', error_message: Text = '')¶
Bases:
StructBaseResults from a distortion calibration, including camera intrinsics and either the parameters to an analytical model or an ST Map
C++ Source:
Plugin: CameraCalibrationCore
Module: CameraCalibrationCore
File: CameraCalibrationTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
camera_poses(Array[Transform]): [Read-Write] Calibrated camera pose for each input imageerror_message(Text): [Read-Write] Error text to be written by a solver to provide the reason why the solve may have failed. No error message implies that the solve was successful and the result is valid.evaluated_focus(float): [Read-Write] Nominal focus distance of the lens associated with this resultevaluated_zoom(float): [Read-Write] Nominal focal length of the lens associated with this resultfocal_length(FocalLengthInfo): [Read-Write] Calibrated focal length resultimage_center(ImageCenterInfo): [Read-Write] Calibrated image center resultnodal_offset(NodalPointOffset): [Read-Write] Calibrated nodal offset resultparameters(DistortionInfo): [Read-Write] Distortion parameters for the model specified by the lens file. And empty parameter array implies that there is a valid ST Map instead.reprojection_error(double): [Read-Write] Final reprojection error produced using this resultst_map(STMapInfo): [Read-Write] ST Map that represents the UV displacements for this result. If the ST Map UTexture is not imported by the solver, a path string should be provided so that the lens distortion tool can import it.st_map_full_path(str): [Read-Write] Absolute path to an ST Map file on disk that should be imported when this result is processed.
- property error_message: Text¶
[Read-Write] Error text to be written by a solver to provide the reason why the solve may have failed. No error message implies that the solve was successful and the result is valid.
- Type:
(Text)
- property evaluated_focus: float¶
[Read-Write] Nominal focus distance of the lens associated with this result
- Type:
(float)
- property evaluated_zoom: float¶
[Read-Write] Nominal focal length of the lens associated with this result
- Type:
(float)
- property focal_length: FocalLengthInfo¶
[Read-Write] Calibrated focal length result
- Type:
- property image_center: ImageCenterInfo¶
[Read-Write] Calibrated image center result
- Type:
- property nodal_offset: NodalPointOffset¶
[Read-Write] Calibrated nodal offset result
- Type:
- property parameters: DistortionInfo¶
[Read-Write] Distortion parameters for the model specified by the lens file. And empty parameter array implies that there is a valid ST Map instead.
- Type:
- property reprojection_error: float¶
[Read-Write] Final reprojection error produced using this result
- Type:
(double)