Public Member Functions | List of all members
g2o::RobustKernelPseudoHuber Class Reference

Pseudo Huber Cost Function. More...

#include <robust_kernel_impl.h>

Inheritance diagram for g2o::RobustKernelPseudoHuber:
Inheritance graph
[legend]

Public Member Functions

virtual void robustify (double e2, Eigen::Vector3d &rho) const
 
- Public Member Functions inherited from g2o::RobustKernel
double delta () const
 
 RobustKernel ()
 
 RobustKernel (double delta)
 
virtual void setDelta (double delta)
 
virtual ~RobustKernel ()
 

Additional Inherited Members

- Protected Attributes inherited from g2o::RobustKernel
double _delta
 

Detailed Description

Pseudo Huber Cost Function.

The smooth pseudo huber cost function: See http://en.wikipedia.org/wiki/Huber_loss_function

2 e 2 d (sqrt(– + 1) - 1) 2 d

Definition at line 121 of file robust_kernel_impl.h.

Member Function Documentation

void g2o::RobustKernelPseudoHuber::robustify ( double  squaredError,
Eigen::Vector3d &  rho 
) const
virtual

compute the scaling factor for a error: The error is e^T Omega e The output rho is rho[0]: The actual scaled error value rho[1]: First derivative of the scaling function rho[2]: Second derivative of the scaling function

Implements g2o::RobustKernel.

Definition at line 116 of file robust_kernel_impl.cpp.


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


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47