Ganglion Class Reference

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

List of all members.

Public Types

enum  CHAN { LUM, RG, BY }

Public Member Functions

 Ganglion (OptionManager &mgr, const std::string &descrName="Ganglion", const std::string &tagName="Ganglion")
 Constructor.
virtual ~Ganglion ()
 Destructor.
void init (Dims numCells)
void setInput (const Image< PixRGB< byte > > &img)
void evolve ()
ImageSet< float > getOutput ()
ImageSet< float > getInput ()
ImageSet< float > getGanglionCells ()
void setBias (const ImageSet< float > &biasImg)
Layout< PixRGB< byte > > getDebugImage ()
 Get a the input,stats,and output.

Protected Member Functions

 SIMCALLBACK_DECLARE (Ganglion, SimEventInputFrame)
 Callback for when a new input frame is available.
 SIMCALLBACK_DECLARE (Ganglion, SimEventSaveOutput)
 Callback for every time we should save our outputs.

Protected Attributes

OModelParam< bool > itsShowDebug
 Should we show our debug info.

Detailed Description

Definition at line 58 of file Ganglion.H.


Constructor & Destructor Documentation

Ganglion::Ganglion ( OptionManager mgr,
const std::string descrName = "Ganglion",
const std::string tagName = "Ganglion" 
)

Constructor.

See ModelComponent.H for details

Definition at line 71 of file Ganglion.C.

Ganglion::~Ganglion (  )  [virtual]

Destructor.

Definition at line 83 of file Ganglion.C.


Member Function Documentation

Layout< PixRGB< byte > > Ganglion::getDebugImage (  ) 

Get a the input,stats,and output.

Definition at line 410 of file Ganglion.C.

References drawCircle(), inplaceNormalize(), Point2D< T >::isValid(), and toRGB().

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

Callback for every time we should save our outputs.

Ganglion::SIMCALLBACK_DECLARE ( Ganglion  ,
SimEventInputFrame   
) [protected]

Callback for when a new input frame is available.


Member Data Documentation

Should we show our debug info.

Definition at line 93 of file Ganglion.H.


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