#include <Tracker.h>
Classes | |
struct | Command |
Public Member Functions | |
Vector< 3 > | CalcSBIRotation (SmallBlurryImage *SBI1, SmallBlurryImage *SBI2) |
void | command (const std::string ¶ms) |
CVD::Image< TooN::Vector< 2 > > & | ComputeGrid () |
Matrix< 6 > | GetCurrentCov () |
KeyFrame::Ptr | GetCurrentKF () |
SE3 | GetCurrentPose () |
std::string | GetMessageForUser () |
int | getTrackingQuality () |
std::list< Trail > & | getTrails () |
bool | getTrailTrackingComplete () |
bool | getTrailTrackingStarted () |
Tracker (CVD::ImageRef irVideoSize, const ATANCamera &c, Map &m, MapMaker &mm) | |
void | TrackFrame (CVD::Image< CVD::byte > &imFrame, bool bDraw) |
void | TrackFrame (CVD::Image< CVD::byte > &imFrame, bool bDraw, const TooN::SO3< double > &imuOrientation) |
Protected Types | |
enum | { TRAIL_TRACKING_NOT_STARTED, TRAIL_TRACKING_STARTED, TRAIL_TRACKING_COMPLETE } |
enum | { BAD, DODGY, GOOD } |
Protected Member Functions | |
void | AddNewKeyFrame () |
void | ApplyMotionModel () |
void | AssessTrackingQuality () |
bool | AttemptRecovery () |
Vector< 6 > | CalcPoseUpdate (std::vector< TrackerData * > vTD, double dOverrideSigma=0.0, bool bMarkOutliers=false) |
void | CalcSBIRotation () |
void | GUICommandHandler (std::string sCommand, std::string sParams) |
void | RenderGrid () |
void | Reset () |
int | SearchForPoints (std::vector< TrackerData * > &vTD, int nRange, int nFineIts) |
void | TrackForInitialMap () |
void | TrackMap () |
int | TrailTracking_Advance () |
void | TrailTracking_Start () |
void | UpdateMotionModel () |
Static Protected Member Functions | |
static void | GUICommandCallBack (void *ptr, std::string sCommand, std::string sParams) |
Protected Attributes | |
int | manMeasAttempted [LEVELS] |
int | manMeasFound [LEVELS] |
bool | mAutoreset |
bool | mbDidCoarse |
bool | mbDraw |
bool | mbJustRecoveredSoUseCoarse |
bool | mbUserPressedSpacebar |
bool | mbUseSBIInit |
ATANCamera | mCamera |
KeyFrame::Ptr | mCurrentKF |
double | mdMSDScaledVelocityMagnitude |
double | mdVelocityMagnitude |
KeyFrame::Ptr | mFirstKF |
CVD::ImageRef | mirSize |
std::list< Trail > | mlTrails |
Map & | mMap |
MapMaker & | mMapMaker |
Matrix< 6 > | mmCovariances |
std::ostringstream | mMessageForUser |
int | mnFrame |
enum Tracker:: { ... } | mnInitialStage |
int | mnLastKeyFrameDropped |
int | mnLostFrames |
KeyFrame::Ptr | mOldKF |
KeyFrame::Ptr | mPreviousFrameKF |
CVD::Image< TooN::Vector< 2 > > | mProjVertices |
SmallBlurryImage * | mpSBILastFrame |
SmallBlurryImage * | mpSBIThisFrame |
Relocaliser | mRelocaliser |
SE3 | mse3CamFromWorld |
SE3 | mse3StartPos |
SO3 | mso3CurrentImu |
SO3 | mso3LastImu |
enum Tracker:: { ... } | mTrackingQuality |
Vector< 6 > | mv6CameraVelocity |
Vector< 6 > | mv6SBIRot |
std::vector< Command > | mvQueuedCommands |
anonymous enum [protected] |
Tracker::Tracker | ( | CVD::ImageRef | irVideoSize, |
const ATANCamera & | c, | ||
Map & | m, | ||
MapMaker & | mm | ||
) |
Definition at line 33 of file Tracker.cc.
void Tracker::AddNewKeyFrame | ( | ) | [protected] |
Definition at line 1254 of file Tracker.cc.
void Tracker::ApplyMotionModel | ( | ) | [protected] |
Definition at line 1206 of file Tracker.cc.
void Tracker::AssessTrackingQuality | ( | ) | [protected] |
Definition at line 1263 of file Tracker.cc.
bool Tracker::AttemptRecovery | ( | ) | [protected] |
Definition at line 291 of file Tracker.cc.
Vector< 6 > Tracker::CalcPoseUpdate | ( | std::vector< TrackerData * > | vTD, |
double | dOverrideSigma = 0.0 , |
||
bool | bMarkOutliers = false |
||
) | [protected] |
Definition at line 1105 of file Tracker.cc.
Vector< 3 > Tracker::CalcSBIRotation | ( | SmallBlurryImage * | SBI1, |
SmallBlurryImage * | SBI2 | ||
) |
Definition at line 274 of file Tracker.cc.
void Tracker::CalcSBIRotation | ( | ) | [protected] |
Definition at line 1346 of file Tracker.cc.
void Tracker::command | ( | const std::string & | params | ) |
Definition at line 1360 of file Tracker.cc.
CVD::Image< TooN::Vector< 2 > > & Tracker::ComputeGrid | ( | ) |
Definition at line 341 of file Tracker.cc.
Matrix<6> Tracker::GetCurrentCov | ( | ) | [inline] |
KeyFrame::Ptr Tracker::GetCurrentKF | ( | ) | [inline] |
SE3 Tracker::GetCurrentPose | ( | ) | [inline] |
string Tracker::GetMessageForUser | ( | ) |
Definition at line 1341 of file Tracker.cc.
int Tracker::getTrackingQuality | ( | ) | [inline] |
std::list<Trail>& Tracker::getTrails | ( | ) | [inline] |
bool Tracker::getTrailTrackingComplete | ( | ) | [inline] |
bool Tracker::getTrailTrackingStarted | ( | ) | [inline] |
void Tracker::GUICommandCallBack | ( | void * | ptr, |
std::string | sCommand, | ||
std::string | sParams | ||
) | [static, protected] |
Definition at line 368 of file Tracker.cc.
void Tracker::GUICommandHandler | ( | std::string | sCommand, |
std::string | sParams | ||
) | [protected] |
Definition at line 377 of file Tracker.cc.
void Tracker::RenderGrid | ( | ) | [protected] |
Definition at line 305 of file Tracker.cc.
void Tracker::Reset | ( | ) | [protected] |
Definition at line 64 of file Tracker.cc.
int Tracker::SearchForPoints | ( | std::vector< TrackerData * > & | vTD, |
int | nRange, | ||
int | nFineIts | ||
) | [protected] |
Definition at line 1041 of file Tracker.cc.
void Tracker::TrackForInitialMap | ( | ) | [protected] |
Definition at line 426 of file Tracker.cc.
void Tracker::TrackFrame | ( | CVD::Image< CVD::byte > & | imFrame, |
bool | bDraw | ||
) |
void Tracker::TrackFrame | ( | CVD::Image< CVD::byte > & | imFrame, |
bool | bDraw, | ||
const TooN::SO3< double > & | imuOrientation | ||
) |
void Tracker::TrackMap | ( | ) | [protected] |
Definition at line 645 of file Tracker.cc.
int Tracker::TrailTracking_Advance | ( | ) | [protected] |
Definition at line 572 of file Tracker.cc.
void Tracker::TrailTracking_Start | ( | ) | [protected] |
Definition at line 535 of file Tracker.cc.
void Tracker::UpdateMotionModel | ( | ) | [protected] |
Definition at line 1236 of file Tracker.cc.
int Tracker::manMeasAttempted[LEVELS] [protected] |
int Tracker::manMeasFound[LEVELS] [protected] |
bool Tracker::mAutoreset [protected] |
bool Tracker::mbDidCoarse [protected] |
bool Tracker::mbDraw [protected] |
bool Tracker::mbJustRecoveredSoUseCoarse [protected] |
bool Tracker::mbUserPressedSpacebar [protected] |
bool Tracker::mbUseSBIInit [protected] |
ATANCamera Tracker::mCamera [protected] |
KeyFrame::Ptr Tracker::mCurrentKF [protected] |
double Tracker::mdMSDScaledVelocityMagnitude [protected] |
double Tracker::mdVelocityMagnitude [protected] |
KeyFrame::Ptr Tracker::mFirstKF [protected] |
CVD::ImageRef Tracker::mirSize [protected] |
std::list<Trail> Tracker::mlTrails [protected] |
Map& Tracker::mMap [protected] |
MapMaker& Tracker::mMapMaker [protected] |
Matrix<6> Tracker::mmCovariances [protected] |
std::ostringstream Tracker::mMessageForUser [protected] |
int Tracker::mnFrame [protected] |
enum { ... } Tracker::mnInitialStage [protected] |
int Tracker::mnLastKeyFrameDropped [protected] |
int Tracker::mnLostFrames [protected] |
KeyFrame::Ptr Tracker::mOldKF [protected] |
KeyFrame::Ptr Tracker::mPreviousFrameKF [protected] |
CVD::Image<TooN::Vector<2> > Tracker::mProjVertices [protected] |
SmallBlurryImage* Tracker::mpSBILastFrame [protected] |
SmallBlurryImage* Tracker::mpSBIThisFrame [protected] |
Relocaliser Tracker::mRelocaliser [protected] |
SE3 Tracker::mse3CamFromWorld [protected] |
SE3 Tracker::mse3StartPos [protected] |
SO3 Tracker::mso3CurrentImu [protected] |
SO3 Tracker::mso3LastImu [protected] |
enum { ... } Tracker::mTrackingQuality [protected] |
Vector<6> Tracker::mv6CameraVelocity [protected] |
Vector<6> Tracker::mv6SBIRot [protected] |
std::vector<Command> Tracker::mvQueuedCommands [protected] |