LineGrouping Class Reference

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

List of all members.

Classes

struct  LineInfo
struct  LineInfoCmp
struct  LinesGroup

Public Member Functions

 LineGrouping (OptionManager &mgr, const std::string &descrName="LineGrouping", const std::string &tagName="LineGrouping")
 ~LineGrouping ()
 Destructor.
void evolve (SimEventQueue &q)
Layout< PixRGB< byte > > getDebugImage (SimEventQueue &q)
std::vector< V2::LineSegmentgetAndRemoveLinesNearLoc (Image< std::vector< uint > > &linesIndices, const Point2D< int > loc, const int radius)
std::vector< LineInfogetLocalLines (const Point2D< int > loc, const int radius, std::vector< uint > &lineColour, const Image< std::vector< uint > > &linesIndices)
 Get lines that are local (within radius) and have not been used.
void setTopDownCost (std::vector< LineInfo > &newLines, const std::vector< LineInfo > &contour)

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 61 of file LineGrouping.H.


Constructor & Destructor Documentation

LineGrouping::~LineGrouping (  ) 

Destructor.

Definition at line 223 of file LineGrouping.C.


Member Function Documentation

std::vector< LineGrouping::LineInfo > LineGrouping::getLocalLines ( const Point2D< int >  loc,
const int  radius,
std::vector< uint > &  lineColour,
const Image< std::vector< uint > > &  linesIndices 
)

Get lines that are local (within radius) and have not been used.

Definition at line 527 of file LineGrouping.C.

References Point2D< T >::distance(), and Point2D< T >::i.

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

Callback for every time we should save our outputs.

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

Callback for when a new ganglion output is ready.


Member Data Documentation

Should we show our debug info.

Definition at line 128 of file LineGrouping.H.


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