Go to the documentation of this file.
29 #include <Math/Math3d.h>
31 #include <pcl/point_cloud.h>
32 #include <pcl/point_types.h>
44 void InterpolateRotation(
const Mat3d m1,
const Mat3d m2,
const float fWeight, Mat3d& mResult);
47 void ClusterXMeans(
const std::vector<CHypothesisPoint*>& aPoints,
const int nMinNumClusters,
const int nMaxNumClusters,
const float fBICFactor, std::vector<std::vector<CHypothesisPoint*> >& aaPointClusters);
48 void ClusterXMeans(
const std::vector<Vec3d>& aPoints,
const int nMinNumClusters,
const int nMaxNumClusters,
const float fBICFactor, std::vector<std::vector<Vec3d> >& aaPointClusters, std::vector<std::vector<int> >& aaOldIndizes);
50 void FilterForegroundPoints(
const std::vector<CHypothesisPoint*>& aAllPoints,
const CByteImage* pForegroundImage,
const CCalibration* calibration, std::vector<CHypothesisPoint*>& aForegroundPoints);
57 void GetMeanAndVariance(
const std::vector<CHypothesisPoint*>& pHypothesisPoints,
Vec3d& vMean,
float& fVariance);
59 void RemoveOutliers(std::vector<Vec3d>& aPoints,
const float fStdDevFactor, std::vector<int>* pOldIndices);
60 void RemoveOutliers(std::vector<CHypothesisPoint*>& aPoints,
const float fStdDevFactor);
66 void ConvertRGB2HSV(
const unsigned char r,
const unsigned char g,
const unsigned char b,
unsigned char& h,
unsigned char&
s,
unsigned char&
v);
68 void CreateHueAndSaturationHistogramInWindow(
const CByteImage* pHSVImage,
const int nMinX,
const int nMinY,
const int nMaxX,
const int nMaxY, std::vector<float>& aHueHistogram, std::vector<float>& aSaturationHistogram);
72 float GetHistogramDistanceL1(
const std::vector<float>& aHistogram1,
const std::vector<float>& aHistogram2);
73 float GetHistogramDistanceL2(
const std::vector<float>& aHistogram1,
const std::vector<float>& aHistogram2);
74 float GetHistogramDistanceX2(
const std::vector<float>& aHistogram1,
const std::vector<float>& aHistogram2);
76 void DrawCross(CByteImage* pGreyImage,
int x,
int y,
int nBrightness);
77 void DrawCross(CByteImage* pColorImage,
int x,
int y,
int r,
int g,
int b);
78 void DrawFatCross(CByteImage* pColorImage,
int x,
int y,
int r,
int g,
int b);
88 void FillHolesRGB(
const CByteImage* pInputImage, CByteImage* pOutputImage,
const int nRadius = 1);
89 void FillHolesGray(
const CByteImage* pInputImage, CByteImage* pOutputImage,
const int nRadius = 1);
92 void SortByPositionZ(std::vector<CHypothesisPoint*>& pHypothesisPoints);
93 void SortByPositionZ(std::vector<CHypothesisPoint*>& pHypothesisPoints,
const int nLeftLimit,
const int nRightLimit);
VectorXD< 2, double > Vec2d
VectorXD< 3, double > Vec3d
double v(double t, double v0, double a0, double j)
double s(double t, double s0, double v0, double a0, double j)