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. |
Definition at line 58 of file Ganglion.H.
Ganglion::Ganglion | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Ganglion" , |
|||
const std::string & | tagName = "Ganglion" | |||
) |
Ganglion::~Ganglion | ( | ) | [virtual] |
Destructor.
Definition at line 83 of file Ganglion.C.
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.
OModelParam<bool> Ganglion::itsShowDebug [protected] |
Should we show our debug info.
Definition at line 93 of file Ganglion.H.