depth filter now also updates old seeds with new keyframes. previously a keyframe was only used to initialize new seeds.

This commit is contained in:
Christian Forster
2014-04-30 15:20:01 +02:00
parent 8291a6b9c1
commit 5578939b84
7 changed files with 51 additions and 35 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
typedef boost::unique_lock<boost::mutex> lock_t;
typedef boost::function<void ( const Seed&, const Vector3d& )> callback_t;
typedef boost::function<void ( Point*, double )> callback_t;
/// Depth-filter config parameters
struct Options
+1 -1
View File
@@ -48,7 +48,7 @@ public:
~MapPointCandidates();
/// Add a candidate point.
void newCandidatePoint(const Seed& seed, const Vector3d& xyz_world);
void newCandidatePoint(Point* point, double depth_sigma2);
/// Adds the feature to the frame and deletes candidate from list.
void addCandidatePointToFrame(FramePtr frame);
+1
View File
@@ -92,6 +92,7 @@ public:
double h_inv_; //!< hessian of 1d image alignment along epipolar line
int search_level_;
Feature* ref_ftr_;
Vector2d px_cur_;
Matcher();
~Matcher();