cars.applications.dense_match_filling.fill_disp_wrappers

This module is responsible for the filling disparity algorithms: thus it fills the disparity map with values estimated according to their neighbourhood.

Functions

add_empty_filling_band(output_dataset, filling_types)

Add filling attribute to dataset or band to filling attribute

update_filling(output_dataset[, filling, filling_type])

Update filling attribute of dataset with an additional mask

Module Contents

cars.applications.dense_match_filling.fill_disp_wrappers.add_empty_filling_band(output_dataset: xarray.Dataset, filling_types: list)[source]

Add filling attribute to dataset or band to filling attribute if it already exists

Parameters:
  • output_dataset – output dataset

  • filling – input mask of filled pixels

  • band_filling – type of filling (zero padding or plane)

cars.applications.dense_match_filling.fill_disp_wrappers.update_filling(output_dataset: xarray.Dataset, filling: numpy.ndarray = None, filling_type: str = None)[source]

Update filling attribute of dataset with an additional mask

Parameters:
  • output_dataset – output dataset

  • filling – input mask of filled pixels

  • band_filling – type of filling (zero padding or plane)