ViSP  2.8.0
vpScale Class Reference

#include <vpScale.h>

Public Member Functions

 vpScale ()
 vpScale (double, int, int)
virtual ~vpScale (void)
double MeanShift (vpColVector &error)
double KernelDensity (vpColVector &error, unsigned int position)
double KernelDensityGradient (vpColVector &error, unsigned int position)
double KernelDensity_EPANECHNIKOV (vpColVector &X)
double KernelDensityGradient_EPANECHNIKOV (double X, unsigned int n)

Detailed Description

Contains different methods for estimating the robust scale of an error distribution.

Methods of Median Absolute Deviation and Density Gradient estimation using the Mean Shift method.

Andrew Comport

Definition at line 79 of file vpScale.h.

Constructor & Destructor Documentation

vpScale::vpScale ( )


Definition at line 62 of file vpScale.cpp.

vpScale::vpScale ( double  kernel_bandwidth,
int  dimension = 1,
int  kernel_type = EPANECHNIKOV 


Definition at line 78 of file vpScale.cpp.

vpScale::~vpScale ( void  )


Definition at line 96 of file vpScale.cpp.

Member Function Documentation

double vpScale::KernelDensity ( vpColVector error,
unsigned int  position 

Definition at line 147 of file vpScale.cpp.

References vpMatrix::getRows(), and KernelDensity_EPANECHNIKOV().

Referenced by MeanShift().

double vpScale::KernelDensity_EPANECHNIKOV ( vpColVector X)

Definition at line 260 of file vpScale.cpp.

Referenced by KernelDensity().

double vpScale::KernelDensityGradient ( vpColVector error,
unsigned int  position 

Definition at line 203 of file vpScale.cpp.

References vpMatrix::getRows(), KernelDensityGradient_EPANECHNIKOV(), and vpMath::sqr().

Referenced by MeanShift().

double vpScale::KernelDensityGradient_EPANECHNIKOV ( double  X,
unsigned int  n 

Definition at line 292 of file vpScale.cpp.

References vpMath::sqr().

Referenced by KernelDensityGradient().

double vpScale::MeanShift ( vpColVector error)