ObjRec Class Reference

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

List of all members.

Classes

struct  EdgeState
struct  LineState
struct  SquareState
struct  WorldState

Public Member Functions

 ObjRec (OptionManager &mgr, const std::string &descrName="ObjRec", const std::string &tagName="ObjRec")
void start2 ()
 This is called from within start() after the subcomponents have started.
double predictWorld (const Image< PixRGB< byte > > &worldImg)
Image< PixRGB< byte > > getWorldPredictImage ()
void setImageDims (const Dims &dims)
void initialProposal ()
void initialProposal (const Image< PixRGB< byte > > &worldImg)
double getPosterior (WorldState &worldState)
double getLikelihood (WorldState &worldState)
double getEdgeLikelihood (WorldState &worldState)
double getLineLikelihood (WorldState &worldState)
double getSquareLikelihood (WorldState &worldState)
void generateNewState (WorldState &worldState)
void generateNewEdgeState (WorldState &worldState)
void generateNewLineState (WorldState &worldState)
void generateNewSquareState (WorldState &worldState)
double sampleOriFromEdgeSpace (WorldState &worldState)
Point2D< int > samplePosFromEdgeSpace (WorldState &worldState)
double sampleOriFromLineSpace (WorldState &worldState)
Point2D< int > samplePosFromLineSpace (WorldState &worldState)
double sampleSizeFromLineSpace (WorldState &worldState)
double sampleLengthFromSquareSpace (WorldState &worldState)
double evalNewEdgesWorld (WorldState &oldWorldState, WorldState &newWorldState)
double evalNewLinesWorld (WorldState &oldWorldState, WorldState &newWorldState)
double evalNewSquaresWorld (WorldState &oldWorldState, WorldState &newWorldState)
void normalizeWorld (WorldState &worldState)
Image< PixRGB< byte > > showWorld (WorldState &worldState)
Image< PixRGB< byte > > showEdgesWorld (WorldState &worldState)
Image< PixRGB< byte > > showLinesWorld (WorldState &worldState)
Image< PixRGB< byte > > showSquaresWorld (WorldState &worldState)
double evalLikelihood (const Image< PixRGB< byte > > &worldImg, const Point2D< int > &pos, double angle, double length)
double edgesProb (const Image< PixRGB< byte > > &worldImg)
double edgesLiklyProb (const Image< PixRGB< byte > > &worldImg)
double edgesPriorProb ()
void houghLines ()
void samplePosterior (const Image< float > &posterior, Point2D< int > &loc, int stop=1000)
void train (const Image< PixRGB< byte > > &img, const std::string label)
std::string test (const Image< PixRGB< byte > > &img)

Detailed Description

Definition at line 46 of file ObjRec.H.


Member Function Documentation

void ObjRec::start2 (  )  [virtual]

This is called from within start() after the subcomponents have started.

Reimplemented from ModelComponent.

Definition at line 98 of file ObjRec.C.

References initRandomNumbers(), mean(), squared(), and sum().


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