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

#include <ViewDatabase.h>

Public Member Functions

 CViewDatabase ()
 
int FindBestMatch (const CFloatMatrix *pInputData, float &error)
 
const CDatabaseEntryGetDatabaseEntry (int nIndex)
 
int GetInputDimension ()
 
int GetNumberOfClasses ()
 
bool GetPose (int nClass, int nView, Transformation3d &poseData)
 
int GetTargetDimension ()
 
int GetTotalNumberOfSamples ()
 
bool GetView (int nGlobalIndex, int &nResultClass, int &nResultView)
 
bool Init (const char *pConfigurationFilename)
 
bool InitRecognition ()
 
bool LearnTrainingData ()
 
 ~CViewDatabase ()
 

Static Public Member Functions

static int GetNumberOfSamples (const char *pFileName, int &nInputDimension)
 
static void Normalize (const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion &region)
 
static void NormalizeIntensity (float *pData, int nLength)
 
static bool ReadData (const char *pFileName, float *pData, int nExpectedDimension)
 

Private Member Functions

void DeleteDatabase ()
 
void DeleteMatrices ()
 
bool ReadConfigurationFile (const char *pConfigurationFilename)
 
bool WriteConfigurationFile (const char *pConfigurationFilename)
 

Private Attributes

bool m_bWriteConfigurationFile
 
int m_nClasses
 
int m_nInputDimension
 
int m_nTargetDimension
 
int m_nTotalSamples
 
CDatabaseEntry ** m_ppDatabaseEntries
 
CFloatMatrixm_pTrainedData
 
CFloatMatrixm_pTransformationMatrix
 
std::string m_sConfigurationFilename
 
std::string m_sEigenvalueMatrixFilename
 
std::string m_sFullTransformationMatrixFilename
 
std::string m_sTrainingDataFilename
 
std::string m_sTransformationMatrixFilename
 

Detailed Description

Definition at line 39 of file ViewDatabase.h.

Constructor & Destructor Documentation

CViewDatabase::CViewDatabase ( )
CViewDatabase::~CViewDatabase ( )

Member Function Documentation

void CViewDatabase::DeleteDatabase ( )
private
void CViewDatabase::DeleteMatrices ( )
private
int CViewDatabase::FindBestMatch ( const CFloatMatrix pInputData,
float &  error 
)
const CDatabaseEntry* CViewDatabase::GetDatabaseEntry ( int  nIndex)
int CViewDatabase::GetInputDimension ( )
inline

Definition at line 67 of file ViewDatabase.h.

int CViewDatabase::GetNumberOfClasses ( )
inline

Definition at line 66 of file ViewDatabase.h.

static int CViewDatabase::GetNumberOfSamples ( const char *  pFileName,
int &  nInputDimension 
)
static
bool CViewDatabase::GetPose ( int  nClass,
int  nView,
Transformation3d poseData 
)
int CViewDatabase::GetTargetDimension ( )
inline

Definition at line 68 of file ViewDatabase.h.

int CViewDatabase::GetTotalNumberOfSamples ( )
inline

Definition at line 69 of file ViewDatabase.h.

bool CViewDatabase::GetView ( int  nGlobalIndex,
int &  nResultClass,
int &  nResultView 
)
bool CViewDatabase::Init ( const char *  pConfigurationFilename)
bool CViewDatabase::InitRecognition ( )
bool CViewDatabase::LearnTrainingData ( )
static void CViewDatabase::Normalize ( const CByteImage pInputImage,
CByteImage pOutputImage,
const MyRegion region 
)
static
static void CViewDatabase::NormalizeIntensity ( float *  pData,
int  nLength 
)
static
bool CViewDatabase::ReadConfigurationFile ( const char *  pConfigurationFilename)
private
static bool CViewDatabase::ReadData ( const char *  pFileName,
float *  pData,
int  nExpectedDimension 
)
static
bool CViewDatabase::WriteConfigurationFile ( const char *  pConfigurationFilename)
private

Member Data Documentation

bool CViewDatabase::m_bWriteConfigurationFile
private

Definition at line 100 of file ViewDatabase.h.

int CViewDatabase::m_nClasses
private

Definition at line 88 of file ViewDatabase.h.

int CViewDatabase::m_nInputDimension
private

Definition at line 89 of file ViewDatabase.h.

int CViewDatabase::m_nTargetDimension
private

Definition at line 90 of file ViewDatabase.h.

int CViewDatabase::m_nTotalSamples
private

Definition at line 91 of file ViewDatabase.h.

CDatabaseEntry** CViewDatabase::m_ppDatabaseEntries
private

Definition at line 98 of file ViewDatabase.h.

CFloatMatrix* CViewDatabase::m_pTrainedData
private

Definition at line 96 of file ViewDatabase.h.

CFloatMatrix* CViewDatabase::m_pTransformationMatrix
private

Definition at line 95 of file ViewDatabase.h.

std::string CViewDatabase::m_sConfigurationFilename
private

Definition at line 93 of file ViewDatabase.h.

std::string CViewDatabase::m_sEigenvalueMatrixFilename
private

Definition at line 84 of file ViewDatabase.h.

std::string CViewDatabase::m_sFullTransformationMatrixFilename
private

Definition at line 83 of file ViewDatabase.h.

std::string CViewDatabase::m_sTrainingDataFilename
private

Definition at line 86 of file ViewDatabase.h.

std::string CViewDatabase::m_sTransformationMatrixFilename
private

Definition at line 85 of file ViewDatabase.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