30 #include <Math/Math3d.h>
39 class CRFCSignatureFeatureEntry;
46 const CCalibration* calibration, std::vector<Vec3d>& aPossibleLocations,
const int desiredNumberOfLocations = 0);
49 const std::vector<float>& aSaturationHistogram, CByteImage* pProbabilityImage);
57 const CCalibration* calibration,
const Vec3d upwardsVector,
Vec3d& vPosition, Mat3d& mOrientation,
float&
distance,
58 float& fProbability, CByteImage* pResultImage = NULL);
60 static void FindAllObjectsRGBD(
const CByteImage* pHSVImage,
const CByteImage* pRGBImage,
const std::vector<CHypothesisPoint*>& aScenePoints,
61 const CCalibration* calibration,
const Vec3d upwardsVector, std::vector<std::string>& aNames, std::vector<Vec3d>& aPositions,
62 std::vector<Mat3d>& aOrientations, std::vector<float>& aProbabilities);
65 const CCalibration* calibration,
const Vec3d upwardsVector,
const std::string objectName,
const int numDescriptors);
68 static void SaveObjectDescriptorRFCH(
const CByteImage* pRGBImage,
const CByteImage* pObjectMask,
const std::string sObjectName,
const int nDescriptorNumber = 0);
69 static void LoadObjectDescriptorRFCH(
const std::string sObjectName,
const int nDescriptorNumber, CRFCSignatureFeatureEntry*& pFeatureDescriptor);
71 static void FindObjectRFCH(CRFCSignatureFeatureEntry* pFeatureDescriptor, CByteImage* pRGBImage,
const std::vector<CHypothesisPoint*>& aScenePoints,
72 const CCalibration* calibration,
Vec3d& vPosition, Mat3d& mOrientation,
float& fProbability, CByteImage* pResultImage = NULL);
73 static void FindAllObjectsRFCH(
const CByteImage* pRGBImage,
const CCalibration* calibration,
const std::vector<CHypothesisPoint*>& aScenePoints,
74 std::vector<std::string>& aNames, std::vector<Vec3d>& aPositions, std::vector<Mat3d>& aOrientations, std::vector<float>& aProbabilities);