g2o
|
Tukey Cost Function. More...
#include <robust_kernel_impl.h>
Public Member Functions | |
virtual void | robustify (double e2, Vector3D &rho) const |
Public Member Functions inherited from g2o::RobustKernel | |
RobustKernel () | |
RobustKernel (double delta) | |
virtual | ~RobustKernel () |
virtual void | setDelta (double delta) |
double | delta () const |
Additional Inherited Members | |
Protected Attributes inherited from g2o::RobustKernel | |
double | _delta |
Tukey Cost Function.
See http://research.microsoft.com/en-us/um/people/zhang/Papers/ZhangIVC-97-01.pdf
If e2^(1/2) <= d rho(e) = d^2 * (1 - ( 1 - e2 / d^2)^3) / 3
else
rho(e) = d^2 / 3
Definition at line 169 of file robust_kernel_impl.h.
|
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 128 of file robust_kernel_impl.cpp.
References g2o::RobustKernel::_delta.