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

SaliencyMapStd Class Reference

#include <Neuro/SaliencyMap.H>

Inheritance diagram for SaliencyMapStd:

Inheritance graph
[legend]
Collaboration diagram for SaliencyMapStd:

Collaboration graph
[legend]
List of all members.

Detailed Description

The standard saliency map: a 2D array of LeakyIntegrator neurons.

This is a 2D salience map. It is an Image<LeakyIntegrator> and inherits all the standard methods of class Image. To avoid confusion, we here add explicit input() and getV() methods (rather than providing conversion functions between LeakyIntegrator and float, which could make the process more transparent but also possibly more confusing).

Definition at line 206 of file SaliencyMap.H.

Public Member Functions

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

Protected Member Functions

 SIMCALLBACK_DECLARE (SaliencyMapStd, SimEventClockTick)
 Callback for every clock tick, to run our diff equations in integrate().
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 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< float > itsGinhDecay
 decay for IOR inhibition


Constructor & Destructor Documentation

SaliencyMapStd::SaliencyMapStd OptionManager mgr,
const std::string descrName = "Saliency Map Std",
const std::string tagName = "SaliencyMapStd"
 

Ininitialized constructor.

Definition at line 277 of file SaliencyMap.C.

References GVX_TRACE.

SaliencyMapStd::~SaliencyMapStd  )  [virtual]
 

Destructor.

Definition at line 288 of file SaliencyMap.C.

References GVX_TRACE.


Member Function Documentation

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

Turn blink suppression on/off.

Implements SaliencyMapAdapter.

Definition at line 385 of file SaliencyMap.C.

References Image< T >::beginw(), Image< T >::endw(), LINFO, and src.

void SaliencyMapStd::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 333 of file SaliencyMap.C.

References Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), GVX_TRACE, hh, Point2D< T >::i, Point2D< T >::j, LDEBUG, p, src, and ww.

void SaliencyMapStd::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 313 of file SaliencyMap.C.

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

float SaliencyMapStd::getV const Point2D< int > &  p  )  const [protected, virtual]
 

Access function using Point2D<int>.

Implements SaliencyMapAdapter.

Definition at line 419 of file SaliencyMap.C.

References LeakyIntegrator::getV(), Image< T >::getVal(), and GVX_TRACE.

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

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

Implements SaliencyMapAdapter.

Definition at line 404 of file SaliencyMap.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::end(), Image< T >::getDims(), GVX_TRACE, Image< T >::initialized(), NO_INIT, and src.

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

Set new input currents for all neurons.

Implements SaliencyMapAdapter.

Definition at line 294 of file SaliencyMap.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::end(), Image< T >::endw(), Image< T >::getDims(), OModelParam< T >::getVal(), Image< T >::initialized(), itsGinhDecay, Image< T >::resize(), and ModelComponent::stop().

void SaliencyMapStd::reset1  )  [protected, virtual]
 

Reset to initial state just after construction.

Reimplemented from ModelComponent.

Definition at line 426 of file SaliencyMap.C.

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

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

Turn saccadic suppression on/off.

Implements SaliencyMapAdapter.

Definition at line 366 of file SaliencyMap.C.

References Image< T >::beginw(), Image< T >::endw(), LINFO, and src.

SaliencyMapStd::SIMCALLBACK_DECLARE SaliencyMapStd  ,
SimEventClockTick 
[protected]
 

Callback for every clock tick, to run our diff equations in integrate().


Member Data Documentation

OModelParam<float> SaliencyMapStd::itsGinhDecay [protected]
 

decay for IOR inhibition

Definition at line 221 of file SaliencyMap.H.

Referenced by input().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:50:56 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4