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(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

update_picker (bool) –

Returns

distortion_handler_picker (DistortionHandlerPicker):

Return type

DistortionHandlerPicker

find_or_create_distortion_model_handler(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

lens_model_class (type(Class)) –

Returns

distortion_handler_picker (DistortionHandlerPicker):

Return type

DistortionHandlerPicker

get_camera_calibration_step(name)

Returns the camera calibration step by name

Parameters

name (Name) –

Returns

Return type

type(Class)

get_camera_calibration_steps()

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

Returns

Return type

Array(Name)

get_camera_nodal_offset_algo(name)

Returns the nodal offset algorithm by name

Parameters

name (Name) –

Returns

Return type

type(Class)

get_camera_nodal_offset_algos()

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

Returns

Return type

Array(Name)

get_default_lens_file()LensFile

Get the default lens file.

Returns

Return type

LensFile

get_distortion_model_handlers(component)

Return all handlers associated with the input camera component

Parameters

component (CineCameraComponent) –

Returns

Return type

Array(LensDistortionModelHandlerBase)

get_lens_file(picker)LensFile

Facilitator around the picker to get the desired lens file.

Parameters

picker (LensFilePicker) –

Returns

Return type

LensFile

get_registered_lens_model(model_name)

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

Parameters

model_name (Name) –

Returns

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