cars.applications.auxiliary_filling.auxiliary_filling_wrappers

this module contains the AuxiliaryFillingFromSensors application class.

Functions

compute_sensor_bounds(sensor_inputs, geom_plugin, ...)

Compute bounds of each input sensor that have an associated color or

filter_sensor_inputs(sensor_inputs, sensor_bounds, ...)

Filter input sensors by comparing their bounds to a reference Polygon

Module Contents

cars.applications.auxiliary_filling.auxiliary_filling_wrappers.compute_sensor_bounds(sensor_inputs, geom_plugin, output_crs)[source]

Compute bounds of each input sensor that have an associated color or classification image

Parameters:
  • sensor_inputs (dict) – dictionary containing paths to input images and models

  • geom_plugin (AbstractGeometry) – geometry plugin used for inverse locations

  • geom_plugin – geometry plugin used for inverse locations

  • output_crs (CRS) – crs of the output polygons

Returns:

a dictionary containing a Polygon in output geometry for each valid input sensor

cars.applications.auxiliary_filling.auxiliary_filling_wrappers.filter_sensor_inputs(sensor_inputs, sensor_bounds, ground_polygon)[source]

Filter input sensors by comparing their bounds to a reference Polygon

Parameters:
  • sensor_inputs (dict) – dictionary containing paths to input images and models

  • sensor_bounds (dict) – dictionary containing bounds of input sensors

  • ground_polygon (Polygon) – reference polygon, in ground geometry

Returns:

a fitlered version of sensor_inputs