This class holds methods for creating distance-based weight matrices and for interpolating signals.
More...
#include <interpolation.h>
|
| static QSharedPointer< Eigen::SparseMatrix< float > > | createInterpolationMat (const QVector< int > &vecProjectedSensors, const QSharedPointer< Eigen::MatrixXd > matDistanceTable, double(*interpolationFunction)(double), const double dCancelDist=FLOAT_INFINITY, const QVector< int > &vecExcludeIndex=QVector< int >()) |
| | createInterpolationMat Calculates the weight matrix for interpolation.
|
| static Eigen::VectorXf | interpolateSignal (const QSharedPointer< Eigen::SparseMatrix< float > > matInterpolationMatrix, const QSharedPointer< Eigen::VectorXf > &vecMeasurementData) |
| | interpolateSignal Interpolates sensor data using the weight matrix (shared pointer version).
|
| static Eigen::VectorXf | interpolateSignal (const Eigen::SparseMatrix< float > &matInterpolationMatrix, const Eigen::VectorXf &vecMeasurementData) |
| | interpolateSignal Interpolates sensor data using the weight matrix (reference version).
|
| static double | linear (const double dIn) |
| | linear Identity interpolation function.
|
| static double | gaussian (const double dIn) |
| | gaussian Gaussian interpolation function (sigma=1).
|
| static double | square (const double dIn) |
| | square Negative parabola interpolation function with y-offset of 1.
|
| static double | cubic (const double dIn) |
| | cubic Cubic hyperbola interpolation function.
|
This class holds methods for creating distance-based weight matrices and for interpolating signals.
This class holds methods for creating distance-based weight matrices and for interpolating signals.
Definition at line 77 of file interpolation.h.
◆ ConstSPtr
◆ SPtr
◆ Interpolation()
| DISP3DRHILIB::Interpolation::Interpolation |
( |
| ) |
|
|
delete |
◆ createInterpolationMat()
| QSharedPointer< SparseMatrix< float > > Interpolation::createInterpolationMat |
( |
const QVector< int > & | vecProjectedSensors, |
|
|
const QSharedPointer< Eigen::MatrixXd > | matDistanceTable, |
|
|
double(* | interpolationFunction )(double), |
|
|
const double | dCancelDist = FLOAT_INFINITY, |
|
|
const QVector< int > & | vecExcludeIndex = QVector<int>() ) |
|
static |
createInterpolationMat Calculates the weight matrix for interpolation.
Definition at line 59 of file interpolation.cpp.
◆ cubic()
| double Interpolation::cubic |
( |
const double | dIn | ) |
|
|
static |
◆ gaussian()
| double Interpolation::gaussian |
( |
const double | dIn | ) |
|
|
static |
gaussian Gaussian interpolation function (sigma=1).
Definition at line 153 of file interpolation.cpp.
◆ interpolateSignal() [1/2]
| Eigen::VectorXf DISP3DRHILIB::Interpolation::interpolateSignal |
( |
const Eigen::SparseMatrix< float > & | matInterpolationMatrix, |
|
|
const Eigen::VectorXf & | vecMeasurementData ) |
|
static |
interpolateSignal Interpolates sensor data using the weight matrix (reference version).
◆ interpolateSignal() [2/2]
| Eigen::VectorXf DISP3DRHILIB::Interpolation::interpolateSignal |
( |
const QSharedPointer< Eigen::SparseMatrix< float > > | matInterpolationMatrix, |
|
|
const QSharedPointer< Eigen::VectorXf > & | vecMeasurementData ) |
|
static |
interpolateSignal Interpolates sensor data using the weight matrix (shared pointer version).
◆ linear()
| double Interpolation::linear |
( |
const double | dIn | ) |
|
|
static |
◆ square()
| double Interpolation::square |
( |
const double | dIn | ) |
|
|
static |
square Negative parabola interpolation function with y-offset of 1.
Definition at line 160 of file interpolation.cpp.
The documentation for this class was generated from the following files: