11 #ifndef _VIEW_DATABASE2_H_ 12 #define _VIEW_DATABASE2_H_ 52 bool Init(
const char *pBasePath,
const char* pPathPrefix = 0,
std::string overrideClassName =
"");
56 bool GetView(
int nGlobalIndex,
int &nResultClass,
int &nResultView);
61 static bool ReadData(
const char *pFileName,
float *pData,
int nExpectedDimension);
const CDatabaseEntry * GetDatabaseEntry() const
std::string m_sTransformationMatrixFilename
Data structure for the representation of a 3D vector.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
bool GetPose(int nView, Transformation3d &pose)
bool ReadConfigurationFile(const char *pBasePath)
static bool ReadData(const char *pFileName, float *pData, int nExpectedDimension)
std::string m_sEigenvalueMatrixFilename
std::string m_sConfigurationFilename
bool Init(const char *pBasePath, const char *pPathPrefix=0, std::string overrideClassName="")
Data structure for the representation of a matrix of values of the data type float.
GLsizei const GLchar ** string
int FindBestMatch(const CFloatMatrix *pInputData, float &error) const
std::string m_sFullTransformationMatrixFilename
bool GetView(int nGlobalIndex, int &nResultClass, int &nResultView)
static void NormalizeIntensity(float *pData, int nLength)
CFloatMatrix * m_pTrainedData
CDatabaseEntry * m_pDatabaseEntry
CFloatMatrix * m_pTransformationMatrix
static void Normalize(const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion ®ion)
std::string m_sTrainingDataFilename
bool WriteConfigurationFile(const char *pConfigurationFilename)