Public Member Functions |
| CViewDatabase () |
int | FindBestMatch (const CFloatMatrix *pInputData, float &error) |
const CDatabaseEntry * | GetDatabaseEntry (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 ®ion) |
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 |
CFloatMatrix * | m_pTrainedData |
CFloatMatrix * | m_pTransformationMatrix |
std::string | m_sConfigurationFilename |
std::string | m_sEigenvalueMatrixFilename |
std::string | m_sFullTransformationMatrixFilename |
std::string | m_sTrainingDataFilename |
std::string | m_sTransformationMatrixFilename |
Definition at line 39 of file ViewDatabase.h.