V4 Class Reference

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

List of all members.

Classes

struct  GeonOutline
struct  GeonState
struct  GHTAcc
struct  RTableEntry

Public Types

enum  GEON_TYPE { TRIANGLE, SQUARE, CIRCLE }

Public Member Functions

 V4 (OptionManager &mgr, const std::string &descrName="V4", const std::string &tagName="V4")
 ~V4 ()
 Destructor.
void buildRTables ()
void init (Dims dims)
void setInput (const std::vector< V1::EdgeState > &edgesState)
void setInput (const std::vector< V4d::NAFState > &nafStates)
std::vector< V4::GeonStategetOutput ()
std::vector< V4d::NAFStategetBias ()
void showGeon (GeonOutline &object)
void evolve ()
void alignToCenterOfMass (GeonOutline &featureTemplate)
 Align template so that center of mass is at 0,0.
Layout< PixRGB< byte > > getDebugImage ()
void getOutlineLikelihood (GeonState &geon)
void getGeonLikelihood (GeonState &geon)
double getLineProbability (const Point2D< int > &p1, const Point2D< int > &p2)
void resampleParticles (std::vector< GeonState > &geonParticles)
void resampleParticles2 (std::vector< GeonState > &geonParticles)
void proposeParticles (std::vector< GeonState > &geonParticles, const double Neff)
std::vector< Point2D< int > > getImageGeonOutline (GeonState &geon)
float evaluateGeonParticles (std::vector< GeonState > &geonParticles)
void GHT (std::vector< GHTAcc > &accRet, GeonOutline &geonOutline)
void normalizeAcc (std::vector< GHTAcc > &acc)
void voteForFeature (Image< float > &acc, int angIdx, std::vector< RTableEntry > &rTable)
Image< PixRGB< byte > > showParticles (const std::vector< GeonState > &geonParticles)

Protected Member Functions

 SIMCALLBACK_DECLARE (V4, SimEventV2Output)
 Callback for when a new ganglion output is ready.
 SIMCALLBACK_DECLARE (V4, SimEventV4dOutput)
 Callback for when a new ganglion output is ready.
 SIMCALLBACK_DECLARE (V4, SimEventUserInput)
 Callback for every time we have a user event.
 SIMCALLBACK_DECLARE (V4, 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 60 of file V4.H.


Constructor & Destructor Documentation

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

Geons

Definition at line 103 of file V4.C.

References alignToCenterOfMass(), rutz::shared_ptr< T >::reset(), and ZEROS.

V4::~V4 (  ) 

Destructor.

Definition at line 220 of file V4.C.


Member Function Documentation

void V4::alignToCenterOfMass ( GeonOutline featureTemplate  ) 

Align template so that center of mass is at 0,0.

Definition at line 226 of file V4.C.

Referenced by V4().

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

Callback for every time we should save our outputs.

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

Callback for every time we have a user event.

V4::SIMCALLBACK_DECLARE ( V4  ,
SimEventV4dOutput   
) [protected]

Callback for when a new ganglion output is ready.

V4::SIMCALLBACK_DECLARE ( V4  ,
SimEventV2Output   
) [protected]

Callback for when a new ganglion output is ready.


Member Data Documentation

OModelParam<bool> V4::itsShowDebug [protected]

Should we show our debug info.

Definition at line 185 of file V4.H.


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