asmlib-opencv
an ASM(Active Shape Model) implementation by C++ & OpenCV
StatModel::ModelFile Class Reference

Save/Load model to/from a file. More...

#include <modelfile.h>

List of all members.

Public Member Functions

void writeInt (int i)
int readInt (int &i)
void writeBool (bool b)
int readBool (bool &b)
void writeReal (double d)
double readReal (double &d)
void writePCA (const PCA *p)
PCA * readPCA (PCA *&p)
template<class T >
void writeMat (const Mat_< T > &m)
template<class T >
Mat_< T > & readMat (Mat_< T > &m)
void openFile (const char *fName, const char *mode)
void closeFile ()
 ~ModelFile ()

Detailed Description

Save/Load model to/from a file.


Constructor & Destructor Documentation


Member Function Documentation

void StatModel::ModelFile::openFile ( const char *  fName,
const char *  mode 
) [inline]
int StatModel::ModelFile::readBool ( bool &  b) [inline]
int StatModel::ModelFile::readInt ( int &  i) [inline]
template<class T >
Mat_<T>& StatModel::ModelFile::readMat ( Mat_< T > &  m) [inline]
PCA * StatModel::ModelFile::readPCA ( PCA *&  p)
double StatModel::ModelFile::readReal ( double &  d) [inline]
void StatModel::ModelFile::writeBool ( bool  b) [inline]
void StatModel::ModelFile::writeInt ( int  i) [inline]
template<class T >
void StatModel::ModelFile::writeMat ( const Mat_< T > &  m) [inline]
void StatModel::ModelFile::writePCA ( const PCA *  p)
void StatModel::ModelFile::writeReal ( double  d) [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Defines