Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpScale Class Reference

#include <vpScale.h>

Public Member Functions

 vpScale ()
 vpScale (double kernel_bandwidth, unsigned int dim=1)
 vpScale (const vpScale &)=default
virtual ~vpScale ()=default
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)
vpScaleoperator= (const vpScale &)=default

Detailed Description

Contains various estimators for scale.
Methods : Median Absolute Deviation (MAD), MPDE, Mean shift kernel density estimation.

Author
Andrew Comport
Date
24/10/03

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.

Author
Andrew Comport
Date
24/10/03

Definition at line 68 of file vpScale.h.

Constructor & Destructor Documentation

◆ vpScale() [1/3]

BEGIN_VISP_NAMESPACE vpScale::vpScale ( )

Constructor.

Definition at line 50 of file vpScale.cpp.

Referenced by operator=(), vpScale(), and ~vpScale().

◆ vpScale() [2/3]

vpScale::vpScale ( double kernel_bandwidth,
unsigned int dim = 1 )

Constructor.

Definition at line 61 of file vpScale.cpp.

◆ vpScale() [3/3]

vpScale::vpScale ( const vpScale & )
default

References vpScale().

◆ ~vpScale()

virtual vpScale::~vpScale ( )
virtualdefault

References vpScale().

Member Function Documentation

◆ KernelDensity()

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

Definition at line 111 of file vpScale.cpp.

References KernelDensity_EPANECHNIKOV().

Referenced by MeanShift().

◆ KernelDensity_EPANECHNIKOV()

double vpScale::KernelDensity_EPANECHNIKOV ( vpColVector & X)

Definition at line 208 of file vpScale.cpp.

References vpException::fatalError.

Referenced by KernelDensity().

◆ KernelDensityGradient()

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

Definition at line 160 of file vpScale.cpp.

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

Referenced by MeanShift().

◆ KernelDensityGradient_EPANECHNIKOV()

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

Definition at line 236 of file vpScale.cpp.

References vpException::fatalError, and vpMath::sqr().

Referenced by KernelDensityGradient().

◆ MeanShift()

double vpScale::MeanShift ( vpColVector & error)

Definition at line 74 of file vpScale.cpp.

References KernelDensity(), KernelDensityGradient(), and vpMath::sqr().

◆ operator=()

vpScale & vpScale::operator= ( const vpScale & )
default

References vpScale().