The VisualCortexEyeMvt Class. More...
#include <Neuro/VisualCortexEyeMvt.H>
Public Member Functions | |
VisualCortexEyeMvt (OptionManager &mgr, const std::string &descrName="Visual Cortex Eye Mvt", const std::string &tagName="VisualCortexEyeMvt") | |
Construct with no channel; channels are ignored anyways. | |
virtual | ~VisualCortexEyeMvt () |
Virtual destructor for safe inheritance. | |
virtual Image< float > | getOutput () |
Get the output from visual cortex. | |
Protected Member Functions | |
SIMCALLBACK_DECLARE (VisualCortexEyeMvt, SimEventClockTick) | |
Callback for every clock tick, to run our plotting. | |
SIMCALLBACK_DECLARE (VisualCortexEyeMvt, SimEventRetinaImage) | |
Callback for every input frame. | |
SIMCALLBACK_DECLARE (VisualCortexEyeMvt, SimEventSaveOutput) | |
Callback for every time we should save our outputs. | |
SIMREQHANDLER_DECLARE (VisualCortexEyeMvt, SimReqVCXfeatures) | |
Callback for every time someone wants our features. | |
SIMREQHANDLER_DECLARE (VisualCortexEyeMvt, SimReqVCXmaps) | |
Callback for every time someone wants our maps. | |
virtual void | start1 () |
This is called from within start() before the subcomponents start. | |
Protected Attributes | |
OModelParam< std::string > | itsFnames |
names of eye movement files | |
OModelParam< float > | itsSigma |
sigma of gaussian blobs in pix at sml | |
OModelParam< float > | itsForgetFac |
forgetting factor | |
OModelParam< uint > | itsDelay |
human-to-human delay, in eye samples | |
OModelParam< bool > | itsUseMax |
use max to combine instead of sum | |
OModelParam< bool > | itsSaccadeOnly |
plot only when a saccade | |
OModelParam< LevelSpec > | itsLevelSpec |
our levelspec | |
OModelParam< bool > | itsSaveOutput |
save our output? | |
OModelParam< float > | itsOutputFactor |
output range factor |
The VisualCortexEyeMvt Class.
This is a fake VisualCortex that outputs a saliency map built from a number of human eye movement traces. It contains an EyeTrackerEyeHeadController object that will provide eye position of the various humans, and it builds some sort of heat map from those.
Definition at line 58 of file VisualCortexEyeMvt.H.
VisualCortexEyeMvt::VisualCortexEyeMvt | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Visual Cortex Eye Mvt" , |
|||
const std::string & | tagName = "VisualCortexEyeMvt" | |||
) |
Construct with no channel; channels are ignored anyways.
Definition at line 62 of file VisualCortexEyeMvt.C.
VisualCortexEyeMvt::~VisualCortexEyeMvt | ( | ) | [virtual] |
Virtual destructor for safe inheritance.
Definition at line 84 of file VisualCortexEyeMvt.C.
Image< float > VisualCortexEyeMvt::getOutput | ( | ) | [virtual] |
Get the output from visual cortex.
Definition at line 219 of file VisualCortexEyeMvt.C.
References getMinMax(), OModelParam< T >::getVal(), Image< T >::initialized(), itsOutputFactor, itsUseMax, ImageSet< T >::size(), and takeMax().
VisualCortexEyeMvt::SIMCALLBACK_DECLARE | ( | VisualCortexEyeMvt | , | |
SimEventSaveOutput | ||||
) | [protected] |
Callback for every time we should save our outputs.
VisualCortexEyeMvt::SIMCALLBACK_DECLARE | ( | VisualCortexEyeMvt | , | |
SimEventRetinaImage | ||||
) | [protected] |
Callback for every input frame.
VisualCortexEyeMvt::SIMCALLBACK_DECLARE | ( | VisualCortexEyeMvt | , | |
SimEventClockTick | ||||
) | [protected] |
Callback for every clock tick, to run our plotting.
VisualCortexEyeMvt::SIMREQHANDLER_DECLARE | ( | VisualCortexEyeMvt | , | |
SimReqVCXmaps | ||||
) | [protected] |
Callback for every time someone wants our maps.
VisualCortexEyeMvt::SIMREQHANDLER_DECLARE | ( | VisualCortexEyeMvt | , | |
SimReqVCXfeatures | ||||
) | [protected] |
Callback for every time someone wants our features.
void VisualCortexEyeMvt::start1 | ( | ) | [protected, virtual] |
This is called from within start() before the subcomponents start.
Reimplemented from SimModule.
Definition at line 88 of file VisualCortexEyeMvt.C.
References OModelParam< T >::getVal(), itsDelay, itsFnames, ImageSet< T >::reset(), and split().
OModelParam<uint> VisualCortexEyeMvt::itsDelay [protected] |
human-to-human delay, in eye samples
Definition at line 91 of file VisualCortexEyeMvt.H.
Referenced by start1().
OModelParam<std::string> VisualCortexEyeMvt::itsFnames [protected] |
names of eye movement files
Definition at line 88 of file VisualCortexEyeMvt.H.
Referenced by start1().
OModelParam<float> VisualCortexEyeMvt::itsForgetFac [protected] |
forgetting factor
Definition at line 90 of file VisualCortexEyeMvt.H.
OModelParam<LevelSpec> VisualCortexEyeMvt::itsLevelSpec [protected] |
our levelspec
Definition at line 94 of file VisualCortexEyeMvt.H.
OModelParam<float> VisualCortexEyeMvt::itsOutputFactor [protected] |
OModelParam<bool> VisualCortexEyeMvt::itsSaccadeOnly [protected] |
plot only when a saccade
Definition at line 93 of file VisualCortexEyeMvt.H.
OModelParam<bool> VisualCortexEyeMvt::itsSaveOutput [protected] |
save our output?
Definition at line 95 of file VisualCortexEyeMvt.H.
OModelParam<float> VisualCortexEyeMvt::itsSigma [protected] |
sigma of gaussian blobs in pix at sml
Definition at line 89 of file VisualCortexEyeMvt.H.
OModelParam<bool> VisualCortexEyeMvt::itsUseMax [protected] |
use max to combine instead of sum
Definition at line 92 of file VisualCortexEyeMvt.H.
Referenced by getOutput().