A new output(s) is available from the AttentionGuidanceMap. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimEventAttentionGuidanceMapOutput (SimModule *src, const Image< float > &agmout) | |
Constuctor for a single map. | |
SimEventAttentionGuidanceMapOutput (SimModule *src, const ImageSet< float > &agmout) | |
constructor for when we have more than 1 map | |
virtual | ~SimEventAttentionGuidanceMapOutput () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
uint | numMaps () const |
get the number of maps | |
const Image< float > | agm (const float factor=1.0F, const uint pos=0) const |
Get the AttentionGuidanceMap output. | |
const ImageSet< float > | allAgm (const float factor=1.0F) const |
Get all AttentionGuidanceMap outputs. |
A new output(s) is available from the AttentionGuidanceMap.
Definition at line 284 of file NeuroSimEvents.H.
SimEventAttentionGuidanceMapOutput::SimEventAttentionGuidanceMapOutput | ( | SimModule * | src, | |
const Image< float > & | agmout | |||
) |
Constuctor for a single map.
Definition at line 273 of file NeuroSimEvents.C.
SimEventAttentionGuidanceMapOutput::SimEventAttentionGuidanceMapOutput | ( | SimModule * | src, | |
const ImageSet< float > & | agmout | |||
) |
constructor for when we have more than 1 map
Definition at line 278 of file NeuroSimEvents.C.
SimEventAttentionGuidanceMapOutput::~SimEventAttentionGuidanceMapOutput | ( | ) | [virtual] |
Destructor.
Definition at line 282 of file NeuroSimEvents.C.
const Image< float > SimEventAttentionGuidanceMapOutput::agm | ( | const float | factor = 1.0F , |
|
const uint | pos = 0 | |||
) | const |
Get the AttentionGuidanceMap 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 294 of file NeuroSimEvents.C.
References inplaceNormalize(), and ImageSet< T >::size().
const ImageSet< float > SimEventAttentionGuidanceMapOutput::allAgm | ( | const float | factor = 1.0F |
) | const |
Get all AttentionGuidanceMap outputs.
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 305 of file NeuroSimEvents.C.
References inplaceNormalize(), and ImageSet< T >::size().
uint SimEventAttentionGuidanceMapOutput::numMaps | ( | ) | const |
get the number of maps
Definition at line 291 of file NeuroSimEvents.C.
References ImageSet< T >::size().
std::string SimEventAttentionGuidanceMapOutput::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 285 of file NeuroSimEvents.C.
References sformat(), and ImageSet< T >::size().