pandora2d.common
This module contains functions allowing to save the results and the configuration of Pandora pipeline.
Module Contents
Functions
|
Save results in the output directory |
|
Create the dataset containing disparity maps |
- pandora2d.common.save_dataset(dataset: xarray.Dataset, output: str) None [source]
Save results in the output directory
- Parameters:
dataset (xr.Dataset) –
Dataset which contains:
lines : the disparity map for the lines 2D DataArray (row, col)
columns : the disparity map for the columns 2D DataArray (row, col)
output (string) – output directory
- Returns:
None
- pandora2d.common.dataset_disp_maps(delta_row: numpy.ndarray, delta_col: numpy.ndarray) xarray.Dataset [source]
Create the dataset containing disparity maps
- Parameters:
delta_row (np.ndarray) – disparity map for row
delta_col (np.ndarray) – disparity map for col
- Returns:
dataset: Dataset with the disparity maps with the data variables :
row_map 2D xarray.DataArray (row, col)
col_map 2D xarray.DataArray (row, col)
- Return type:
xarray.Dataset