cloudViewer.pipelines.registration.L2Loss#
- class cloudViewer.pipelines.registration.L2Loss#
The loss \(\rho(r)\) for a given residual
ris given by:\[\rho(r) = \frac{r^2}{2}\]The weight \(w(r)\) for a given residual
ris given by:\[w(r) = 1\]- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: cloudViewer.pipelines.registration.L2Loss) -> None
Default constructor
__init__(self: cloudViewer.pipelines.registration.L2Loss, arg0: cloudViewer.pipelines.registration.L2Loss) -> 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