A new output is available from the TaskRelevanceMap. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimEventTaskRelevanceMapOutput (SimModule *src, const Image< float > &smout) | |
Constuctor. | |
virtual | ~SimEventTaskRelevanceMapOutput () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
const Image< float > | trm (const float factor=1.0F) const |
Get the TaskRelevanceMap output. |
A new output is available from the TaskRelevanceMap.
Definition at line 261 of file NeuroSimEvents.H.
SimEventTaskRelevanceMapOutput::SimEventTaskRelevanceMapOutput | ( | SimModule * | src, | |
const Image< float > & | smout | |||
) |
Constuctor.
Definition at line 249 of file NeuroSimEvents.C.
SimEventTaskRelevanceMapOutput::~SimEventTaskRelevanceMapOutput | ( | ) | [virtual] |
Destructor.
Definition at line 253 of file NeuroSimEvents.C.
std::string SimEventTaskRelevanceMapOutput::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 256 of file NeuroSimEvents.C.
References Image< T >::getHeight(), Image< T >::getWidth(), and sformat().
const Image< float > SimEventTaskRelevanceMapOutput::trm | ( | const float | factor = 1.0F |
) | const |
Get the TaskRelevanceMap output.
A factor of 1.0 will return the raw, unnormalized map. A factor of 0.0F will normalize the map to a range of [0..255]. Any other factor will be used to multiply the map values.
Definition at line 263 of file NeuroSimEvents.C.
References inplaceNormalize().