cars.applications.dem_generation.dem_generation_tools

this module contains tools for the dem generation

Module Contents

Functions

triangulate_sparse_matches(sensor_image_left, ...)

Triangulate matches in a metric system

cars.applications.dem_generation.dem_generation_tools.triangulate_sparse_matches(sensor_image_left, sensor_image_right, grid_left, grid_right, matches, geometry_plugin)

Triangulate matches in a metric system

Parameters
  • sensor_image_right (CarsDataset) – sensor image right

  • sensor_image_left (CarsDataset) – sensor image left

  • grid_left (CarsDataset CarsDataset) – grid left

  • grid_right (CarsDataset) – corrected grid right

  • matches (np.ndarray) – matches

  • geometry_plugin (AbstractGeometry) – geometry plugin to use

  • srtm_dir (str) – srtm directory

  • default_alt (float) – default altitude

  • pair_folder (str) – folder used for current pair

Returns

disp min and disp max

Return type

float, float