Classes | |
struct | FeatureTemplate |
struct | GHTAcc |
struct | NAFState |
struct | RTableEntry |
Public Types | |
enum | NAF_TYPE { RIGHT_VERTIX, VERTIX, ARC } |
Public Member Functions | |
V4d (OptionManager &mgr, const std::string &descrName="V4", const std::string &tagName="V4") | |
~V4d () | |
Destructor. | |
void | alignToCenterOfMass (FeatureTemplate &featureTemplate) |
Align template so that center of mass is at 0,0. | |
void | buildRTables () |
void | evolve () |
void | evolveSift () |
float | calculateOrientationVector (Point2D< int > &loc, Histogram &OV) |
float | createDescriptor (Point2D< int > &loc, Histogram &OV, float mainOri) |
void | harrisDetector (std::vector< V4d::GHTAcc > &accRet, const FeatureTemplate &featureTemplate) |
void | proposeParticlesHarris (std::vector< NAFState > &particles, const double Neff) |
Layout< PixRGB< byte > > | getDebugImage () |
void | getParticleLikelihood (NAFState &particle) |
double | getLineProbability (const Point2D< int > &p1, const Point2D< int > &p2) |
void | resampleParticles (std::vector< NAFState > &particles) |
void | resampleParticles2 (std::vector< NAFState > &particles) |
void | proposeParticles (std::vector< NAFState > &particles, const double Neff) |
float | evaluateParticles (std::vector< NAFState > &particles) |
std::vector< Point2D< int > > | getImageOutline (NAFState &nafState) |
void | findAngMerge (std::vector< GHTAcc > &acc, const NAFState &nafState, std::vector< GHTAcc > tmpAcc) |
void | mergeBias (std::vector< GHTAcc > &acc) |
void | GHT (std::vector< GHTAcc > &accRet, const FeatureTemplate &featureTemplate) |
float | voteForFeature (Image< float > &acc, int angIdx, std::vector< V1::EdgeState > &rTable) |
void | normalizeAcc (std::vector< GHTAcc > &acc) |
Image< PixRGB< byte > > | showParticles (const std::vector< NAFState > &particles) |
Protected Member Functions | |
SIMCALLBACK_DECLARE (V4d, SimEventV2Output) | |
Callback for when a new ganglion output is ready. | |
SIMCALLBACK_DECLARE (V4d, SimEventSaveOutput) | |
Callback for every time we should save our outputs. | |
SIMCALLBACK_DECLARE (V4d, SimEventUserInput) | |
Callback for every time we have a user event. | |
SIMCALLBACK_DECLARE (V4d, SimEventV4BiasOutput) | |
Protected Attributes | |
OModelParam< bool > | itsShowDebug |
Should we show our debug info. |
Definition at line 65 of file V4d.H.
void V4d::alignToCenterOfMass | ( | FeatureTemplate & | featureTemplate | ) |
void V4d::GHT | ( | std::vector< GHTAcc > & | accRet, | |
const FeatureTemplate & | featureTemplate | |||
) |
totalSum;
Definition at line 823 of file V4d.C.
References rutz::make_shared(), CpuTimer::mark(), CpuTimer::real_secs(), CpuTimer::reset(), ImageSet< T >::size(), and ZEROS.
void V4d::mergeBias | ( | std::vector< GHTAcc > & | acc | ) |
totalSum;
Definition at line 1213 of file V4d.C.
References CpuTimer::mark(), Camera::project(), CpuTimer::real_secs(), CpuTimer::reset(), ImageSet< T >::size(), and ZEROS.
V4d::SIMCALLBACK_DECLARE | ( | V4d | , | |
SimEventUserInput | ||||
) | [protected] |
Callback for every time we have a user event.
V4d::SIMCALLBACK_DECLARE | ( | V4d | , | |
SimEventSaveOutput | ||||
) | [protected] |
Callback for every time we should save our outputs.
V4d::SIMCALLBACK_DECLARE | ( | V4d | , | |
SimEventV2Output | ||||
) | [protected] |
Callback for when a new ganglion output is ready.
OModelParam<bool> V4d::itsShowDebug [protected] |