Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
CTexturedObjectDatabase Class Reference

#include <TexturedObjectDatabase.h>

List of all members.

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 
)

Member Function Documentation

bool CTexturedObjectDatabase::AddClass ( const std::string sClassName,
const std::string sFeatureSetFileName 
)
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]
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 ( 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.


Member Data Documentation

Definition at line 152 of file TexturedObjectDatabase.h.

Definition at line 143 of file TexturedObjectDatabase.h.

Definition at line 142 of file TexturedObjectDatabase.h.

Definition at line 145 of file TexturedObjectDatabase.h.

Definition at line 149 of file TexturedObjectDatabase.h.

Definition at line 148 of file TexturedObjectDatabase.h.

Definition at line 150 of file TexturedObjectDatabase.h.

Definition at line 147 of file TexturedObjectDatabase.h.

Definition at line 138 of file TexturedObjectDatabase.h.

Definition at line 137 of file TexturedObjectDatabase.h.

Definition at line 156 of file TexturedObjectDatabase.h.

Definition at line 135 of file TexturedObjectDatabase.h.

Definition at line 132 of file TexturedObjectDatabase.h.

Definition at line 134 of file TexturedObjectDatabase.h.

Definition at line 133 of file TexturedObjectDatabase.h.

Definition at line 141 of file TexturedObjectDatabase.h.

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 Thu Jun 6 2019 21:46:58