cloudViewer.pipelines.registration.L1Loss#
- class cloudViewer.pipelines.registration.L1Loss#
The loss \(\rho(r)\) for a given residual
ris given by:\[\rho(r) = |r|\]The weight \(w(r)\) for a given residual
ris given by:\[w(r) = \frac{1}{|r|}\]- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: cloudViewer.pipelines.registration.L1Loss) -> None
Default constructor
__init__(self: cloudViewer.pipelines.registration.L1Loss, arg0: cloudViewer.pipelines.registration.L1Loss) -> None
Copy constructor
- weight(self, residual)#
Obtain the weight for the given residual according to the robust kernel model.
- Parameters:
residual (SupportsFloat) – value obtained during the optimization problem
- Returns:
float