Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
CSegmentableDatabase Class Reference

#include <SegmentableDatabase.h>

List of all members.

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 CDatabaseEntryGetDatabaseEntry (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
CObjectFinderStereom_pObjectFinderStereo
COpenGLVisualizerm_pOpenGLVisualizer
CDynamicArraym_pViewDatabaseList

Detailed Description

Definition at line 44 of file SegmentableDatabase.h.


Constructor & Destructor Documentation


Member Function Documentation

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 
)

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::SetVerbose ( bool  bVerbose) [inline]

Definition at line 71 of file SegmentableDatabase.h.

int CSegmentableDatabase::SimulateSize ( const char *  pOIVFilePath,
const Transformation3d pose,
CByteImage pObjectImage 
) [private]

Member Data Documentation

Definition at line 103 of file SegmentableDatabase.h.

Definition at line 101 of file SegmentableDatabase.h.

Definition at line 100 of file SegmentableDatabase.h.

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.


The documentation for this class was generated from the following file:


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Thu Jun 6 2019 21:46:58