TwoHalfDSketch Class Reference

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

List of all members.

Classes

struct  rect
struct  rect_iter
struct  SurfaceState

Public Member Functions

void findMax (const Image< SurfaceState > &src, Point2D< int > &p, SurfaceState &maxval)
void drawDisk (Image< SurfaceState > &dst, const Point2D< int > &center, const int radius)
Image< float > getProbImage (const Image< SurfaceState > &src)
 TwoHalfDSketch (OptionManager &mgr, const std::string &descrName="TwoHalfDSketch", const std::string &tagName="TwoHalfDSketch")
 ~TwoHalfDSketch ()
 Destructor.
void evolve (SimEventQueue &q)
Layout< PixRGB< byte > > getDebugImage (SimEventQueue &q)
double calcNFA (Line &line)
void drawSurface (const SurfaceState &surface)
Image< SurfaceStateproposeSurfaces (bool biasMode)
void calcSurfaceLikelihood (SurfaceState &surface)
double calcSurfaceEdgeLikelihood (SurfaceState &surface, Image< float > &edges, Image< float > &surfaceLum)
double getEdgeProb (Point2D< int > loc, float ori)
double calcSurfaceLumLikelihood (SurfaceState &surface, Image< float > &edges, Image< float > &surfaceLum)
double getSurfaceLumProb (Image< float > &data, Image< float > &model)
Image< PixRGB< byte > > getSurfaceImage (const SurfaceState &surface)
double getLineProb (Point2D< int > p1, Point2D< int > p2, float ori, int &pixCount)
double getCost (OriChamferMatching &lm, Polygon &poly, Point2D< float > loc, bool biasMode=false)
Image< float > getSurfaceProbImage (Image< SurfaceState > &surfaceState)
void printResults (float bias)
void optimizePolygon (SurfaceState &surfaceState)
double nfa (int n, int k, double p, double logNT)
int isaligned (Point2D< int > loc, Image< float > &angles, float theta, float prec)
double log_gamma_windschitl (double x)
double log_gamma_lanczos (double x)
float inter_low (float x, float x1, float y1, float x2, float y2)
float inter_hi (float x, float x1, float y1, float x2, float y2)
void ri_del (rect_iter *iter)
int ri_end (rect_iter *i)
void ri_inc (rect_iter *i)
rect_iterri_ini (struct rect *r)

Protected Member Functions

 SIMCALLBACK_DECLARE (TwoHalfDSketch, SimEventV2Output)
 Callback for when a new ganglion output is ready.
 SIMCALLBACK_DECLARE (TwoHalfDSketch, SimEventContoursOutput)
 SIMCALLBACK_DECLARE (TwoHalfDSketch, SimEventSaveOutput)
 Callback for every time we should save our outputs.
 SIMCALLBACK_DECLARE (TwoHalfDSketch, SimEventUserInput)

Protected Attributes

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

Detailed Description

Definition at line 64 of file TwoHalfDSketch.H.


Constructor & Destructor Documentation

TwoHalfDSketch::~TwoHalfDSketch (  ) 

Destructor.

Definition at line 161 of file TwoHalfDSketch.C.


Member Function Documentation

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

Callback for every time we should save our outputs.

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

Callback for when a new ganglion output is ready.


Member Data Documentation

Should we show our debug info.

Definition at line 277 of file TwoHalfDSketch.H.


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