Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSegmentableDatabase Class Reference

#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 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

CSegmentableDatabase::CSegmentableDatabase ( )
CSegmentableDatabase::~CSegmentableDatabase ( )

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 
)
const CDatabaseEntry* CSegmentableDatabase::GetDatabaseEntry ( int  nClass)
int CSegmentableDatabase::GetInputDimension ( )
inline

Definition at line 75 of file SegmentableDatabase.h.

int CSegmentableDatabase::GetNumberOfClasses ( )
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

Member Data Documentation

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.

CObjectFinderStereo* CSegmentableDatabase::m_pObjectFinderStereo
private

Definition at line 98 of file SegmentableDatabase.h.

COpenGLVisualizer* CSegmentableDatabase::m_pOpenGLVisualizer
private

Definition at line 97 of file SegmentableDatabase.h.

CDynamicArray* CSegmentableDatabase::m_pViewDatabaseList
private

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 Mon Dec 2 2019 03:47:28