cars.applications.auxiliary_filling.auxiliary_filling_algo

this module contains the AuxiliaryFillingFromSensors application class.

Functions

fill_auxiliary(sensor_inputs, pairing, longitudes, ...)

Compute color and classification for a list of points (lon, lat, alt) using

fill_from_one_sensor(sensor, filled_color, ...[, ...])

Compute color and classification contribution for a list of points

Module Contents

cars.applications.auxiliary_filling.auxiliary_filling_algo.fill_auxiliary(sensor_inputs, pairing, longitudes, latitudes, altitudes, geom_plugin, number_of_color_bands, number_of_classification_bands, texture_bands, texture_interpolator, use_mask=False)[source]

Compute color and classification for a list of points (lon, lat, alt) using information from sensor images

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

  • pairing (list) – pairing between input images

  • longitudes (list) – list containing longitudes coordinates

  • latitudes (list) – list containing latitudes coordinates

  • altitudes (list) – list containing altitudes coordinates

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

  • number_of_color_bands (int) – number of bands in the color image

  • number_of_classification_bands (int) – number of bands in the color image

  • texture_bands (list) – list of band names used for output texture

  • texture_interpolator (str) – scipy interpolator use to interpolate color values

  • use_mask (bool) – use mask information from sensors in color computation

cars.applications.auxiliary_filling.auxiliary_filling_algo.fill_from_one_sensor(sensor, filled_color, filled_classif, weights, longitudes, latitudes, altitudes, geom_plugin, number_of_color_bands, number_of_classification_bands, texture_bands, texture_interpolator, not_interpolated_mask=None, use_mask=False, return_all_points=False)[source]

Compute color and classification contribution for a list of points (lon, lat, alt) using information from a sensor image

Parameters:
  • sensor (dict) – dictionary containing paths to input images and model

  • filled_color (numpy.ndarray) – array containing (non normalized) color information

  • filled_classif (numpy.array) – array containing classification information

  • weights (numpy.array) – array containing weight for normalization

  • longitudes (list) – list containing longitudes coordinates

  • latitudes (list) – list containing latitudes coordinates

  • altitudes (list) – list containing altitudes coordinates

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

  • number_of_color_bands (int) – number of bands in the color image

  • number_of_classification_bands (int) – number of bands in the color image

  • texture_bands (list) – list of band names used for output texture

  • texture_interpolator (str) – scipy interpolator use to interpolate color values

  • not_interpolated_mask (numpy.array) – use mask information in color computation

  • use_mask (bool) – use mask information in color computation

  • return_all_points (bool) – compute interpolated values for all points