55 has_stored_pose =
false;
56 p3d_sh.x = 0.f; p3d_sh.y = 0.f; p3d_sh.z = 0.f;
93 SimpleSfM() : tf(200, 200, 0.01, 20, 4, 6), pose_ok(false), update_tri(false), markers_found(false) {}
95 void Reset(
bool reset_also_triangulated =
true);
111 void AddMarker(
int marker_id,
double edge_length,
Pose &pose);
113 bool Update(IplImage *
image,
bool assume_plane=
true,
bool triangulate=
true,
float reproj_err_limit=5.
f,
float triangulate_angle=15.
f);
115 bool UpdateTriangulateOnly(IplImage *image);
117 bool UpdateRotationsOnly(IplImage *image);
119 void Draw(IplImage *rgba);
std::map< int, Feature > container_triangulated_reset_point
void SetScale(double s)
Set the suitable scale to be used. This affects quite much how the tracking behaves (when features ar...
Simple structure from motion implementation using CameraEC , MarkerDetectorEC and TrackerFeaturesEC...
std::map< int, Feature > container_reset_point
Version of Camera using external container.
std::map< int, Feature > container_triangulated
Version of MarkerDetector using external container.
Version of MultiMarker using external container.
CvPoint2D32f projected_p2d_sh
Feature(const Feature &c)
Pose representation derived from the Rotation class
Extended version of ExternalContainer structure used internally in SimpleSfM.
std::string multi_marker_file
This file implements a collection of External Container (EC) versions of many ALVAR classes...
MarkerDetectorEC< MarkerData > marker_detector
Basic structure to be usable with EC methods.
std::map< int, Feature > container
The map of all tracked features.
Version of TrackerFeatures using external container.