#include <SegmentableDatabase.h>
Public Member Functions | |
| bool | AddClass (const std::string &classPath, const std::string &dataBasePrefix, std::string overrideClassName="") |
| void | CalculateCorrectedOrientation (const Vec3d &position, const Mat3d &orientation, Mat3d &resultOrientation) |
| bool | CalculateCorrectedPosition (const char *pOIVFilePath, const Vec3d &triangulatedPosition, const Mat3d &orientation, const CByteImage *pMask, int nSize, Vec3d &correctedPosition, float &fRatio, float &fCorrelation) |
| CSegmentableDatabase () | |
| bool | FindBestMatch (const CFloatMatrix *pInputData, const CByteImage *pMask, const Vec3d &initialPosition, int nSize, Transformation3d &resultPose, float &fResultError, int &nResultClass, int &nResultView, float &fResultRatio, float &fResultCorrelation, const char *pObjectName) |
| const CDatabaseEntry * | GetDatabaseEntry (int nClass) |
| int | GetInputDimension () |
| int | GetNumberOfClasses () |
| bool | Init (const char *pConfigurationFilename, const char *pCameraParameterFilename, const char *pViewDataBasePathPrefix=0) |
| bool | Init (const char *pConfigurationFilename, CStereoCalibration *pStereoCalibration, const char *pViewDataBasePathPrefix=0) |
| bool | Init (CStereoCalibration *pStereoCalibration) |
| void | SetRecognitionThresholds (float fSizeRatioThreshold, float fCorrelationThreshold) |
| void | SetStereoCalibration (CStereoCalibration *pStereoCalibration) |
| void | SetVerbose (bool bVerbose) |
| ~CSegmentableDatabase () | |
Static Public Member Functions | |
| static void | Cleanup () |
| static bool | DrawObjectFromFile (COpenGLVisualizer *pVisualizer, const char *pOIVFilePath, const Transformation3d &pose) |
Private Member Functions | |
| bool | InitDatabase (const char *pConfigurationFilename, const char *pViewDataBasePathPrefix=0) |
| int | SimulateSize (const char *pOIVFilePath, const Transformation3d &pose, CByteImage *pObjectImage) |
Private Attributes | |
| bool | m_bVerbose |
| float | m_fCorrelationThreshold |
| float | m_fSizeRatioThreshold |
| int | m_nInputDimension |
| CObjectFinderStereo * | m_pObjectFinderStereo |
| COpenGLVisualizer * | m_pOpenGLVisualizer |
| CDynamicArray * | m_pViewDatabaseList |
Definition at line 44 of file SegmentableDatabase.h.
| bool CSegmentableDatabase::AddClass | ( | const std::string & | classPath, |
| const std::string & | dataBasePrefix, | ||
| std::string | overrideClassName = "" |
||
| ) |
| void CSegmentableDatabase::CalculateCorrectedOrientation | ( | const Vec3d & | position, |
| const Mat3d & | orientation, | ||
| Mat3d & | resultOrientation | ||
| ) |
| bool CSegmentableDatabase::CalculateCorrectedPosition | ( | const char * | pOIVFilePath, |
| const Vec3d & | triangulatedPosition, | ||
| const Mat3d & | orientation, | ||
| const CByteImage * | pMask, | ||
| int | nSize, | ||
| Vec3d & | correctedPosition, | ||
| float & | fRatio, | ||
| float & | fCorrelation | ||
| ) |
| static void CSegmentableDatabase::Cleanup | ( | ) | [static] |
| static bool CSegmentableDatabase::DrawObjectFromFile | ( | COpenGLVisualizer * | pVisualizer, |
| const char * | pOIVFilePath, | ||
| const Transformation3d & | pose | ||
| ) | [static] |
| bool CSegmentableDatabase::FindBestMatch | ( | const CFloatMatrix * | pInputData, |
| const CByteImage * | pMask, | ||
| const Vec3d & | initialPosition, | ||
| int | nSize, | ||
| Transformation3d & | resultPose, | ||
| float & | fResultError, | ||
| int & | nResultClass, | ||
| int & | nResultView, | ||
| float & | fResultRatio, | ||
| float & | fResultCorrelation, | ||
| const char * | pObjectName | ||
| ) |
| const CDatabaseEntry* CSegmentableDatabase::GetDatabaseEntry | ( | int | nClass | ) |
| int CSegmentableDatabase::GetInputDimension | ( | ) | [inline] |
Definition at line 75 of file SegmentableDatabase.h.
| bool CSegmentableDatabase::Init | ( | const char * | pConfigurationFilename, |
| const char * | pCameraParameterFilename, | ||
| const char * | pViewDataBasePathPrefix = 0 |
||
| ) |
| bool CSegmentableDatabase::Init | ( | const char * | pConfigurationFilename, |
| CStereoCalibration * | pStereoCalibration, | ||
| const char * | pViewDataBasePathPrefix = 0 |
||
| ) |
| bool CSegmentableDatabase::Init | ( | CStereoCalibration * | pStereoCalibration | ) |
| bool CSegmentableDatabase::InitDatabase | ( | const char * | pConfigurationFilename, |
| const char * | pViewDataBasePathPrefix = 0 |
||
| ) | [private] |
| void CSegmentableDatabase::SetRecognitionThresholds | ( | float | fSizeRatioThreshold, |
| float | fCorrelationThreshold | ||
| ) |
| void CSegmentableDatabase::SetStereoCalibration | ( | CStereoCalibration * | pStereoCalibration | ) |
| void CSegmentableDatabase::SetVerbose | ( | bool | bVerbose | ) | [inline] |
Definition at line 71 of file SegmentableDatabase.h.
| int CSegmentableDatabase::SimulateSize | ( | const char * | pOIVFilePath, |
| const Transformation3d & | pose, | ||
| CByteImage * | pObjectImage | ||
| ) | [private] |
bool CSegmentableDatabase::m_bVerbose [private] |
Definition at line 103 of file SegmentableDatabase.h.
float CSegmentableDatabase::m_fCorrelationThreshold [private] |
Definition at line 101 of file SegmentableDatabase.h.
float CSegmentableDatabase::m_fSizeRatioThreshold [private] |
Definition at line 100 of file SegmentableDatabase.h.
int CSegmentableDatabase::m_nInputDimension [private] |
Definition at line 95 of file SegmentableDatabase.h.
Definition at line 98 of file SegmentableDatabase.h.
Definition at line 97 of file SegmentableDatabase.h.
Definition at line 94 of file SegmentableDatabase.h.