Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions
mrpt::vision::RobustKernel< static_cast< int >(rkLeastSquares), T > Struct Template Reference

Detailed Description

template<typename T>
struct mrpt::vision::RobustKernel< static_cast< int >(rkLeastSquares), T >

No robust kernel, use standard least squares: rho(r)= 1/2 * r^2.

Note
the "static_cast<>" in the declaration is to avoid a bug in MSVC 2008

Definition at line 61 of file robust_kernels.h.

#include <mrpt/vision/robust_kernels.h>

Public Member Functions

eval (const T delta, T *out_1st_deriv=NULL)
 Evaluates the kernel function at error norm = "delta" and returns robustified squared error and, optionally, the 1st derivative of sqrt(2*rho(r)) at this point.
 

Member Function Documentation

template<typename T >
T mrpt::vision::RobustKernel< static_cast< int >(rkLeastSquares), T >::eval ( const T  delta,
T *  out_1st_deriv = NULL 
)
inline

Evaluates the kernel function at error norm = "delta" and returns robustified squared error and, optionally, the 1st derivative of sqrt(2*rho(r)) at this point.

Definition at line 66 of file robust_kernels.h.




Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013