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::LineSegment > | getAndRemoveLinesNearLoc (Image< std::vector< uint > > &linesIndices, const Point2D< int > loc, const int radius) |
std::vector< LineInfo > | 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. | |
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. |
Definition at line 61 of file LineGrouping.H.
LineGrouping::~LineGrouping | ( | ) |
Destructor.
Definition at line 223 of file LineGrouping.C.
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.
OModelParam<bool> LineGrouping::itsShowDebug [protected] |
Should we show our debug info.
Definition at line 128 of file LineGrouping.H.