pandora.refinement.quadratic

This module contains functions associated to the quadratic method used in the refinement step.

Classes

Quadratic

Quadratic class allows to perform the subpixel cost refinement step

Module Contents

class pandora.refinement.quadratic.Quadratic(**cfg: str)[source]

Bases: pandora.refinement.refinement.AbstractRefinement

Quadratic class allows to perform the subpixel cost refinement step

static refinement_method(cost: numpy.ndarray, disp: float, measure: str) Tuple[float, float, int][source]
cfg[source]
_refinement_method_name = ''[source]
static check_conf(**cfg: str) Dict[str, str][source]

Add default values to the dictionary if there are missing elements and check if the dictionary is correct

Parameters:

cfg (dict) – refinement configuration

Return cfg:

refinement configuration updated

Return type:

dict

desc() None[source]

Describes the subpixel refinement method :return: None