


Classes | |
| struct | GeonState |
Public Member Functions | |
| Geons3D (OptionManager &mgr, const std::string &descrName="Geons3D", const std::string &tagName="Geons3D") | |
| ~Geons3D () | |
| Destructor. | |
| void | evolve (SimEventQueue &q) |
| std::vector< GeonState > | proposeGeons (Rectangle &attenLoc) |
| void | calcGeonLikelihood (GeonState &geon) |
| double | calcGeonEdgeLikelihood (GeonState &geon, Image< float > &edges, Image< float > &surface) |
| double | calcGeonSurfaceLikelihood (GeonState &geon, Image< float > &edges, Image< float > &surface) |
| double | getEdgeProb (Image< float > &mag, Image< float > &modelOri, Image< float > &modelMag) |
| Get the probability from a model and data. | |
| double | getSurfaceProb (Image< float > &data, Image< float > &model) |
| Get the probability of the surface. | |
| void | testLikelihood () |
| Test the liklihood function. | |
| Image< PixRGB< byte > > | getGeonImage (GeonState &geon) |
| void | drawGeon (const GeonState &geon) |
| void | renderScene (const GeonState &geon, std::vector< ViewPort3D::Line > &lines, Image< PixRGB< byte > > &frame) |
| Layout< PixRGB< byte > > | getDebugImage (SimEventQueue &q) |
Protected Member Functions | |
| SIMCALLBACK_DECLARE (Geons3D, SimEventTwoHalfDSketchOutput) | |
| Callback for when a new ganglion output is ready. | |
| SIMCALLBACK_DECLARE (Geons3D, SimEventSaveOutput) | |
| Callback for every time we should save our outputs. | |
| SIMCALLBACK_DECLARE (Geons3D, SimEventUserInput) | |
| Callback for every time we have a user event. | |
| SIMCALLBACK_DECLARE (Geons3D, SimEventGeons3DPrior) | |
| Callback for every time we have a prior input. | |
Protected Attributes | |
| OModelParam< bool > | itsShowDebug |
| Should we show our debug info. | |
Definition at line 68 of file Geons3D.H.
| double Geons3D::getEdgeProb | ( | Image< float > & | mag, | |
| Image< float > & | modelOri, | |||
| Image< float > & | modelMag | |||
| ) |
Get the probability from a model and data.
Definition at line 398 of file Geons3D.C.
References exp(), Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), min(), ImageSet< T >::size(), and ZEROS.
Get the probability of the surface.
Definition at line 445 of file Geons3D.C.
References exp(), Image< T >::getHeight(), Image< T >::getVal(), and Image< T >::getWidth().
| Geons3D::SIMCALLBACK_DECLARE | ( | Geons3D | , | |
| SimEventGeons3DPrior | ||||
| ) | [protected] |
Callback for every time we have a prior input.
| Geons3D::SIMCALLBACK_DECLARE | ( | Geons3D | , | |
| SimEventUserInput | ||||
| ) | [protected] |
Callback for every time we have a user event.
| Geons3D::SIMCALLBACK_DECLARE | ( | Geons3D | , | |
| SimEventSaveOutput | ||||
| ) | [protected] |
Callback for every time we should save our outputs.
| Geons3D::SIMCALLBACK_DECLARE | ( | Geons3D | , | |
| SimEventTwoHalfDSketchOutput | ||||
| ) | [protected] |
Callback for when a new ganglion output is ready.
| void Geons3D::testLikelihood | ( | ) |
OModelParam<bool> Geons3D::itsShowDebug [protected] |
1.6.3