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 > ¢er, 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< SurfaceState > | proposeSurfaces (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_iter * | ri_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. |
Definition at line 64 of file TwoHalfDSketch.H.
TwoHalfDSketch::~TwoHalfDSketch | ( | ) |
Destructor.
Definition at line 161 of file TwoHalfDSketch.C.
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.
OModelParam<bool> TwoHalfDSketch::itsShowDebug [protected] |
Should we show our debug info.
Definition at line 277 of file TwoHalfDSketch.H.