cars.pipelines.parameters.depth_map_inputs
CARS depth map inputs
Module Contents
Functions
|
Check the inputs given |
|
Check the geometry plugin with inputs |
|
Check x, y, z, mask, color, classif and confidence given |
|
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