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

#include <ViewDatabase2.h>

Inheritance diagram for CViewDatabase2:
Inheritance graph
[legend]

Public Member Functions

 CViewDatabase2 ()
 
int FindBestMatch (const CFloatMatrix *pInputData, float &error) const
 
const CDatabaseEntryGetDatabaseEntry () const
 
int GetInputDimension ()
 
int GetNumberOfSamples ()
 
bool GetPose (int nView, Transformation3d &pose)
 
int GetTargetDimension ()
 
bool GetView (int nGlobalIndex, int &nResultClass, int &nResultView)
 
bool Init (const char *pBasePath, const char *pPathPrefix=0, std::string overrideClassName="")
 
bool InitRecognition ()
 
bool LearnTrainingData ()
 
 ~CViewDatabase2 ()
 
- Public Member Functions inherited from CDynamicArrayElement
 CDynamicArrayElement ()
 
virtual bool Equivalent (const CDynamicArrayElement *pElement) const
 
virtual float Error (const CDynamicArrayElement *pElement) const
 
virtual ~CDynamicArrayElement ()
 

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 DeleteMatrices ()
 
bool ReadConfigurationFile (const char *pBasePath)
 
bool WriteConfigurationFile (const char *pConfigurationFilename)
 

Private Attributes

int m_nInputDimension
 
int m_nSamples
 
int m_nTargetDimension
 
CDatabaseEntrym_pDatabaseEntry
 
CFloatMatrixm_pTrainedData
 
CFloatMatrixm_pTransformationMatrix
 
std::string m_sConfigurationFilename
 
std::string m_sEigenvalueMatrixFilename
 
std::string m_sFullTransformationMatrixFilename
 
std::string m_sTrainingDataFilename
 
std::string m_sTransformationMatrixFilename
 

Additional Inherited Members

- Public Attributes inherited from CDynamicArrayElement
bool bDelete
 

Detailed Description

Definition at line 39 of file ViewDatabase2.h.

Constructor & Destructor Documentation

CViewDatabase2::CViewDatabase2 ( )
CViewDatabase2::~CViewDatabase2 ( )

Member Function Documentation

void CViewDatabase2::DeleteMatrices ( )
private
int CViewDatabase2::FindBestMatch ( const CFloatMatrix pInputData,
float &  error 
) const
const CDatabaseEntry* CViewDatabase2::GetDatabaseEntry ( ) const
inline

Definition at line 69 of file ViewDatabase2.h.

int CViewDatabase2::GetInputDimension ( )
inline

Definition at line 66 of file ViewDatabase2.h.

static int CViewDatabase2::GetNumberOfSamples ( const char *  pFileName,
int &  nInputDimension 
)
static
int CViewDatabase2::GetNumberOfSamples ( )
inline

Definition at line 68 of file ViewDatabase2.h.

bool CViewDatabase2::GetPose ( int  nView,
Transformation3d pose 
)
int CViewDatabase2::GetTargetDimension ( )
inline

Definition at line 67 of file ViewDatabase2.h.

bool CViewDatabase2::GetView ( int  nGlobalIndex,
int &  nResultClass,
int &  nResultView 
)
bool CViewDatabase2::Init ( const char *  pBasePath,
const char *  pPathPrefix = 0,
std::string  overrideClassName = "" 
)
bool CViewDatabase2::InitRecognition ( )
bool CViewDatabase2::LearnTrainingData ( )
static void CViewDatabase2::Normalize ( const CByteImage pInputImage,
CByteImage pOutputImage,
const MyRegion region 
)
static
static void CViewDatabase2::NormalizeIntensity ( float *  pData,
int  nLength 
)
static
bool CViewDatabase2::ReadConfigurationFile ( const char *  pBasePath)
private
static bool CViewDatabase2::ReadData ( const char *  pFileName,
float *  pData,
int  nExpectedDimension 
)
static
bool CViewDatabase2::WriteConfigurationFile ( const char *  pConfigurationFilename)
private

Member Data Documentation

int CViewDatabase2::m_nInputDimension
private

Definition at line 86 of file ViewDatabase2.h.

int CViewDatabase2::m_nSamples
private

Definition at line 88 of file ViewDatabase2.h.

int CViewDatabase2::m_nTargetDimension
private

Definition at line 87 of file ViewDatabase2.h.

CDatabaseEntry* CViewDatabase2::m_pDatabaseEntry
private

Definition at line 95 of file ViewDatabase2.h.

CFloatMatrix* CViewDatabase2::m_pTrainedData
private

Definition at line 93 of file ViewDatabase2.h.

CFloatMatrix* CViewDatabase2::m_pTransformationMatrix
private

Definition at line 92 of file ViewDatabase2.h.

std::string CViewDatabase2::m_sConfigurationFilename
private

Definition at line 90 of file ViewDatabase2.h.

std::string CViewDatabase2::m_sEigenvalueMatrixFilename
private

Definition at line 82 of file ViewDatabase2.h.

std::string CViewDatabase2::m_sFullTransformationMatrixFilename
private

Definition at line 81 of file ViewDatabase2.h.

std::string CViewDatabase2::m_sTrainingDataFilename
private

Definition at line 84 of file ViewDatabase2.h.

std::string CViewDatabase2::m_sTransformationMatrixFilename
private

Definition at line 83 of file ViewDatabase2.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