Skip to main content

RobustKernel

Trait RobustKernel 

Source
pub trait RobustKernel {
    // Required methods
    fn weight(&self, residual: f64) -> f64;
    fn rho(&self, residual: f64) -> f64;
}
Expand description

Robust loss kernel used by registration and estimation algorithms.

Required Methods§

Source

fn weight(&self, residual: f64) -> f64

Computes the robust weight for a residual magnitude.

Source

fn rho(&self, residual: f64) -> f64

Computes the robust rho value for a residual magnitude.

Implementors§