FernClassifier subclass that implements binary reading and writting. More...
#include <FernImageDetector.h>
Public Member Functions | |
| FernClassifierWrapper () | |
| FernClassifierWrapper (const FileNode &fileNode) | |
| FernClassifierWrapper (const vector< vector< Point2f > > &points, const vector< Mat > &referenceImages, const vector< vector< int > > &labels=vector< vector< int > >(), int _nclasses=0, int _patchSize=PATCH_SIZE, int _signatureSize=DEFAULT_SIGNATURE_SIZE, int _nstructs=DEFAULT_STRUCTS, int _structSize=DEFAULT_STRUCT_SIZE, int _nviews=DEFAULT_VIEWS, int _compressionMethod=COMPRESSION_NONE, const PatchGenerator &patchGenerator=PatchGenerator()) | |
| virtual void | readBinary (std::fstream &stream) |
| virtual void | writeBinary (std::fstream &stream) const |
| virtual | ~FernClassifierWrapper () |
FernClassifier subclass that implements binary reading and writting.
Definition at line 52 of file FernImageDetector.h.
Definition at line 60 of file FernImageDetector.cpp.
| alvar::FernClassifierWrapper::FernClassifierWrapper | ( | const FileNode & | fileNode | ) |
Definition at line 65 of file FernImageDetector.cpp.
| alvar::FernClassifierWrapper::FernClassifierWrapper | ( | const vector< vector< Point2f > > & | points, |
| const vector< Mat > & | referenceImages, | ||
| const vector< vector< int > > & | labels = vector<vector<int> >(), |
||
| int | _nclasses = 0, |
||
| int | _patchSize = PATCH_SIZE, |
||
| int | _signatureSize = DEFAULT_SIGNATURE_SIZE, |
||
| int | _nstructs = DEFAULT_STRUCTS, |
||
| int | _structSize = DEFAULT_STRUCT_SIZE, |
||
| int | _nviews = DEFAULT_VIEWS, |
||
| int | _compressionMethod = COMPRESSION_NONE, |
||
| const PatchGenerator & | patchGenerator = PatchGenerator() |
||
| ) |
Definition at line 70 of file FernImageDetector.cpp.
| alvar::FernClassifierWrapper::~FernClassifierWrapper | ( | ) | [virtual] |
Definition at line 83 of file FernImageDetector.cpp.
| void alvar::FernClassifierWrapper::readBinary | ( | std::fstream & | stream | ) | [virtual] |
Definition at line 87 of file FernImageDetector.cpp.
| void alvar::FernClassifierWrapper::writeBinary | ( | std::fstream & | stream | ) | const [virtual] |
Definition at line 138 of file FernImageDetector.cpp.