Geons3D Class Reference

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

List of all members.

Classes

struct  GeonState

Public Member Functions

 Geons3D (OptionManager &mgr, const std::string &descrName="Geons3D", const std::string &tagName="Geons3D")
 ~Geons3D ()
 Destructor.
void evolve (SimEventQueue &q)
std::vector< GeonStateproposeGeons (Rectangle &attenLoc)
void calcGeonLikelihood (GeonState &geon)
double calcGeonEdgeLikelihood (GeonState &geon, Image< float > &edges, Image< float > &surface)
double calcGeonSurfaceLikelihood (GeonState &geon, Image< float > &edges, Image< float > &surface)
double getEdgeProb (Image< float > &mag, Image< float > &modelOri, Image< float > &modelMag)
 Get the probability from a model and data.
double getSurfaceProb (Image< float > &data, Image< float > &model)
 Get the probability of the surface.
void testLikelihood ()
 Test the liklihood function.
Image< PixRGB< byte > > getGeonImage (GeonState &geon)
void drawGeon (const GeonState &geon)
void renderScene (const GeonState &geon, std::vector< ViewPort3D::Line > &lines, Image< PixRGB< byte > > &frame)
Layout< PixRGB< byte > > getDebugImage (SimEventQueue &q)

Protected Member Functions

 SIMCALLBACK_DECLARE (Geons3D, SimEventTwoHalfDSketchOutput)
 Callback for when a new ganglion output is ready.
 SIMCALLBACK_DECLARE (Geons3D, SimEventSaveOutput)
 Callback for every time we should save our outputs.
 SIMCALLBACK_DECLARE (Geons3D, SimEventUserInput)
 Callback for every time we have a user event.
 SIMCALLBACK_DECLARE (Geons3D, SimEventGeons3DPrior)
 Callback for every time we have a prior input.

Protected Attributes

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

Detailed Description

Definition at line 68 of file Geons3D.H.


Constructor & Destructor Documentation

Geons3D::~Geons3D (  ) 

Destructor.

Definition at line 137 of file Geons3D.C.


Member Function Documentation

double Geons3D::getEdgeProb ( Image< float > &  mag,
Image< float > &  modelOri,
Image< float > &  modelMag 
)

Get the probability from a model and data.

Definition at line 398 of file Geons3D.C.

References exp(), Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), min(), ImageSet< T >::size(), and ZEROS.

double Geons3D::getSurfaceProb ( Image< float > &  data,
Image< float > &  model 
)

Get the probability of the surface.

Definition at line 445 of file Geons3D.C.

References exp(), Image< T >::getHeight(), Image< T >::getVal(), and Image< T >::getWidth().

Geons3D::SIMCALLBACK_DECLARE ( Geons3D  ,
SimEventGeons3DPrior   
) [protected]

Callback for every time we have a prior input.

Geons3D::SIMCALLBACK_DECLARE ( Geons3D  ,
SimEventUserInput   
) [protected]

Callback for every time we have a user event.

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

Callback for every time we should save our outputs.

Geons3D::SIMCALLBACK_DECLARE ( Geons3D  ,
SimEventTwoHalfDSketchOutput   
) [protected]

Callback for when a new ganglion output is ready.

void Geons3D::testLikelihood (  ) 

Test the liklihood function.

Definition at line 473 of file Geons3D.C.


Member Data Documentation

Should we show our debug info.

Definition at line 129 of file Geons3D.H.


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