cv::PlanarObjectDetector Class Reference

#include <features2d.hpp>

List of all members.

Public Member Functions

const FernClassifiergetClassifier () const
const LDetectorgetDetector () const
vector< KeyPointgetModelPoints () const
Rect getModelROI () const
bool operator() (const vector< Mat > &pyr, const vector< KeyPoint > &keypoints, CV_OUT Mat &H, CV_OUT vector< Point2f > &corners, CV_OUT vector< int > *pairs=0) const
bool operator() (const Mat &image, CV_OUT Mat &H, CV_OUT vector< Point2f > &corners) const
 PlanarObjectDetector (const vector< Mat > &pyr, int _npoints=300, int _patchSize=FernClassifier::PATCH_SIZE, int _nstructs=FernClassifier::DEFAULT_STRUCTS, int _structSize=FernClassifier::DEFAULT_STRUCT_SIZE, int _nviews=FernClassifier::DEFAULT_VIEWS, const LDetector &detector=LDetector(), const PatchGenerator &patchGenerator=PatchGenerator())
 PlanarObjectDetector (const FileNode &node)
 PlanarObjectDetector ()
void read (const FileNode &node)
void setVerbose (bool verbose)
virtual void train (const vector< Mat > &pyr, const vector< KeyPoint > &keypoints, int _patchSize=FernClassifier::PATCH_SIZE, int _nstructs=FernClassifier::DEFAULT_STRUCTS, int _structSize=FernClassifier::DEFAULT_STRUCT_SIZE, int _nviews=FernClassifier::DEFAULT_VIEWS, const LDetector &detector=LDetector(), const PatchGenerator &patchGenerator=PatchGenerator())
virtual void train (const vector< Mat > &pyr, int _npoints=300, int _patchSize=FernClassifier::PATCH_SIZE, int _nstructs=FernClassifier::DEFAULT_STRUCTS, int _structSize=FernClassifier::DEFAULT_STRUCT_SIZE, int _nviews=FernClassifier::DEFAULT_VIEWS, const LDetector &detector=LDetector(), const PatchGenerator &patchGenerator=PatchGenerator())
void write (FileStorage &fs, const String &name=String()) const
virtual ~PlanarObjectDetector ()

Protected Attributes

FernClassifier fernClassifier
LDetector ldetector
vector< KeyPointmodelPoints
Rect modelROI
bool verbose

Constructor & Destructor Documentation

cv::PlanarObjectDetector::PlanarObjectDetector (  ) 
cv::PlanarObjectDetector::PlanarObjectDetector ( const FileNode node  ) 
cv::PlanarObjectDetector::PlanarObjectDetector ( const vector< Mat > &  pyr,
int  _npoints = 300,
int  _patchSize = FernClassifier::PATCH_SIZE,
int  _nstructs = FernClassifier::DEFAULT_STRUCTS,
int  _structSize = FernClassifier::DEFAULT_STRUCT_SIZE,
int  _nviews = FernClassifier::DEFAULT_VIEWS,
const LDetector detector = LDetector(),
const PatchGenerator patchGenerator = PatchGenerator() 
)
virtual cv::PlanarObjectDetector::~PlanarObjectDetector (  )  [virtual]

Member Function Documentation

const FernClassifier& cv::PlanarObjectDetector::getClassifier (  )  const
const LDetector& cv::PlanarObjectDetector::getDetector (  )  const
vector<KeyPoint> cv::PlanarObjectDetector::getModelPoints (  )  const
Rect cv::PlanarObjectDetector::getModelROI (  )  const
bool cv::PlanarObjectDetector::operator() ( const vector< Mat > &  pyr,
const vector< KeyPoint > &  keypoints,
CV_OUT Mat H,
CV_OUT vector< Point2f > &  corners,
CV_OUT vector< int > *  pairs = 0 
) const
bool cv::PlanarObjectDetector::operator() ( const Mat image,
CV_OUT Mat H,
CV_OUT vector< Point2f > &  corners 
) const
void cv::PlanarObjectDetector::read ( const FileNode node  ) 
void cv::PlanarObjectDetector::setVerbose ( bool  verbose  ) 
virtual void cv::PlanarObjectDetector::train ( const vector< Mat > &  pyr,
const vector< KeyPoint > &  keypoints,
int  _patchSize = FernClassifier::PATCH_SIZE,
int  _nstructs = FernClassifier::DEFAULT_STRUCTS,
int  _structSize = FernClassifier::DEFAULT_STRUCT_SIZE,
int  _nviews = FernClassifier::DEFAULT_VIEWS,
const LDetector detector = LDetector(),
const PatchGenerator patchGenerator = PatchGenerator() 
) [virtual]
virtual void cv::PlanarObjectDetector::train ( const vector< Mat > &  pyr,
int  _npoints = 300,
int  _patchSize = FernClassifier::PATCH_SIZE,
int  _nstructs = FernClassifier::DEFAULT_STRUCTS,
int  _structSize = FernClassifier::DEFAULT_STRUCT_SIZE,
int  _nviews = FernClassifier::DEFAULT_VIEWS,
const LDetector detector = LDetector(),
const PatchGenerator patchGenerator = PatchGenerator() 
) [virtual]
void cv::PlanarObjectDetector::write ( FileStorage fs,
const String name = String() 
) const

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Dec 23 11:40:55 2010 for opencv by  doxygen 1.6.3