cars.pipelines.parameters.dsm_inputs
CARS dsm inputs
Functions
|
Check the inputs given |
|
Check the geometry plugin with inputs |
|
Check dsm, mask, color, classif given |
|
Modify input file path to absolute path |
|
Check if the dsm are phased, and if resolution and epsg code are equivalent |
Module Contents
- cars.pipelines.parameters.dsm_inputs.check_dsm_inputs(conf, config_dir=None)[source]
Check the inputs given
- Parameters:
conf (dict) – configuration of inputs
config_dir (str) – directory of used json/yaml, if user filled paths with relative paths
- Returns:
overloader inputs
- Return type:
dict
- cars.pipelines.parameters.dsm_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.dsm_inputs.check_input_size(dsm, classif, color, mask)[source]
Check dsm, mask, color, classif given
Images must have same size
- Parameters:
dsm (str) – phased dsm path
classif (str) – classif path
color (str) – color path
mask (str) – mask path