The Optimized Attention Guidance Map. More...
#include <Neuro/AttentionGuidanceMap.H>
Public Member Functions | |
AttentionGuidanceMapOpt (OptionManager &mgr, const std::string &descrName="Attention Guidance Map Optimized", const std::string &tagName="AttentionGuidanceMapOpt") | |
Uninitialized constructor. | |
virtual | ~AttentionGuidanceMapOpt () |
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 Optimized Attention Guidance Map.
This is our current optimized standard AGM implementation. It just takes the a*BU + b*TD + BU*TD mode, and (a,b) are optimized coefficients
Definition at line 222 of file AttentionGuidanceMap.H.
AttentionGuidanceMapOpt::AttentionGuidanceMapOpt | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Attention Guidance Map Optimized" , |
|||
const std::string & | tagName = "AttentionGuidanceMapOpt" | |||
) |
Uninitialized constructor.
Definition at line 261 of file AttentionGuidanceMap.C.
AttentionGuidanceMapOpt::~AttentionGuidanceMapOpt | ( | ) | [virtual] |
Destructor.
Definition at line 269 of file AttentionGuidanceMap.C.
Image< float > AttentionGuidanceMapOpt::getV | ( | ) | const [protected, virtual] |
Return all our values as an Image<float>
Implements AttentionGuidanceMap.
Definition at line 285 of file AttentionGuidanceMap.C.
References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), and Image< T >::initialized().
void AttentionGuidanceMapOpt::inputBU | ( | const Image< float > & | in | ) | [protected, virtual] |
Set new bottom-up input.
Implements AttentionGuidanceMap.
Definition at line 277 of file AttentionGuidanceMap.C.
void AttentionGuidanceMapOpt::inputTD | ( | const Image< float > & | in | ) | [protected, virtual] |
Set new top-down input.
Implements AttentionGuidanceMap.
Definition at line 281 of file AttentionGuidanceMap.C.
void AttentionGuidanceMapOpt::reset | ( | ) | [virtual] |
Reset to initial state just after construction.
Implements AttentionGuidanceMap.
Definition at line 273 of file AttentionGuidanceMap.C.
References Image< T >::freeMem().