pandora2d.refinement.refinement
This module contains functions associated to the refinement computation step.
Module Contents
Classes
Abstract Refinement class |
- class pandora2d.refinement.refinement.AbstractRefinement[source]
Abstract Refinement class
- classmethod register_subclass(short_name: str)[source]
Allows to register the subclass with its short name
- Parameters:
short_name (string) – the subclass to be registered
- abstract refinement_method(cost_volumes: xarray.Dataset, pixel_maps: xarray.Dataset) Tuple[numpy.ndarray, numpy.ndarray] [source]
Return the subpixel disparity maps
- Parameters:
cost_volumes (xarray.dataset) – cost_volumes 4D row, col, disp_col, disp_row
pixel_maps (xarray.dataset) – pixels disparity maps
- Returns:
the refined disparity maps
- Return type:
Tuple[np.ndarray, np.ndarray]