InferoTemporalSalBayes. More...
#include <Neuro/InferoTemporalSalBayes.H>
Public Member Functions | |
InferoTemporalSalBayes (OptionManager &mgr, const std::string &descrName="Infero Temporal Std", const std::string &tagName="InferoTemporalSalBayes") | |
Constructor. | |
virtual | ~InferoTemporalSalBayes () |
Destructor. | |
std::vector< double > | buildRawDV (SimEventQueue &q, const Point2D< int > &foveaLoc) |
std::string | getObjNameAtLoc (const std::vector< TestImages::ObjData > &objects, const Point2D< int > &loc) |
void | predict (std::vector< double > &fv, SimEventQueue &q) |
void | predictWithSift (std::vector< double > &fv, rutz::shared_ptr< VisualObject > &vob, SimEventQueue &q) |
Protected Member Functions | |
virtual void | attentionShift (SimEventQueue &q, const Point2D< int > &location) |
Object recognition at attention point. | |
virtual void | start1 () |
(re-)initialization - load object database | |
virtual void | stop1 () |
destruction - save object database | |
Protected Attributes | |
OModelParam< LevelSpec > | itsLevelSpec |
OModelParam< Dims > | itsFoveaSize |
Our levelspec. | |
OModelParam< std::string > | itsITCMode |
The size of our fovea. | |
OModelParam< std::string > | itsBayesNetFilename |
the file to save/read the gains from | |
OModelParam< int > | itsUseSift |
use sift after basic recognition | |
OModelParam< std::string > | itsSiftObjectDBFile |
obj knowledgebase file | |
OModelParam< bool > | itsUseMaxNMatches |
use the max num of matches |
Model of the Inferior Temporal Cortex utilizing the SalBayes method recognition.
Definition at line 60 of file InferoTemporalSalBayes.H.
InferoTemporalSalBayes::InferoTemporalSalBayes | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Infero Temporal Std" , |
|||
const std::string & | tagName = "InferoTemporalSalBayes" | |||
) |
Constructor.
Definition at line 110 of file InferoTemporalSalBayes.C.
InferoTemporalSalBayes::~InferoTemporalSalBayes | ( | ) | [virtual] |
Destructor.
Definition at line 139 of file InferoTemporalSalBayes.C.
void InferoTemporalSalBayes::attentionShift | ( | SimEventQueue & | q, | |
const Point2D< int > & | location | |||
) | [protected, virtual] |
Object recognition at attention point.
Implements InferoTemporal.
Definition at line 143 of file InferoTemporalSalBayes.C.
References SimEventQueue::check(), rutz::shared_ptr< T >::dyn_cast_from(), rutz::shared_ptr< T >::get(), GenericFrame::getMetaData(), OModelParam< T >::getVal(), GenericFrame::hasMetaData(), Image< T >::initialized(), rutz::shared_ptr< T >::is_valid(), itsBayesNetFilename, itsITCMode, itsSiftObjectDBFile, itsUseSift, SimEventQueue::request(), rutz::shared_ptr< T >::reset(), and SEQ_UNMARKED.
void InferoTemporalSalBayes::start1 | ( | ) | [protected, virtual] |
(re-)initialization - load object database
Reimplemented from SimModule.
Definition at line 125 of file InferoTemporalSalBayes.C.
References OModelParam< T >::getVal(), and itsSiftObjectDBFile.
void InferoTemporalSalBayes::stop1 | ( | ) | [protected, virtual] |
destruction - save object database
Reimplemented from ModelComponent.
Definition at line 135 of file InferoTemporalSalBayes.C.
the file to save/read the gains from
Definition at line 82 of file InferoTemporalSalBayes.H.
Referenced by attentionShift().
OModelParam<Dims> InferoTemporalSalBayes::itsFoveaSize [protected] |
Our levelspec.
Definition at line 80 of file InferoTemporalSalBayes.H.
OModelParam<std::string> InferoTemporalSalBayes::itsITCMode [protected] |
The size of our fovea.
Definition at line 81 of file InferoTemporalSalBayes.H.
Referenced by attentionShift().
obj knowledgebase file
Definition at line 84 of file InferoTemporalSalBayes.H.
Referenced by attentionShift(), and start1().
OModelParam<bool> InferoTemporalSalBayes::itsUseMaxNMatches [protected] |
use the max num of matches
Definition at line 85 of file InferoTemporalSalBayes.H.
OModelParam<int> InferoTemporalSalBayes::itsUseSift [protected] |
use sift after basic recognition
Definition at line 83 of file InferoTemporalSalBayes.H.
Referenced by attentionShift().