SimulationViewerEyeMvt Class Reference

Measure salience at human eye positions. More...

#include <Neuro/SimulationViewerEyeMvt.H>

Inheritance diagram for SimulationViewerEyeMvt:
Inheritance graph
[legend]
Collaboration diagram for SimulationViewerEyeMvt:
Collaboration graph
[legend]

List of all members.

Classes

struct  GEyeFormat

Public Member Functions

Constructors and destructors

 SimulationViewerEyeMvt (OptionManager &mgr, const std::string &descrName="EyeMvt Simulation Viewer", const std::string &tagName="SimulationViewerEyeMvt")
 Constructor. See ModelComponent.H.
virtual ~SimulationViewerEyeMvt ()
 Destructor.

Protected Member Functions

 SIMCALLBACK_DECLARE (SimulationViewerEyeMvt, SimEventClockTick)
 Callback for every clock tick.
 SIMCALLBACK_DECLARE (SimulationViewerEyeMvt, SimEventSaveOutput)
 Callback for every time we should save our outputs.
void save1 (const ModelComponentSaveInfo &sinfo)
 Save our various results.
virtual Image< PixRGB< byte > > getTraj (SimEventQueue &q)
 Get the attention/eye/head trajectory image.
virtual void start1 ()
 get started
virtual void stop1 ()
 get stopped
virtual void drawEye (const rutz::shared_ptr< EyeData > data, const uint trackerNum)
virtual void drawFOA (const Point2D< int > target, const uint trackerNum)
virtual std::string craftSVEMOutput (const std::string TrackerNum, const rutz::shared_ptr< EyeData > data)
virtual void extraSampleProcessing (const rutz::shared_ptr< EyeData >)
std::string craftModelFreeOutput (const rutz::shared_ptr< EyeData > data)
std::string craftSMSamples (const rutz::shared_ptr< EyeData > data, Image< float > smap)
std::string craftSMHistory (const rutz::shared_ptr< EyeData > data, Image< float > smap)
void writeHeader ()
Point2D< int > rawToRet (Point2D< int > P) const

Protected Attributes

nub::ref< SpatialMetricsitsMetrics
 metrics that depend on input size
OModelParam< bool > itsSaveTraj
 save trajectory?
OModelParam< bool > itsSaveMegaCombo
 save mega combo?
OModelParam< int > itsDelayCacheSize
 size of our delay cache
OModelParam< int > itsMaxCacheSize
 size of our max cache
OModelParam< bool > itsSampleAtStart
 take samples at start or end of sac
OModelParam< bool > itsDisplaySacNum
 display saccade number?
OModelParam< bool > itsDisplayPatch
 display eye position
OModelParam< int > itsPatchSize
 size of marker at eye position
OModelParam< bool > itsEraseMarker
 erase marker at each frame
OModelParam< bool > itsDisplayFOA
 display saccade targets?
OModelParam< LevelSpecitsLevelSpec
 our levelspec
OModelParam< std::stringitsOutFname
 Our results file.
OModelParam< std::stringitsPriorRandomDistro
 Uniform or from File.
OModelParam< bool > itsUseSaccadeInBlink
 use saccade during blink?
OModelParam< bool > itsUseDiagColor
 use saccade during blink?
OModelParam< bool > itsLabelEyePatch
 label eyetraces on video
OModelParam< bool > itsWriteFrameNum
 write framenumber
OModelParam< int > itsNumRandomSamples
 number of random samples
OModelParam< int > itsMaxComboWidth
 max width of getTraj()
OModelParam< uintitsSMhistoryQlen
 queue len for Sm history
ImageCacheMinMax< float > itsDelayCache
ImageCacheMinMax< float > itsMaxCache
Image< float > itsHeadSM
Image< PixRGB< byte > > itsDrawings
SimTime itsCurrTime
uint itsFrameNumber
bool itsHeaderCrafted
std::vector< std::stringitsOutFields
std::vector< GEyeFormatitsEyeStyles

Detailed Description

Measure salience at human eye positions.

Definition at line 60 of file SimulationViewerEyeMvt.H.


Constructor & Destructor Documentation

SimulationViewerEyeMvt::SimulationViewerEyeMvt ( OptionManager mgr,
const std::string descrName = "EyeMvt Simulation Viewer",
const std::string tagName = "SimulationViewerEyeMvt" 
)
SimulationViewerEyeMvt::~SimulationViewerEyeMvt (  )  [virtual]

Destructor.

Definition at line 125 of file SimulationViewerEyeMvt.C.


Member Function Documentation

Image< PixRGB< byte > > SimulationViewerEyeMvt::getTraj ( SimEventQueue q  )  [protected, virtual]
void SimulationViewerEyeMvt::save1 ( const ModelComponentSaveInfo sinfo  )  [protected, virtual]

Save our various results.

Reimplemented from ModelComponent.

Definition at line 766 of file SimulationViewerEyeMvt.C.

References getTraj(), OModelParam< T >::getVal(), itsSaveMegaCombo, itsSaveTraj, and SRC_POS.

SimulationViewerEyeMvt::SIMCALLBACK_DECLARE ( SimulationViewerEyeMvt  ,
SimEventSaveOutput   
) [protected]

Callback for every time we should save our outputs.

SimulationViewerEyeMvt::SIMCALLBACK_DECLARE ( SimulationViewerEyeMvt  ,
SimEventClockTick   
) [protected]

Callback for every clock tick.

void SimulationViewerEyeMvt::start1 (  )  [protected, virtual]
void SimulationViewerEyeMvt::stop1 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Reimplemented in SimulationViewerEyeRegion.

Definition at line 181 of file SimulationViewerEyeMvt.C.


Member Data Documentation

size of our delay cache

Definition at line 95 of file SimulationViewerEyeMvt.H.

Referenced by start1().

display saccade targets?

Definition at line 102 of file SimulationViewerEyeMvt.H.

display eye position

Definition at line 99 of file SimulationViewerEyeMvt.H.

Referenced by SimulationViewerEyeRegion::start1().

display saccade number?

Definition at line 98 of file SimulationViewerEyeMvt.H.

erase marker at each frame

Definition at line 101 of file SimulationViewerEyeMvt.H.

label eyetraces on video

Definition at line 108 of file SimulationViewerEyeMvt.H.

our levelspec

Definition at line 103 of file SimulationViewerEyeMvt.H.

size of our max cache

Definition at line 96 of file SimulationViewerEyeMvt.H.

Referenced by SimulationViewerEyeRegion::getTraj(), getTraj(), and start1().

max width of getTraj()

Definition at line 111 of file SimulationViewerEyeMvt.H.

Referenced by SimulationViewerEyeRegion::getTraj(), and getTraj().

metrics that depend on input size

Definition at line 91 of file SimulationViewerEyeMvt.H.

Referenced by SimulationViewerEyeMvt().

number of random samples

Definition at line 110 of file SimulationViewerEyeMvt.H.

Our results file.

Definition at line 104 of file SimulationViewerEyeMvt.H.

Referenced by start1().

size of marker at eye position

Definition at line 100 of file SimulationViewerEyeMvt.H.

Uniform or from File.

Definition at line 105 of file SimulationViewerEyeMvt.H.

Referenced by start1().

take samples at start or end of sac

Definition at line 97 of file SimulationViewerEyeMvt.H.

save mega combo?

Definition at line 94 of file SimulationViewerEyeMvt.H.

Referenced by save1().

save trajectory?

Definition at line 93 of file SimulationViewerEyeMvt.H.

Referenced by SimulationViewerEyeRegion::getTraj(), getTraj(), and save1().

queue len for Sm history

Definition at line 112 of file SimulationViewerEyeMvt.H.

Referenced by start1().

use saccade during blink?

Definition at line 107 of file SimulationViewerEyeMvt.H.

use saccade during blink?

Definition at line 106 of file SimulationViewerEyeMvt.H.

write framenumber

Definition at line 109 of file SimulationViewerEyeMvt.H.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:49 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3