Logo
OpenCV  2.4.13
Open Source Computer Vision
Public Member Functions | Protected Attributes | List of all members
cv::PlanarObjectDetector Class Reference

#include <legacy.hpp>

Public Member Functions

 
  PlanarObjectDetector (const FileNode &node)
 
  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  ~PlanarObjectDetector ()
 
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())
 
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())
 
Rect  getModelROI () const
 
vector< KeyPointgetModelPoints () const
 
const LDetectorgetDetector () const
 
const FernClassifiergetClassifier () const
 
 
void  read (const FileNode &node)
 
void  write (FileStorage &fs, const String &name=String()) const
 
bool  operator() (const Mat &image, CV_OUT Mat &H, CV_OUT vector< Point2f > &corners) 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
 

Protected Attributes

bool  verbose
 
 
vector< KeyPointmodelPoints
 
 
 

Constructor & Destructor Documentation

cv::PlanarObjectDetector::PlanarObjectDetector ( )
cv::PlanarObjectDetector::PlanarObjectDetector ( const FileNodenode )
cv::PlanarObjectDetector::PlanarObjectDetector ( const vector< Mat > &  pyr,
int  _npoints = 300,
int  _patchSize = FernClassifier::PATCH_SIZE ,
const LDetectordetector = LDetector(),
const PatchGeneratorpatchGenerator = 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 Matimage,
CV_OUT MatH,
CV_OUT vector< Point2f > &  corners 
) const
bool cv::PlanarObjectDetector::operator() ( const vector< Mat > &  pyr,
const vector< KeyPoint > &  keypoints,
CV_OUT MatH,
CV_OUT vector< Point2f > &  corners,
CV_OUT vector< int > *  pairs = 0 
) const
void cv::PlanarObjectDetector::read ( const FileNodenode )
void cv::PlanarObjectDetector::setVerbose ( bool  verbose )
virtual void cv::PlanarObjectDetector::train ( const vector< Mat > &  pyr,
int  _npoints = 300,
int  _patchSize = FernClassifier::PATCH_SIZE ,
const LDetectordetector = LDetector(),
const PatchGeneratorpatchGenerator = PatchGenerator() 
)
virtual
virtual void cv::PlanarObjectDetector::train ( const vector< Mat > &  pyr,
const vector< KeyPoint > &  keypoints,
int  _patchSize = FernClassifier::PATCH_SIZE ,
const LDetectordetector = LDetector(),
const PatchGeneratorpatchGenerator = PatchGenerator() 
)
virtual
void cv::PlanarObjectDetector::write ( FileStoragefs,
const Stringname = String() 
) const

Member Data Documentation

FernClassifier cv::PlanarObjectDetector::fernClassifier
protected
LDetector cv::PlanarObjectDetector::ldetector
protected
vector<KeyPoint> cv::PlanarObjectDetector::modelPoints
protected
Rect cv::PlanarObjectDetector::modelROI
protected
bool cv::PlanarObjectDetector::verbose
protected

The documentation for this class was generated from the following file:

AltStyle によって変換されたページ (->オリジナル) /