cars.applications.dense_matching.loaders.pandora_loader

CARS pandora loader file

Module Contents

Classes

PandoraLoader

PandoraLoader

Functions

get_config_input_custom_cars(→ Dict[str, dict])

Get the input configuration

check_input_section_custom_cars(→ Dict[str, dict])

Complete and check if the dictionary is correct

overload_pandora_conf_with_confidence(conf, ...)

Overload pandora pipeline configuration with given confidence to add

Attributes

input_configuration_schema_custom_cars

default_short_configuration_input_custom_cars

class cars.applications.dense_matching.loaders.pandora_loader.PandoraLoader(conf=None, method_name=None, generate_performance_map=False, perf_eta_max_ambiguity=0.99, perf_eta_max_risk=0.25, perf_eta_step=0.04)

PandoraLoader

get_conf()

Get pandora configuration used

Returns

pandora configuration

Return type

dict

check_conf(user_cfg, img_left, img_right, classif_left=None, classif_right=None)

Check configuration

Parameters

user_cfg (dict) – configuration

Returns

pandora configuration

Return type

dict

cars.applications.dense_matching.loaders.pandora_loader.input_configuration_schema_custom_cars
cars.applications.dense_matching.loaders.pandora_loader.default_short_configuration_input_custom_cars
cars.applications.dense_matching.loaders.pandora_loader.get_config_input_custom_cars(user_cfg: Dict[str, dict]) Dict[str, dict]

Get the input configuration

Parameters

user_cfg (dict) – user configuration

Return cfg

partial configuration

Rtype cfg

dict

cars.applications.dense_matching.loaders.pandora_loader.check_input_section_custom_cars(user_cfg: Dict[str, dict]) Dict[str, dict]

Complete and check if the dictionary is correct

Parameters

user_cfg (dict) – user configuration

Returns

cfg: global configuration

Return type

cfg: dict

cars.applications.dense_matching.loaders.pandora_loader.overload_pandora_conf_with_confidence(conf, confidence_conf)

Overload pandora pipeline configuration with given confidence to add just before disparity computation.

Parameters
  • conf (OrderedDict) – current pandora configuration

  • confidence_conf (OrderedDict) – confidence applications config

Returns

updated pandora pipeline conf

Return type

OrderedDict