Jafar
|
Class Learner This class handles the learning result saving process If bundled 3D points are given they will be saved, else file won't contain this information. More...
Class Learner This class handles the learning result saving process If bundled 3D points are given they will be saved, else file won't contain this information.
Definition at line 25 of file learner.hpp.
#include <learner.hpp>
Public Member Functions | |
Learner () | |
Default constructur. | |
Learner (const premodeler::Engine::DetectorType &_type, fdetect::Detector *_detector, gfm::GroupsMatcher *_matcher, const premodeler::IFLists &_ifLists, const std::map< int, jblas::vec3 > &_points) | |
constructor with parameters _engine premodeler engine used for the learning _manager premodeler interest features manager used | |
Learner (const premodeler::Engine::DetectorType &_type, fdetect::Detector *_detector, gfm::GroupsMatcher *_matcher, const premodeler::IFLists &_ifLists) | |
~Learner () | |
constructor with parameters _engine premodeler engine used for the learning _manager premodeler interest features manager used | |
void | setDetector (fdetect::Detector *_detector) |
setter for the detector | |
void | setMatcher (gfm::GroupsMatcher *_matcher) |
setter for the groups matcher | |
void | setInterstFeaturesLists (const premodeler::IFLists &_ifLists) |
setter for interest features lists | |
void | setBundledFeatures (const std::map< int, jblas::vec3 > &_points) |
setter for 3D points corresponding to bundled features | |
void | setDetectorType (const Engine::DetectorType &_type) |
setter for detector type | |
void | setEngine (const premodeler::Engine &_engine) |
set matcher and detector with the ones from _engine _engine premodeler engine used for the learning | |
void | setIFManager (const premodeler::IFManager &_manager) |
set interestFeaturesLists with the global tracker from _manager _manager premodeler interest features manager used | |
fdetect::Detector * | detector () const |
gfm::GroupsMatcher * | matcher () const |
returns a pointer on the gfm groups matcher | |
Protected Member Functions | |
void | saveCSVFile (kernel::CSVFile &csvFile) |
Implement this method calling repeatedly CSVFile::setItem() method. | |
Private Member Functions | |
std::string | detectorData (const std::string &separator) |
std::string | matcherData (const std::string &separator) |
std::string | featureData (fdetect::InterestFeature *ip, const std::string &separator) |
jblas::vec3 | bundled3dPoint (const int &id) |
Private Attributes | |
gfm::GroupsMatcher * | m_matcher |
Groups matcher. | |
fdetect::Detector * | m_detector |
Features detector. | |
premodeler::IFLists | interestFeaturesLists |
Global sequence tracker. | |
premodeler::Engine::DetectorType | m_type |
Detector type used. | |
std::map< int, jblas::vec3 > | points |
3D points corresponding to detected features |
constructor with parameters _engine premodeler engine used for the learning _manager premodeler interest features manager used
Default destructor
fdetect::Detector* jafar::premodeler::Learner::detector | ( | ) | const [inline] |
Definition at line 130 of file learner.hpp.
References m_detector.
std::string jafar::premodeler::Learner::detectorData | ( | const std::string & | separator | ) | [private] |
std::string jafar::premodeler::Learner::featureData | ( | fdetect::InterestFeature * | ip, |
const std::string & | separator | ||
) | [private] |
std::string jafar::premodeler::Learner::matcherData | ( | const std::string & | separator | ) | [private] |
Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1 |