g2o
|
scale a robust kernel to another delta (window size) More...
#include <robust_kernel_impl.h>
Public Member Functions | |
RobustKernelScaleDelta (const RobustKernelPtr &kernel, double delta=1.) | |
RobustKernelScaleDelta (double delta=1.) | |
const RobustKernelPtr | kernel () const |
return the underlying kernel More... | |
void | setKernel (const RobustKernelPtr &ptr) |
use another kernel for the underlying operation More... | |
void | robustify (double error, Vector3D &rho) const |
Public Member Functions inherited from g2o::RobustKernel | |
RobustKernel () | |
RobustKernel (double delta) | |
virtual | ~RobustKernel () |
virtual void | setDelta (double delta) |
double | delta () const |
Protected Attributes | |
RobustKernelPtr | _kernel |
Protected Attributes inherited from g2o::RobustKernel | |
double | _delta |
scale a robust kernel to another delta (window size)
Scales a robust kernel to another window size. Useful, in case if one implements a kernel which only is designed for a fixed window size.
Definition at line 42 of file robust_kernel_impl.h.
|
explicit |
construct the scaled kernel ontop of another kernel which might be shared accross several scaled kernels
Definition at line 34 of file robust_kernel_impl.cpp.
|
explicit |
Definition at line 40 of file robust_kernel_impl.cpp.
|
inline |
|
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 50 of file robust_kernel_impl.cpp.
References g2o::RobustKernel::_delta, and _kernel.
void g2o::RobustKernelScaleDelta::setKernel | ( | const RobustKernelPtr & | ptr | ) |
use another kernel for the underlying operation
Definition at line 45 of file robust_kernel_impl.cpp.
References _kernel.
|
protected |
Definition at line 60 of file robust_kernel_impl.h.
Referenced by robustify(), and setKernel().