
A Tigs task-relevance map A Tigs combined image PCA task-relevance map. More...
#include <Neuro/TaskRelevanceMap.H>


Public Member Functions | |
| TaskRelevanceMapTigs2 (OptionManager &mgr, const std::string &descrName="Task-Relevance Map Tigs2", const std::string &tagName="TaskRelevanceMapTigs2") | |
| Uninitialized constructor. | |
| virtual | ~TaskRelevanceMapTigs2 () |
| Destructor. | |
Protected Member Functions | |
| virtual void | inputFrame (const InputFrame &f) |
| Called when a new input frame is available from the Retina. | |
| virtual void | saccadicSuppression (const bool on) |
| Some TRM implementations will reset their memory upon saccade. | |
| virtual void | integrate (SimEventQueue &q) |
| Integrate for one time step. | |
| virtual void | getGistPCAMatrix () |
| virtual void | getImgPCAMatrix () |
| virtual Image< float > | getTDMap (Image< float > gistDist) |
| virtual void | getTigsMatrix () |
| virtual Image< float > | decode (Image< float > tmp) |
| virtual void | save1 (const ModelComponentSaveInfo &sinfo) |
| Save our internals. | |
| virtual void | reset1 () |
| Get reset. See ModelComponent. | |
Protected Attributes | |
| OModelParam< std::string > | itsTigsMatrixName |
| Number of inputs to compute over. | |
| OModelParam< int > | itsGistPCADims |
| OModelParam< int > | itsImgPCADims |
| OModelParam< std::string > | itsGistPCAMatrixName |
| OModelParam< std::string > | itsImgPCAMatrixName |
| OModelParam< int > | itsCacheSize |
| OModelParam< int > | itsUpdatePeriod |
A Tigs task-relevance map A Tigs combined image PCA task-relevance map.
This is an alternative to GistClassify method, we use the gist vector and pca image information as input to compute the TDmap from a learned TD map Matrix
Definition at line 485 of file TaskRelevanceMap.H.
| TaskRelevanceMapTigs2::TaskRelevanceMapTigs2 | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "Task-Relevance Map Tigs2", |
|||
| const std::string & | tagName = "TaskRelevanceMapTigs2" | |||
| ) |
Uninitialized constructor.
Definition at line 945 of file TaskRelevanceMap.C.
References OModelParam< T >::getVal(), ImageCache< T >::setMaxSize(), and OModelParam< T >::setVal().
| TaskRelevanceMapTigs2::~TaskRelevanceMapTigs2 | ( | ) | [virtual] |
Destructor.
Definition at line 965 of file TaskRelevanceMap.C.
| void TaskRelevanceMapTigs2::inputFrame | ( | const InputFrame & | f | ) | [protected, virtual] |
Called when a new input frame is available from the Retina.
Implements TaskRelevanceMapAdapter.
Definition at line 975 of file TaskRelevanceMap.C.
References Image< T >::getHeight(), Image< T >::getWidth(), rescale(), reshape(), and transpose().
| void TaskRelevanceMapTigs2::integrate | ( | SimEventQueue & | q | ) | [protected, virtual] |
Integrate for one time step.
Implements TaskRelevanceMapAdapter.
Definition at line 1046 of file TaskRelevanceMap.C.
References SimEventQueue::check(), Image< T >::getDims(), getMinMax(), OModelParam< T >::getVal(), TaskRelevanceMapAdapter::itsMap, ImageCacheAvg< T >::mean(), ImageCache< T >::push_back(), and rescale().
| void TaskRelevanceMapTigs2::reset1 | ( | ) | [protected, virtual] |
Get reset. See ModelComponent.
Reimplemented from TaskRelevanceMapAdapter.
Definition at line 969 of file TaskRelevanceMap.C.
| void TaskRelevanceMapTigs2::saccadicSuppression | ( | const bool | on | ) | [protected, virtual] |
Some TRM implementations will reset their memory upon saccade.
Implements TaskRelevanceMapAdapter.
Definition at line 1078 of file TaskRelevanceMap.C.
| void TaskRelevanceMapTigs2::save1 | ( | const ModelComponentSaveInfo & | sinfo | ) | [protected, virtual] |
Save our internals.
Call the TaskRelevanceMapAdapter version, plus save our static buf.
Reimplemented from TaskRelevanceMapAdapter.
Definition at line 1133 of file TaskRelevanceMap.C.
References FLOAT_NORM_0_255, OModelParam< T >::getVal(), TaskRelevanceMapAdapter::itsSaveResults, and SRC_POS.
Number of inputs to compute over.
Definition at line 499 of file TaskRelevanceMap.H.
1.6.3