Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SaliencyMapFast Class Reference

#include <Neuro/SaliencyMap.H>

Inheritance diagram for SaliencyMapFast:

Inheritance graph
[legend]
Collaboration diagram for SaliencyMapFast:

Collaboration graph
[legend]
List of all members.

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.

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.


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.

References GVX_TRACE.

SaliencyMapFast::~SaliencyMapFast  )  [virtual]
 

Destructor.

Definition at line 579 of file SaliencyMap.C.

References GVX_TRACE.


Member Function Documentation

void SaliencyMapFast::blinkSuppression SimEventQueue q,
const bool  on
[protected, virtual]
 

Turn blink suppression on/off.

Implements SaliencyMapAdapter.

Definition at line 691 of file SaliencyMap.C.

References GVX_TRACE, Image< T >::initialized(), integrate(), LINFO, rutz::make_shared(), and SimEventQueue::post().

void SaliencyMapFast::depress SimEventQueue q,
const Point2D< int > &  winner,
const double &  ampl,
const Image< byte > &  objectMask
[protected, virtual]
 

Object-based inhibition of return.

Implements SaliencyMapAdapter.

Definition at line 642 of file SaliencyMap.C.

References GVX_TRACE, Image< T >::initialized(), inplaceRectify(), integrate(), rutz::make_shared(), and SimEventQueue::post().

void SaliencyMapFast::depress SimEventQueue q,
const Point2D< int > &  winner,
const double &  pampl,
const double &  mampl,
const double &  psdev,
const double &  msdev
[protected, virtual]
 

Difference-of-Gaussians inhibition of return.

Implements SaliencyMapAdapter.

Definition at line 610 of file SaliencyMap.C.

References Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getWidth(), GVX_TRACE, hh, Point2D< T >::i, Image< T >::initialized(), integrate(), iorHelper(), Point2D< T >::j, LDEBUG, rutz::make_shared(), p, SimEventQueue::post(), src, and ww.

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(), and GVX_TRACE.

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.

References GVX_TRACE.

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

Set new input currents for all neurons.

Implements SaliencyMapAdapter.

Definition at line 592 of file SaliencyMap.C.

References OModelParam< T >::getVal(), GVX_TRACE, Image< T >::initialized(), integrate(), itsItoVcoeff, rutz::make_shared(), and SimEventQueue::post().

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(), GVX_TRACE, 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(), GVX_TRACE, and SimTime::ZERO().

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

Turn saccadic suppression on/off.

Implements SaliencyMapAdapter.

Definition at line 673 of file SaliencyMap.C.

References GVX_TRACE, Image< T >::initialized(), integrate(), LINFO, rutz::make_shared(), and SimEventQueue::post().


Member Data Documentation

OModelParam<float> SaliencyMapFast::itsInputCoeff [protected]
 

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().

OModelParam<float> SaliencyMapFast::itsItoVcoeff [protected]
 

Coeff to go from current inputs to voltage outputs.

Definition at line 333 of file SaliencyMap.H.

Referenced by input().

OModelParam<SimTime> SaliencyMapFast::itsTimeStep [protected]
 

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 Nov 22 13:46:22 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4