cars.applications.grid_generation.grid_generation
this module contains the abstract grid generation application class.
Module Contents
Classes
AbstractGridGeneration |
- class cars.applications.grid_generation.grid_generation.GridGeneration(conf=None)[source]
Bases:
cars.applications.application_template.ApplicationTemplate
AbstractGridGeneration
- available_applications: Dict
- default_application = 'epipolar'
- abstract get_save_grids()[source]
Get whether the grid will be saved
- Returns
true is grid saving is activated
- Return type
bool
- abstract run(image_left, image_right, orchestrator=None, pair_folder=None, srtm_dir=None, default_alt=None, geoid_path=None, pair_key='PAIR_0')[source]
Run EpipolarGridGeneration application
Create left and right grid CarsDataset filled with xarray.Dataset , corresponding to left and right epipolar grids.
- Parameters
image_left (dict) – left image
image_right (dict) – right image
pair_folder (str) – folder used for current pair
orchestrator – orchestrator used
srtm_dir (str) – srtm directory
default_alt (float) – default altitude
geoid_path (str) – geoid path
pair_key (str) – pair configuration id
- Returns
left grid, right grid
- Return type
Tuple(CarsDataset, CarsDataset)