TooN 2.1
Public Member Functions | Public Attributes
RobustIII< Precision > Struct Template Reference

A reweighting class where the objective function tends to a fixed value, rather than infinity. More...

#include <irls.h>

List of all members.

Public Member Functions

void set_sd (Precision x)
Precision reweight (Precision x) const
Precision objective (Precision x) const

Public Attributes

Precision sd_inlier

Detailed Description

template<typename Precision>
struct TooN::RobustIII< Precision >

A reweighting class where the objective function tends to a fixed value, rather than infinity.

Note that this is not therefore a proper distribution since its integral is not finite. It is considerably more efficient than RobustI and II, since log() is not used.


Member Function Documentation

Precision reweight ( Precision  x) const

Returns $w(x)$.

Returns $\int xw(x)dx$.

References RobustIII< Precision >::sd_inlier.


Member Data Documentation

Precision sd_inlier

Inlier standard deviation squared.

Referenced by RobustIII< Precision >::reweight(), and RobustIII< Precision >::set_sd().