|
Functions | |
void | CalculateEdgeImageFromImageAndDisparity (CByteImage *pImageGray, CByteImage *pDisparity, CByteImage *pEdgeImage) |
void | CalculateForegroundRatioOfHypothesis (const CObjectHypothesis *pHypothesis, const CByteImage *pForegroundImage, const CCalibration *calibration, float &fForegroundRatio, int &nNumForegroundPixels) |
bool | CheckIfPointIsAlreadyInHypothesis (const Vec3d vPoint, const CObjectHypothesis *pHypothesis) |
void | ClusterXMeans (const std::vector< CHypothesisPoint * > &aPoints, const int nMinNumClusters, const int nMaxNumClusters, const float fBICFactor, std::vector< std::vector< CHypothesisPoint * > > &aaPointClusters) |
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 > > &aaOldIndices) |
pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | ConfirmedPointsToPCL (const CObjectHypothesis *pHypothesis) |
void | ConvertRGB2HSV (const unsigned char r, const unsigned char g, const unsigned char b, unsigned char &h, unsigned char &s, unsigned char &v) |
int | CountForegroundPixelsInRectangle (const Vec2d vMiddleMin, const Vec2d vMinMiddle, const Vec2d vMaxMiddle, const Vec2d vMiddleMax, const CByteImage *pForegroundImage) |
void | CreateHueAndSaturationHistogram (const CObjectHypothesis *pHypothesis, std::vector< float > &aHueHistogram, std::vector< float > &aSaturationHistogram) |
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) |
void | CreateObjectSegmentationMask (const CObjectHypothesis *pHypothesis, const CCalibration *calibration, CByteImage *&pForegroundImage) |
void | CreateSegmentationProbabilityMap (const CObjectHypothesis *pHypothesis, const CCalibration *calibration, CByteImage *&pProbabilityImage) |
void | DrawCross (CByteImage *pColorImage, int x, int y, int r, int g, int b) |
void | DrawCross (CByteImage *pGreyImage, int x, int y, int nBrightness) |
void | DrawFatCross (CByteImage *pColorImage, int x, int y, int r, int g, int b) |
void | DrawHypothesis (CObjectHypothesis *pHypothesis, const CCalibration *calibration, CByteImage *pImage, const int nNumFusedHypotheses) |
void | FillHolesGray (const CByteImage *pInputImage, CByteImage *pOutputImage, const int nRadius) |
void | FillHolesRGB (const CByteImage *pInputImage, CByteImage *pOutputImage, const int nRadius) |
void | FilterForegroundPoints (const std::vector< CHypothesisPoint * > &aAllPoints, const CByteImage *pForegroundImage, const CCalibration *calibration, std::vector< CHypothesisPoint * > &aForegroundPoints) |
void | GetEnclosingRectangle (const Vec2d *pPoints, const int nNumPoints, const bool bUseSecondMaxPoints, Vec2d &p1, Vec2d &p2, Vec2d &p3, Vec2d &p4, bool &bRotated) |
float | GetHistogramDistanceL1 (const std::vector< float > &aHistogram1, const std::vector< float > &aHistogram2) |
float | GetHistogramDistanceL2 (const std::vector< float > &aHistogram1, const std::vector< float > &aHistogram2) |
float | GetHistogramDistanceX2 (const std::vector< float > &aHistogram1, const std::vector< float > &aHistogram2) |
float | GetHypothesesIntersectionRatio (const CObjectHypothesis *pHypothesis1, const CObjectHypothesis *pHypothesis2, const CCalibration *calibration) |
void | GetMeanAndVariance (const std::vector< CHypothesisPoint * > &pHypothesisPoints, Vec3d &vMean, float &fVariance) |
void | GetMeanAndVariance (const std::vector< Vec3d > &aPoints, Vec3d &vMean, float &fVariance) |
void | InterpolateRotation (const Mat3d m1, const Mat3d m2, const float fWeight, Mat3d &mResult) |
void | InterpolateTransformation (const Mat3d m1, const Vec3d v1, const Mat3d m2, const Vec3d v2, const float fWeight, Mat3d &mResult, Vec3d &vResult) |
void | NormalizeHistogram (std::vector< float > &aHistogram) |
bool | PointIsInForeground (const CHypothesisPoint *pPoint, const CByteImage *pForegroundImage, const CCalibration *calibration) |
bool | PointIsInForeground (const Vec3d vPoint, const CByteImage *pForegroundImage, const CCalibration *calibration) |
void | RemoveOutliers (std::vector< CHypothesisPoint * > &aPoints, const float fStdDevFactor) |
void | RemoveOutliers (std::vector< Vec3d > &aPoints, const float fStdDevFactor, std::vector< int > *pOldIndices) |
void | SetNumberInFileName (std::string &sFileName, int nNumber, int nNumDigits) |
void | SmoothHistogram (std::vector< float > &aHistogram) |
void | SortByPositionZ (std::vector< CHypothesisPoint * > &aHypothesisPoints) |
void | SortByPositionZ (std::vector< CHypothesisPoint * > &aHypothesisPoints, const int nLeftLimit, const int nRightLimit) |
void CalculateEdgeImageFromImageAndDisparity | ( | CByteImage * | pImageGray, |
CByteImage * | pDisparity, | ||
CByteImage * | pEdgeImage | ||
) |
Definition at line 1615 of file OLPTools.cpp.
void CalculateForegroundRatioOfHypothesis | ( | const CObjectHypothesis * | pHypothesis, |
const CByteImage * | pForegroundImage, | ||
const CCalibration * | calibration, | ||
float & | fForegroundRatio, | ||
int & | nNumForegroundPixels | ||
) |
bool CheckIfPointIsAlreadyInHypothesis | ( | const Vec3d | vPoint, |
const CObjectHypothesis * | pHypothesis | ||
) |
Definition at line 878 of file OLPTools.cpp.
void ClusterXMeans | ( | const std::vector< CHypothesisPoint * > & | aPoints, |
const int | nMinNumClusters, | ||
const int | nMaxNumClusters, | ||
const float | fBICFactor, | ||
std::vector< std::vector< CHypothesisPoint * > > & | aaPointClusters | ||
) |
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 > > & | aaOldIndices | ||
) |
Definition at line 113 of file OLPTools.cpp.
pcl::PointCloud< pcl::PointXYZRGBA >::Ptr ConfirmedPointsToPCL | ( | const CObjectHypothesis * | pHypothesis | ) |
void ConvertRGB2HSV | ( | const unsigned char | r, |
const unsigned char | g, | ||
const unsigned char | b, | ||
unsigned char & | h, | ||
unsigned char & | s, | ||
unsigned char & | v | ||
) |
Definition at line 969 of file OLPTools.cpp.
int CountForegroundPixelsInRectangle | ( | const Vec2d | vMiddleMin, |
const Vec2d | vMinMiddle, | ||
const Vec2d | vMaxMiddle, | ||
const Vec2d | vMiddleMax, | ||
const CByteImage * | pForegroundImage | ||
) |
Definition at line 621 of file OLPTools.cpp.
void CreateHueAndSaturationHistogram | ( | const CObjectHypothesis * | pHypothesis, |
std::vector< float > & | aHueHistogram, | ||
std::vector< float > & | aSaturationHistogram | ||
) |
Definition at line 1003 of file OLPTools.cpp.
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 | ||
) |
Definition at line 1061 of file OLPTools.cpp.
void CreateObjectSegmentationMask | ( | const CObjectHypothesis * | pHypothesis, |
const CCalibration * | calibration, | ||
CByteImage *& | pForegroundImage | ||
) |
void CreateSegmentationProbabilityMap | ( | const CObjectHypothesis * | pHypothesis, |
const CCalibration * | calibration, | ||
CByteImage *& | pProbabilityImage | ||
) |
void DrawCross | ( | CByteImage * | pColorImage, |
int | x, | ||
int | y, | ||
int | r, | ||
int | g, | ||
int | b | ||
) |
Definition at line 1202 of file OLPTools.cpp.
void DrawCross | ( | CByteImage * | pGreyImage, |
int | x, | ||
int | y, | ||
int | nBrightness | ||
) |
void DrawFatCross | ( | CByteImage * | pColorImage, |
int | x, | ||
int | y, | ||
int | r, | ||
int | g, | ||
int | b | ||
) |
Definition at line 1220 of file OLPTools.cpp.
void DrawHypothesis | ( | CObjectHypothesis * | pHypothesis, |
const CCalibration * | calibration, | ||
CByteImage * | pImage, | ||
const int | nNumFusedHypotheses | ||
) |
void FillHolesGray | ( | const CByteImage * | pInputImage, |
CByteImage * | pOutputImage, | ||
const int | nRadius | ||
) |
Definition at line 1527 of file OLPTools.cpp.
void FillHolesRGB | ( | const CByteImage * | pInputImage, |
CByteImage * | pOutputImage, | ||
const int | nRadius | ||
) |
void FilterForegroundPoints | ( | const std::vector< CHypothesisPoint * > & | aAllPoints, |
const CByteImage * | pForegroundImage, | ||
const CCalibration * | calibration, | ||
std::vector< CHypothesisPoint * > & | aForegroundPoints | ||
) |
Definition at line 289 of file OLPTools.cpp.
void GetEnclosingRectangle | ( | const Vec2d * | pPoints, |
const int | nNumPoints, | ||
const bool | bUseSecondMaxPoints, | ||
Vec2d & | p1, | ||
Vec2d & | p2, | ||
Vec2d & | p3, | ||
Vec2d & | p4, | ||
bool & | bRotated | ||
) |
Definition at line 450 of file OLPTools.cpp.
float GetHistogramDistanceL1 | ( | const std::vector< float > & | aHistogram1, |
const std::vector< float > & | aHistogram2 | ||
) |
Definition at line 1142 of file OLPTools.cpp.
float GetHistogramDistanceL2 | ( | const std::vector< float > & | aHistogram1, |
const std::vector< float > & | aHistogram2 | ||
) |
Definition at line 1157 of file OLPTools.cpp.
float GetHypothesesIntersectionRatio | ( | const CObjectHypothesis * | pHypothesis1, |
const CObjectHypothesis * | pHypothesis2, | ||
const CCalibration * | calibration | ||
) |
void GetMeanAndVariance | ( | const std::vector< CHypothesisPoint * > & | pHypothesisPoints, |
Vec3d & | vMean, | ||
float & | fVariance | ||
) |
void GetMeanAndVariance | ( | const std::vector< Vec3d > & | aPoints, |
Vec3d & | vMean, | ||
float & | fVariance | ||
) |
Definition at line 714 of file OLPTools.cpp.
void InterpolateRotation | ( | const Mat3d | m1, |
const Mat3d | m2, | ||
const float | fWeight, | ||
Mat3d & | mResult | ||
) |
void InterpolateTransformation | ( | const Mat3d | m1, |
const Vec3d | v1, | ||
const Mat3d | m2, | ||
const Vec3d | v2, | ||
const float | fWeight, | ||
Mat3d & | mResult, | ||
Vec3d & | vResult | ||
) |
void NormalizeHistogram | ( | std::vector< float > & | aHistogram | ) |
bool PointIsInForeground | ( | const CHypothesisPoint * | pPoint, |
const CByteImage * | pForegroundImage, | ||
const CCalibration * | calibration | ||
) |
bool PointIsInForeground | ( | const Vec3d | vPoint, |
const CByteImage * | pForegroundImage, | ||
const CCalibration * | calibration | ||
) |
Definition at line 310 of file OLPTools.cpp.
void RemoveOutliers | ( | std::vector< CHypothesisPoint * > & | aPoints, |
const float | fStdDevFactor | ||
) |
void RemoveOutliers | ( | std::vector< Vec3d > & | aPoints, |
const float | fStdDevFactor, | ||
std::vector< int > * | pOldIndices | ||
) |
Definition at line 759 of file OLPTools.cpp.
void SetNumberInFileName | ( | std::string & | sFileName, |
int | nNumber, | ||
int | nNumDigits | ||
) |
void SmoothHistogram | ( | std::vector< float > & | aHistogram | ) |
void SortByPositionZ | ( | std::vector< CHypothesisPoint * > & | aHypothesisPoints | ) |
void SortByPositionZ | ( | std::vector< CHypothesisPoint * > & | aHypothesisPoints, |
const int | nLeftLimit, | ||
const int | nRightLimit | ||
) |