![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <RobustKernel.h>


Public Member Functions | |
| TukeyLoss (double k) | |
| Parametrized Constructor. More... | |
| double | Weight (double residual) const override |
Public Member Functions inherited from cloudViewer::pipelines::registration::RobustKernel | |
| virtual | ~RobustKernel ()=default |
Public Attributes | |
| double | k_ |
This is the so called Tukey loss function which aggressively attempts to suppress large errors.
The loss p(r) for a given residual 'r' is computed as follow:
p(r) = k^2 * (1 - (1 - r / k^2)^3 ) / 2 for abs(r) <= k, p(r) = k^2 / 2 for abs(r) > k.
Definition at line 175 of file RobustKernel.h.
|
inlineexplicit |
Parametrized Constructor.
| k | Is a tunning constant for the Tukey Loss function. |
Definition at line 180 of file RobustKernel.h.
|
overridevirtual |
The weight w(r) for a given residual 'r' is computed as follow: p(r) = (1 - (r / k)^2 )^2 for abs(r) <= k, p(r) = 0.0 for abs(r) > k. Where k Is the scaling paramter of the loss function.
| residual | Residual value obtained during the optimization step. |
Implements cloudViewer::pipelines::registration::RobustKernel.
Definition at line 44 of file RobustKernel.cpp.
| double cloudViewer::pipelines::registration::TukeyLoss::k_ |
Definition at line 192 of file RobustKernel.h.
Referenced by cloudViewer::pipelines::registration::pybind_robust_kernels(), and Weight().