
#include <Neuro/TaskRelevanceMap.H>
Inheritance diagram for TaskRelevanceMapTigs2:


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 471 of file 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 |
|
||||||||||||||||
|
Uninitialized constructor.
Definition at line 925 of file TaskRelevanceMap.C. References OModelParam< T >::getVal(), itsCacheSize, itsGistPCADims, itsImgPCADims, ImageCache< T >::setMaxSize(), and OModelParam< T >::setVal(). |
|
|
Destructor.
Definition at line 945 of file TaskRelevanceMap.C. |
|
|
Called when a new input frame is available from the Retina.
Implements TaskRelevanceMapAdapter. Definition at line 955 of file TaskRelevanceMap.C. References InputFrame::getDims(), getGistPCAMatrix(), Image< T >::getHeight(), getImgPCAMatrix(), getTigsMatrix(), Image< T >::getWidth(), InputFrame::grayFloat(), rescale(), reshape(), and transpose(). |
|
|
Integrate for one time step.
Implements TaskRelevanceMapAdapter. Definition at line 1024 of file TaskRelevanceMap.C. References SimEventQueue::check(), e, Image< T >::getDims(), getMinMax(), getTDMap(), OModelParam< T >::getVal(), itsCacheSize, TaskRelevanceMapAdapter::itsMap, itsUpdatePeriod, LINFO, ImageCacheAvg< T >::mean(), ImageCache< T >::push_back(), and rescale(). |
|
|
Get reset. See ModelComponent.
Reimplemented from TaskRelevanceMapAdapter. Definition at line 949 of file TaskRelevanceMap.C. References TaskRelevanceMapAdapter::reset1(). |
|
|
Some TRM implementations will reset their memory upon saccade.
Implements TaskRelevanceMapAdapter. Definition at line 1056 of file TaskRelevanceMap.C. |
|
|
Save our internals. Call the TaskRelevanceMapAdapter version, plus save our static buf. Reimplemented from TaskRelevanceMapAdapter. Definition at line 1111 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 485 of file TaskRelevanceMap.H. Referenced by getTigsMatrix(). |
1.4.4