ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::pipelines::registration::RobustKernel Class Referenceabstract

#include <RobustKernel.h>

Inheritance diagram for cloudViewer::pipelines::registration::RobustKernel:

Public Member Functions

virtual ~RobustKernel ()=default
 
virtual double Weight (double residual) const =0
 

Detailed Description

Base class that models a robust kernel for outlier rejection. The virtual function Weight(double residual); must be implemented in derived classes. This method will be only difference between different types of kernels and can be easily extended.

The kernels implemented so far and the notation has been inspired by the publication: "Analysis of Robust Functions for Registration Algorithms", Philippe Babin et al.

We obtain the correspondendent weights for each residual and turn the non-linear least-square problem into a IRSL (Iteratively Reweighted Least-Squares) problem. Changing the weight of each residual is equivalent to changing the robust kernel used for outlier rejection.

The different loss functions will only impact in the weight for each residual during the optimization step. For more information please see also: “Adaptive Robust Kernels for Non-Linear Least Squares Problems”, N. Chebrolu et al. The weight w(r) for a given residual r and a given loss function p(r) is computed as follow: w(r) = (1 / r) * (dp(r) / dr) , for all r Therefore, the only impact of the choice on the kernel is thorugh its first order derivate.

Definition at line 43 of file RobustKernel.h.

Constructor & Destructor Documentation

◆ ~RobustKernel()

virtual cloudViewer::pipelines::registration::RobustKernel::~RobustKernel ( )
virtualdefault

Member Function Documentation

◆ Weight()

virtual double cloudViewer::pipelines::registration::RobustKernel::Weight ( double  residual) const
pure virtual

Obtain the weight for the given residual according to the robust kernel model. This method must be implemented in the derived classes that model the different robust kernels.

Parameters
residualResidual value obtained during the optimization step.

Implemented in cloudViewer::pipelines::registration::PyRobustKernelT< RobustKernelBase >, cloudViewer::pipelines::registration::TukeyLoss, cloudViewer::pipelines::registration::GMLoss, cloudViewer::pipelines::registration::CauchyLoss, cloudViewer::pipelines::registration::HuberLoss, cloudViewer::pipelines::registration::L1Loss, and cloudViewer::pipelines::registration::L2Loss.

Referenced by cloudViewer::pipelines::registration::pybind_robust_kernels().


The documentation for this class was generated from the following file: