unreal.CameraCalibrationSubsystem

class unreal.CameraCalibrationSubsystem(outer: Object | None = None, name: Name | str = 'None')

Bases: 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)

Find Distortion Model 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)

Find or Create Distortion Model Handler

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() Array[Name]

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() Array[Name]

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() Array[Name]

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) Array[LensDistortionModelHandlerBase]

Get Distortion Model Handlers

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() Array[Name]

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

Unregister Distortion Model Handler

Parameters: