Public Member Functions | Private Attributes
alvar::FernImageDetector Class Reference

Image detector based on a Fern classifier. More...

#include <FernImageDetector.h>

List of all members.

Public Member Functions

 FernImageDetector (const bool visualize=false)
void findFeatures (Mat &image, bool planeAssumption=true)
cv::Mat homography ()
void imagePoints (vector< CvPoint2D64f > &points)
double inlierRatio ()
void modelPoints (vector< CvPoint3D64f > &points, bool normalize=true)
bool read (const std::string &filename, const bool binary=true)
cv::Size size ()
void train (const std::string &filename)
void train (Mat &image)
bool write (const std::string &filename, const bool binary=true)
 ~FernImageDetector ()

Private Attributes

std::vector
< FernClassifierWrapper
mClassifier
cv::Mat mCorrespondences
cv::Mat mHomography
vector< cv::Point2f > mImagePoints
double mInlierRatio
vector< KeyPoint > mKeyPoints
LDetector mLDetector
vector< cv::Point2f > mModelPoints
std::vector< Mat > mObjects
PatchGenerator mPatchGenerator
cv::Size mSize
bool mVisualize

Detailed Description

Image detector based on a Fern classifier.

Examples:
SampleMarkerlessCreator.cpp, and SampleMarkerlessDetector.cpp.

Definition at line 77 of file FernImageDetector.h.


Constructor & Destructor Documentation

alvar::FernImageDetector::FernImageDetector ( const bool  visualize = false)

Definition at line 176 of file FernImageDetector.cpp.

Definition at line 194 of file FernImageDetector.cpp.


Member Function Documentation

void alvar::FernImageDetector::findFeatures ( Mat &  image,
bool  planeAssumption = true 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 286 of file FernImageDetector.cpp.

Definition at line 232 of file FernImageDetector.cpp.

Examples:
SampleMarkerlessDetector.cpp.

Definition at line 198 of file FernImageDetector.cpp.

Examples:
SampleMarkerlessDetector.cpp.

Definition at line 237 of file FernImageDetector.cpp.

void alvar::FernImageDetector::modelPoints ( vector< CvPoint3D64f > &  points,
bool  normalize = true 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 206 of file FernImageDetector.cpp.

bool alvar::FernImageDetector::read ( const std::string &  filename,
const bool  binary = true 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 389 of file FernImageDetector.cpp.

Definition at line 227 of file FernImageDetector.cpp.

void alvar::FernImageDetector::train ( const std::string &  filename)
Examples:
SampleMarkerlessCreator.cpp.

Definition at line 242 of file FernImageDetector.cpp.

void alvar::FernImageDetector::train ( Mat &  image)

Definition at line 248 of file FernImageDetector.cpp.

bool alvar::FernImageDetector::write ( const std::string &  filename,
const bool  binary = true 
)
Examples:
SampleMarkerlessCreator.cpp.

Definition at line 461 of file FernImageDetector.cpp.


Member Data Documentation

Definition at line 100 of file FernImageDetector.h.

Definition at line 109 of file FernImageDetector.h.

Definition at line 110 of file FernImageDetector.h.

Definition at line 103 of file FernImageDetector.h.

Definition at line 111 of file FernImageDetector.h.

Definition at line 102 of file FernImageDetector.h.

Definition at line 99 of file FernImageDetector.h.

Definition at line 104 of file FernImageDetector.h.

Definition at line 107 of file FernImageDetector.h.

Definition at line 98 of file FernImageDetector.h.

cv::Size alvar::FernImageDetector::mSize [private]

Definition at line 108 of file FernImageDetector.h.

Definition at line 106 of file FernImageDetector.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sat Dec 28 2013 16:46:16