cars.pipelines.point_clouds_to_dsm.pc_inputs

CARS point cloud inputs

Module Contents

Functions

check_point_clouds_inputs(conf[, config_json_dir])

Check the inputs given

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.point_clouds_to_dsm.pc_inputs.check_point_clouds_inputs(conf, config_json_dir=None)

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.point_clouds_to_dsm.pc_inputs.check_input_size(x_path, y_path, z_path, mask, color, classif, filling, confidence)

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.point_clouds_to_dsm.pc_inputs.modify_to_absolute_path(config_json_dir, overloaded_conf)

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