cars.applications.sparse_matching.methods.abstract_sparse_matching_method
This module contains the abstract sparse matching method class
Classes
AbstractSparseMatchingMethod |
Module Contents
- class cars.applications.sparse_matching.methods.abstract_sparse_matching_method.AbstractSparseMatchingMethod(conf=None)[source]
AbstractSparseMatchingMethod This class is an abstraction for the low-level sparse matching method concept.
- available_methods: Dict
- default_method = 'sift'
- schema = None
- used_config = None
- abstract get_required_bands()[source]
Get bands required by this method.
- Returns:
required bands for left and right image
- Return type:
dict
- abstract run(left_image_object: xarray.Dataset, right_image_object: xarray.Dataset, saving_info_left=None, disp_lower_bound=None, disp_upper_bound=None, classif_bands_to_mask=None)[source]
Run sparse matching on a pair of epipolar tiles.
- Parameters:
left_image_object (xr.Dataset) – left epipolar tile
right_image_object (xr.Dataset) – right epipolar tile
saving_info_left (dict) – saving information for outputs
disp_lower_bound (float or None) – lower disparity bound
disp_upper_bound (float or None) – upper disparity bound
classif_bands_to_mask (list of str / int) – bands from classification to mask
- Returns:
left matches dataframe