The standard attentional guidance map. More...
#include <Neuro/AttentionGuidanceMap.H>
Public Member Functions | |
AttentionGuidanceMapStd (OptionManager &mgr, const std::string &descrName="Task-Relevance Map Std", const std::string &tagName="AttentionGuidanceMapStd") | |
Uninitialized constructor. | |
virtual | ~AttentionGuidanceMapStd () |
Destructor. | |
virtual void | reset () |
Reset to initial state just after construction. | |
Protected Member Functions | |
virtual void | inputBU (const Image< float > &in) |
Set new bottom-up input. | |
virtual void | inputTD (const Image< float > &in) |
Set new top-down input. | |
virtual Image< float > | getV () const |
Return all our values as an Image<float> |
The standard attentional guidance map.
This is our current standard AGM implementation. It just takes the pointwise product between bottom-up and top-down inputs.
Definition at line 187 of file AttentionGuidanceMap.H.
AttentionGuidanceMapStd::AttentionGuidanceMapStd | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Task-Relevance Map Std" , |
|||
const std::string & | tagName = "AttentionGuidanceMapStd" | |||
) |
Uninitialized constructor.
Definition at line 212 of file AttentionGuidanceMap.C.
AttentionGuidanceMapStd::~AttentionGuidanceMapStd | ( | ) | [virtual] |
Destructor.
Definition at line 220 of file AttentionGuidanceMap.C.
Image< float > AttentionGuidanceMapStd::getV | ( | ) | const [protected, virtual] |
Return all our values as an Image<float>
Implements AttentionGuidanceMap.
Definition at line 236 of file AttentionGuidanceMap.C.
References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), and Image< T >::initialized().
void AttentionGuidanceMapStd::inputBU | ( | const Image< float > & | in | ) | [protected, virtual] |
Set new bottom-up input.
Implements AttentionGuidanceMap.
Definition at line 228 of file AttentionGuidanceMap.C.
void AttentionGuidanceMapStd::inputTD | ( | const Image< float > & | in | ) | [protected, virtual] |
Set new top-down input.
Implements AttentionGuidanceMap.
Definition at line 232 of file AttentionGuidanceMap.C.
void AttentionGuidanceMapStd::reset | ( | ) | [virtual] |
Reset to initial state just after construction.
Implements AttentionGuidanceMap.
Definition at line 224 of file AttentionGuidanceMap.C.
References Image< T >::freeMem().