Point Cloud Library (PCL)  1.3.1
Namespaces | Functions | Variables
distances.h File Reference
#include <Eigen/Core>
#include <vector>
Include dependency graph for distances.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  pcl
 

Software License Agreement (BSD License)


namespace  pcl::distances

Functions

double pcl::distances::computeMedian (double *fvec, int m)
 Compute the median value from a set of doubles.
double pcl::distances::huber (const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt, double sigma)
 Use a Huber kernel to estimate the distance between two vectors.
double pcl::distances::huber (double diff, double sigma)
 Use a Huber kernel to estimate the distance between two vectors.
double pcl::distances::gedikli (double val, double clipping, double slope=4)
 Use a Gedikli kernel to estimate the distance between two vectors (for more information, see.
double pcl::distances::l1 (const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt)
 Compute the Manhattan distance between two eigen vectors.
double pcl::distances::l2 (const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt)
 Compute the Euclidean distance between two eigen vectors.
double pcl::distances::l2Sqr (const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt)
 Compute the squared Euclidean distance between two eigen vectors.

Variables

double(* pcl::distances::huberFunctionPtr )(const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt, double sigma) = &pcl::distances::huber
 pointer to huber function
double(* pcl::distances::l1FunctionPtr )(const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt) = &pcl::distances::l1
 pointer to l1 function
double(* pcl::distances::l2FunctionPtr )(const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt) = &pcl::distances::l2
 pointer to l2 function
double(* pcl::distances::l2SqrFunctionPtr )(const Eigen::Vector4f &p_src, const Eigen::Vector4f &p_tgt) = &pcl::distances::l2Sqr
 pointer to l2Sqr function
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines