SaliencyMapFast Class Reference

The fast saliency map: a 2D array of floats. More...

#include <Neuro/SaliencyMap.H>

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

List of all members.

Public Member Functions

 SaliencyMapFast (OptionManager &mgr, const std::string &descrName="Saliency Map Fast", const std::string &tagName="SaliencyMapFast")
 Ininitialized constructor.
virtual ~SaliencyMapFast ()
 Destructor.

Protected Member Functions

virtual void input (SimEventQueue &q, const Image< float > &in)
 Set new input currents for all neurons.
virtual void depress (SimEventQueue &q, const Point2D< int > &winner, const double &pampl, const double &mampl, const double &psdev, const double &msdev)
 Difference-of-Gaussians inhibition of return.
virtual void depress (SimEventQueue &q, const Point2D< int > &winner, const double &ampl, const Image< byte > &objectMask)
 Object-based inhibition of return.
virtual void integrate (SimEventQueue &q)
 Integrate our neurons for one time step.
virtual void saccadicSuppression (SimEventQueue &q, const bool on)
 Turn saccadic suppression on/off.
virtual void blinkSuppression (SimEventQueue &q, const bool on)
 Turn blink suppression on/off.
virtual Image< float > getV () const
 Return all our membrane potential voltages as an Image<float>
virtual float getV (const Point2D< int > &p) const
 Access function using Point2D<int>
virtual void reset1 ()
 Reset to initial state just after construction.

Protected Attributes

OModelParam< SimTimeitsTimeStep
 Simulation time step, in seconds.
OModelParam< float > itsInputCoeff
 Coeff by which new inputs replace the current SM at each time step (0..1).
OModelParam< float > itsItoVcoeff
 Coeff to go from current inputs to voltage outputs.

Detailed Description

The fast saliency map: a 2D array of floats.

This is a 2D salience map. It is an Image<float> and inherits all the standard methods of class Image. To avoid confusion, we here add explicit input() and getV() methods.

Definition at line 314 of file SaliencyMap.H.


Constructor & Destructor Documentation

SaliencyMapFast::SaliencyMapFast ( OptionManager mgr,
const std::string descrName = "Saliency Map Fast",
const std::string tagName = "SaliencyMapFast" 
)

Ininitialized constructor.

Definition at line 566 of file SaliencyMap.C.

SaliencyMapFast::~SaliencyMapFast (  )  [virtual]

Destructor.

Definition at line 579 of file SaliencyMap.C.


Member Function Documentation

void SaliencyMapFast::blinkSuppression ( SimEventQueue q,
const bool  on 
) [protected, virtual]
void SaliencyMapFast::depress ( SimEventQueue q,
const Point2D< int > &  winner,
const double &  ampl,
const Image< byte > &  objectMask 
) [protected, virtual]
void SaliencyMapFast::depress ( SimEventQueue q,
const Point2D< int > &  winner,
const double &  pampl,
const double &  mampl,
const double &  psdev,
const double &  msdev 
) [protected, virtual]
float SaliencyMapFast::getV ( const Point2D< int > &  p  )  const [protected, virtual]

Access function using Point2D<int>

Implements SaliencyMapAdapter.

Definition at line 716 of file SaliencyMap.C.

References Image< T >::getVal().

Image< float > SaliencyMapFast::getV (  )  const [protected, virtual]

Return all our membrane potential voltages as an Image<float>

Implements SaliencyMapAdapter.

Definition at line 709 of file SaliencyMap.C.

void SaliencyMapFast::input ( SimEventQueue q,
const Image< float > &  in 
) [protected, virtual]
void SaliencyMapFast::integrate ( SimEventQueue q  )  [protected, virtual]

Integrate our neurons for one time step.

Definition at line 659 of file SaliencyMap.C.

References OModelParam< T >::getVal(), inplaceAddWeighted(), itsInputCoeff, itsTimeStep, SimEventQueue::now(), and SimTime::secs().

Referenced by blinkSuppression(), depress(), input(), and saccadicSuppression().

void SaliencyMapFast::reset1 (  )  [protected, virtual]

Reset to initial state just after construction.

Reimplemented from ModelComponent.

Definition at line 585 of file SaliencyMap.C.

References Image< T >::freeMem(), and SimTime::ZERO().

void SaliencyMapFast::saccadicSuppression ( SimEventQueue q,
const bool  on 
) [protected, virtual]

Member Data Documentation

Coeff by which new inputs replace the current SM at each time step (0..1).

Definition at line 330 of file SaliencyMap.H.

Referenced by integrate().

Coeff to go from current inputs to voltage outputs.

Definition at line 333 of file SaliencyMap.H.

Referenced by input().

Simulation time step, in seconds.

Definition at line 327 of file SaliencyMap.H.

Referenced by integrate().


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