cars.applications.auxiliary_filling.auxiliary_filling_from_sensors_app
this module contains the AuxiliaryFillingFromSensors application class.
Classes
AuxiliaryFillingFromSensors Application |
Functions
|
Fill color and classification from sensor information for a terrain tile |
Module Contents
- class cars.applications.auxiliary_filling.auxiliary_filling_from_sensors_app.AuxiliaryFillingFromSensors(conf=None)[source]
Bases:
cars.applications.auxiliary_filling.abstract_auxiliary_filling_app.AuxiliaryFillingAuxiliaryFillingFromSensors Application
- orchestrator = None
- check_conf(conf)[source]
Check configuration
- Parameters:
conf (dict) – configuration to check
- Returns:
overloaded configuration
- Return type:
dict
- run(dsm_file, color_file, classif_file, dump_dir, sensor_inputs, pairing, geom_plugin, texture_bands, output_geoid, orchestrator=None, dsm_dir=None)[source]
run AuxiliaryFillingFromSensors
- Parameters:
dsm_file (str) – path to the filled dsm file
color_file (str) – path to the color file
classification_file (str) – path to the classification file
dump_dir (str) – output dump directory
sensor_inputs (dict) – dictionary containing paths to input images and models
pairing (list) – pairing between input images
geom_plugin (AbstractGeometry) – geometry plugin used for inverse locations
texture_bands (list) – list of band names used for output texture
output_geoid (OR(bool, str)) – output geoid filename as vertical reference for the input DSM. If a boolean is provided instead of a filename True means defined relative to cars internal geoid, and false on ellipsoid
orchestrator (Orchestrator) – orchestrator used
- cars.applications.auxiliary_filling.auxiliary_filling_from_sensors_app.filling_from_sensor_wrapper(dsm_file, color_file, classification_file, sensor_inputs, sensor_bounds, pairing, window, transform, crs, saving_info, geom_plugin, texture_bands, output_geoid, mode, texture_interpolator, use_mask)[source]
Fill color and classification from sensor information for a terrain tile
- Parameters:
dsm_file (str) – path to the filled dsm file
color_file (str) – path to the color file
classification_file (str) – path to the classification file
sensor_inputs (dict) – dictionary containing paths to input images and models
sensor_bounds (dict) – dictionary containing bounds of input sensors
pairing (list) – pairing between input images
window (dict) – window of the current tile
transform (tuple) – input geo transform
crs (CRS) – input crs
saving_info (dict) – saving info for cars orchestrator
geom_plugin (AbstractGeometry) – geometry plugin used for inverse locations
texture_bands (list) – list of band names used for output texture
output_geoid (OR(bool, str)) – output geoid filename as vertical reference for the input DSM. If a boolean is provided instead of a filename True means defined relative to cars internal geoid, and false on ellipsoid
mode (str) – geometry plugin used for inverse locations
texture_interpolator (str) – scipy interpolator use to interpolate color values
use_mask (bool) – use mask information from sensors in color computation