cars.pipelines.parameters.depth_map_inputs

CARS depth map inputs

Module Contents

Functions

check_depth_maps_inputs(conf[, config_json_dir])

Check the inputs given

check_geometry_plugin(conf_inputs, conf_geom_plugin)

Check the geometry plugin with inputs

check_input_size(x_path, y_path, z_path, mask, color, ...)

Check x, y, z, mask, color, classif and confidence given

modify_to_absolute_path(config_json_dir, overloaded_conf)

Modify input file path to absolute path

cars.pipelines.parameters.depth_map_inputs.check_depth_maps_inputs(conf, config_json_dir=None)[source]

Check the inputs given

Parameters
  • conf (dict) – configuration of inputs

  • config_json_dir (str) – directory of used json, if user filled paths with relative paths

Returns

overloader inputs

Return type

dict

cars.pipelines.parameters.depth_map_inputs.check_geometry_plugin(conf_inputs, conf_geom_plugin)[source]

Check the geometry plugin with inputs :param conf_geom_plugin: name of geometry plugin :type conf_geom_plugin: str :param conf_inputs: checked configuration of inputs :type conf_inputs: type

Returns

geometry plugin with dem

cars.pipelines.parameters.depth_map_inputs.check_input_size(x_path, y_path, z_path, mask, color, classif, filling, confidence)[source]

Check x, y, z, mask, color, classif and confidence given

Images must have same size

Parameters
  • x_path (str) – x path

  • y_path (str) – y path

  • z_path (str) – z path

  • mask (str) – mask path

  • color (str) – color path

  • classif (str) – classif path

  • filling (str) – filling path

  • confidence (dict[str]) – confidence dict path

cars.pipelines.parameters.depth_map_inputs.modify_to_absolute_path(config_json_dir, overloaded_conf)[source]

Modify input file path to absolute path

Parameters
  • config_json_dir (str) – directory of the json configuration

  • overloaded_conf – overloaded configuration json

Dict overloaded_conf

dict