Inferotemporal interface using HMAX with feature learning. More...
#include <Neuro/InferoTemporalHmax.H>
Public Member Functions | |
InferoTemporalHmax (OptionManager &mgr, const std::string &descrName="Infero Temporal HMAX", const std::string &tagName="InferoTemporalHmax") | |
Constructor. | |
virtual std::vector< float > | calculateFeatureVector (Image< float > img) |
virtual SVMObject | determineLabel (Image< float > objImg, int id=-1, std::string name="") |
void | writeOutFeatureVector (std::vector< float > featureVector, int id) |
virtual | ~InferoTemporalHmax () |
Destructor. | |
Protected Member Functions | |
virtual void | attentionShift (SimEventQueue &q, const Point2D< int > &location) |
Object recognition. | |
virtual float ** | _createFeatureVector () |
virtual void | _freeFeatureVector (float **c2Res) |
virtual std::vector< float > | _convertFeatureVector (float **c2Res) |
virtual void | start1 () |
(re-)initialization - load object database | |
virtual void | stop1 () |
destruction - save object database | |
Protected Attributes | |
OModelParam< std::string > | itsHMAXStoredPatchesDir |
dir of stored patches | |
OModelParam< std::string > | itsHMAXFeatureVectorFileName |
File to output HMAX feature vectors. | |
OModelParam< bool > | itsHMAXDisableClassifier |
whether to disable support for the internal classifier | |
InputFrame | itsInputFrame |
HmaxFL | itsHmax |
rutz::shared_ptr < SVMClassifierModule > | itsClassifier |
Inferotemporal interface using HMAX with feature learning.
Model of the Inferior Temporal Cortex utilizing HMAX object recognition
Definition at line 55 of file InferoTemporalHmax.H.
InferoTemporalHmax::InferoTemporalHmax | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Infero Temporal HMAX" , |
|||
const std::string & | tagName = "InferoTemporalHmax" | |||
) |
Constructor.
Definition at line 105 of file InferoTemporalHmax.C.
InferoTemporalHmax::~InferoTemporalHmax | ( | ) | [virtual] |
Destructor.
Definition at line 170 of file InferoTemporalHmax.C.
void InferoTemporalHmax::attentionShift | ( | SimEventQueue & | q, | |
const Point2D< int > & | location | |||
) | [protected, virtual] |
Object recognition.
Implements InferoTemporal.
Definition at line 174 of file InferoTemporalHmax.C.
References SimEventQueue::check(), Image< T >::initialized(), rutz::shared_ptr< T >::is_valid(), luminanceNTSC(), and SimEventQueue::post().
void InferoTemporalHmax::start1 | ( | ) | [protected, virtual] |
(re-)initialization - load object database
Reimplemented from SimModule.
Reimplemented in InferoTemporalCudaHmax.
Definition at line 117 of file InferoTemporalHmax.C.
References ModelComponent::getManager(), OModelParam< T >::getVal(), HmaxFL::init(), itsHMAXDisableClassifier, and itsHMAXStoredPatchesDir.
void InferoTemporalHmax::stop1 | ( | ) | [protected, virtual] |
destruction - save object database
Reimplemented from ModelComponent.
Definition at line 161 of file InferoTemporalHmax.C.
References OModelParam< T >::getVal(), and itsHMAXDisableClassifier.
OModelParam<bool> InferoTemporalHmax::itsHMAXDisableClassifier [protected] |
whether to disable support for the internal classifier
Definition at line 81 of file InferoTemporalHmax.H.
File to output HMAX feature vectors.
Definition at line 80 of file InferoTemporalHmax.H.
dir of stored patches
Definition at line 79 of file InferoTemporalHmax.H.
Referenced by start1(), and InferoTemporalCudaHmax::start1().