Visual Servoing Platform
version 3.6.1 under development (2024-11-21)
|
#include <visp3/core/vpScale.h>
Public Member Functions | |
vpScale () | |
vpScale (double kernel_bandwidth, unsigned int dim=1) | |
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) |
Contains various estimators for scale.
Methods : Median Absolute Deviation (MAD), MPDE, Mean shift kernel density estimation.
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.
BEGIN_VISP_NAMESPACE vpScale::vpScale | ( | ) |
Constructor.
Definition at line 52 of file vpScale.cpp.
vpScale::vpScale | ( | double | kernel_bandwidth, |
unsigned int | dim = 1 |
||
) |
Constructor.
Definition at line 63 of file vpScale.cpp.
|
virtual |
Destructor.
Definition at line 75 of file vpScale.cpp.
double vpScale::KernelDensity | ( | vpColVector & | error, |
unsigned int | position | ||
) |
Definition at line 116 of file vpScale.cpp.
References vpArray2D< Type >::getRows(), and KernelDensity_EPANECHNIKOV().
Referenced by MeanShift().
double vpScale::KernelDensity_EPANECHNIKOV | ( | vpColVector & | X | ) |
Definition at line 213 of file vpScale.cpp.
References vpException::fatalError.
Referenced by KernelDensity().
double vpScale::KernelDensityGradient | ( | vpColVector & | error, |
unsigned int | position | ||
) |
Definition at line 165 of file vpScale.cpp.
References vpArray2D< Type >::getRows(), KernelDensityGradient_EPANECHNIKOV(), and vpMath::sqr().
Referenced by MeanShift().
double vpScale::KernelDensityGradient_EPANECHNIKOV | ( | double | X, |
unsigned int | n | ||
) |
Definition at line 241 of file vpScale.cpp.
References vpException::fatalError, and vpMath::sqr().
Referenced by KernelDensityGradient().
double vpScale::MeanShift | ( | vpColVector & | error | ) |
Definition at line 79 of file vpScale.cpp.
References vpArray2D< Type >::getRows(), KernelDensity(), KernelDensityGradient(), and vpMath::sqr().