Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CTexturedObjectDatabase Class Reference

#include <TexturedObjectDatabase.h>

Classes

class  CFeatureMapEntry
 

Public Member Functions

bool AddClass (const std::string &sClassName, const std::string &sFeatureSetFileName)
 
bool AddFeatureSet (CTexturedFeatureSet *pFeatureSet)
 
int AnalyzeFeatures (CDynamicArray *pFeatures, CByteImage *pResultImage, const CByteImage *const *ppInputImagesFor3DLocalization=0, const Vec2d *pInterestPoints=0, int nInterestPoints=0, int nUseKdTree=0, bool bInputImagesAreUndistorted=false, const char *pObjectName=0)
 
 CTexturedObjectDatabase (int nImageWidth, int nImageHeight)
 
const CTexturedFeatureSetGetFeatureSet (int nIndex)
 
int GetSize ()
 
void InitCameraParameters (CStereoCalibration *pStereoCalibration, bool bCloneCalibration)
 
bool LoadCameraParameters (const char *pFileName)
 
bool LoadDatabase (const char *pConfigurationFilename, const char *pDataFilePathPrefix=0)
 
bool RemoveFeatureSet (int nIndex)
 
bool RemoveFeatureSet (const char *pName)
 
void SetCorrelationParameters (int nWindowSize, float fMinZ, float fMaxZ, float fThreshold)
 
void SetRecognitionThresholds (int nMinValidFeatures, float fMaxError)
 
void SetStereo (bool bStereo)
 
void SetVerbose (bool bVerbose)
 
 ~CTexturedObjectDatabase ()
 

Public Attributes

Object3DList m_objectList
 

Private Member Functions

bool BuildKdTree (int nObjectIndex)
 
bool Localize3D (const Vec2d &p1, const Vec2d &p2, const Vec2d &p3, const Vec2d &p4, const Vec3d &p1_3d, const Vec3d &p2_3d, const Vec3d &p3_3d, const Vec3d &p4_3d, const Vec2d *pFeatures, int nFeatures, const CByteImage *const *ppImages, CByteImage *pResultImage, Object3DEntry &entry, bool bInputImagesAreUndistorted)
 

Private Attributes

bool m_bLocalizeWithStereo
 
bool m_bOwnStereoCalibrationObject
 
bool m_bStereoInitialized
 
bool m_bVerbose
 
float m_fCorrelationMaxZ
 
float m_fCorrelationMinZ
 
float m_fCorrelationThreshold
 
int m_nCorrelationWindowSize
 
int m_nImageHeight
 
int m_nImageWidth
 
CHoughSpace2Dm_pHoughSpace
 
CDynamicArraym_pObjectArray
 
CKdTree ** m_ppKdTrees
 
CDynamicArray ** m_ppObjectFeatureMap
 
CStereoCalibrationm_pStereoCalibration
 
CStereoMatcherm_pStereoMatcher
 

Detailed Description

Definition at line 52 of file TexturedObjectDatabase.h.

Constructor & Destructor Documentation

CTexturedObjectDatabase::CTexturedObjectDatabase ( int  nImageWidth,
int  nImageHeight 
)
CTexturedObjectDatabase::~CTexturedObjectDatabase ( )

Member Function Documentation

bool CTexturedObjectDatabase::AddClass ( const std::string sClassName,
const std::string sFeatureSetFileName 
)
bool CTexturedObjectDatabase::AddFeatureSet ( CTexturedFeatureSet pFeatureSet)
int CTexturedObjectDatabase::AnalyzeFeatures ( CDynamicArray pFeatures,
CByteImage pResultImage,
const CByteImage *const *  ppInputImagesFor3DLocalization = 0,
const Vec2d pInterestPoints = 0,
int  nInterestPoints = 0,
int  nUseKdTree = 0,
bool  bInputImagesAreUndistorted = false,
const char *  pObjectName = 0 
)
bool CTexturedObjectDatabase::BuildKdTree ( int  nObjectIndex)
private
const CTexturedFeatureSet* CTexturedObjectDatabase::GetFeatureSet ( int  nIndex)
int CTexturedObjectDatabase::GetSize ( )
void CTexturedObjectDatabase::InitCameraParameters ( CStereoCalibration pStereoCalibration,
bool  bCloneCalibration 
)
bool CTexturedObjectDatabase::LoadCameraParameters ( const char *  pFileName)
bool CTexturedObjectDatabase::LoadDatabase ( const char *  pConfigurationFilename,
const char *  pDataFilePathPrefix = 0 
)
bool CTexturedObjectDatabase::Localize3D ( const Vec2d p1,
const Vec2d p2,
const Vec2d p3,
const Vec2d p4,
const Vec3d p1_3d,
const Vec3d p2_3d,
const Vec3d p3_3d,
const Vec3d p4_3d,
const Vec2d pFeatures,
int  nFeatures,
const CByteImage *const *  ppImages,
CByteImage pResultImage,
Object3DEntry entry,
bool  bInputImagesAreUndistorted 
)
private
bool CTexturedObjectDatabase::RemoveFeatureSet ( int  nIndex)
bool CTexturedObjectDatabase::RemoveFeatureSet ( const char *  pName)
void CTexturedObjectDatabase::SetCorrelationParameters ( int  nWindowSize,
float  fMinZ,
float  fMaxZ,
float  fThreshold 
)
inline

Definition at line 100 of file TexturedObjectDatabase.h.

void CTexturedObjectDatabase::SetRecognitionThresholds ( int  nMinValidFeatures,
float  fMaxError 
)
void CTexturedObjectDatabase::SetStereo ( bool  bStereo)
inline

Definition at line 98 of file TexturedObjectDatabase.h.

void CTexturedObjectDatabase::SetVerbose ( bool  bVerbose)

Member Data Documentation

bool CTexturedObjectDatabase::m_bLocalizeWithStereo
private

Definition at line 152 of file TexturedObjectDatabase.h.

bool CTexturedObjectDatabase::m_bOwnStereoCalibrationObject
private

Definition at line 143 of file TexturedObjectDatabase.h.

bool CTexturedObjectDatabase::m_bStereoInitialized
private

Definition at line 142 of file TexturedObjectDatabase.h.

bool CTexturedObjectDatabase::m_bVerbose
private

Definition at line 145 of file TexturedObjectDatabase.h.

float CTexturedObjectDatabase::m_fCorrelationMaxZ
private

Definition at line 149 of file TexturedObjectDatabase.h.

float CTexturedObjectDatabase::m_fCorrelationMinZ
private

Definition at line 148 of file TexturedObjectDatabase.h.

float CTexturedObjectDatabase::m_fCorrelationThreshold
private

Definition at line 150 of file TexturedObjectDatabase.h.

int CTexturedObjectDatabase::m_nCorrelationWindowSize
private

Definition at line 147 of file TexturedObjectDatabase.h.

int CTexturedObjectDatabase::m_nImageHeight
private

Definition at line 138 of file TexturedObjectDatabase.h.

int CTexturedObjectDatabase::m_nImageWidth
private

Definition at line 137 of file TexturedObjectDatabase.h.

Object3DList CTexturedObjectDatabase::m_objectList

Definition at line 156 of file TexturedObjectDatabase.h.

CHoughSpace2D* CTexturedObjectDatabase::m_pHoughSpace
private

Definition at line 135 of file TexturedObjectDatabase.h.

CDynamicArray* CTexturedObjectDatabase::m_pObjectArray
private

Definition at line 132 of file TexturedObjectDatabase.h.

CKdTree** CTexturedObjectDatabase::m_ppKdTrees
private

Definition at line 134 of file TexturedObjectDatabase.h.

CDynamicArray** CTexturedObjectDatabase::m_ppObjectFeatureMap
private

Definition at line 133 of file TexturedObjectDatabase.h.

CStereoCalibration* CTexturedObjectDatabase::m_pStereoCalibration
private

Definition at line 141 of file TexturedObjectDatabase.h.

CStereoMatcher* CTexturedObjectDatabase::m_pStereoMatcher
private

Definition at line 140 of file TexturedObjectDatabase.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