unreal.CameraCalibrationSubsystem

class unreal.CameraCalibrationSubsystem(outer=None, name='None')

Bases: unreal.EngineSubsystem

Camera Calibration subsystem

C++ Source:

  • Plugin: CameraCalibrationCore

  • Module: CameraCalibrationCore

  • File: CameraCalibrationSubsystem.h

find_distortion_model_handler(distortion_handler_picker, update_picker=True) -> (LensDistortionModelHandlerBase, distortion_handler_picker=DistortionHandlerPicker)

Return the handler associated with the input distortion source, if one exists If bUpdatePicker is true, the input picker reference will be updated so that its properties match those of the found handler

Parameters
Returns

distortion_handler_picker (DistortionHandlerPicker):

Return type

DistortionHandlerPicker

find_or_create_distortion_model_handler(distortion_handler_picker, lens_model_class) -> (LensDistortionModelHandlerBase, distortion_handler_picker=DistortionHandlerPicker)

Return the handler associated with the input distortion source, if one exists that also matches the input model. If none exist, create a new handler and return it.

Parameters
Returns

distortion_handler_picker (DistortionHandlerPicker):

Return type

DistortionHandlerPicker

get_camera_calibration_step(name)

Returns the camera calibration step by name

Parameters

name (Name) –

Return type

type(Class)

get_camera_calibration_steps()

Returns an array with the names of the available camera calibration steps

Return type

Array(Name)

get_camera_image_center_algo(name)

Returns the image center algorithm by name

Parameters

name (Name) –

Return type

type(Class)

get_camera_image_center_algos()

Returns an array with the names of the available image center algorithms

Return type

Array(Name)

get_camera_nodal_offset_algo(name)

Returns the nodal offset algorithm by name

Parameters

name (Name) –

Return type

type(Class)

get_camera_nodal_offset_algos()

Returns an array with the names of the available nodal offset algorithms

Return type

Array(Name)

get_default_lens_file() LensFile

Get the default lens file.

Return type

LensFile

get_distortion_model_handlers(component)

Return all handlers associated with the input camera component

Parameters

component (CineCameraComponent) –

Return type

Array(LensDistortionModelHandlerBase)

get_lens_file(picker) LensFile

Facilitator around the picker to get the desired lens file.

Parameters

picker (LensFilePicker) –

Return type

LensFile

get_overlay_material(overlay_name) MaterialInterface

Returns the overlay material associated with the input overlay name

Parameters

overlay_name (Name) –

Return type

MaterialInterface

get_overlay_material_names()

Returns a list of all overlays known to the subsystem This includes the default overlays listed in the camera calibration settings as well as any of overlays that have been registered with this subsystem

Return type

Array(Name)

get_registered_lens_model(model_name)

Return the ULensModel subclass that was registered with the input model name

Parameters

model_name (Name) –

Return type

type(Class)

set_default_lens_file(new_default_lens_file) None

Get the default lens file.

Parameters

new_default_lens_file (LensFile) –

unregister_distortion_model_handler(component, handler) None

Disassociate the input handler from the input camera component in the subsystem’s handler map

Parameters