libfovis
depth_source.hpp
1 #ifndef __fovis_depth_source_hpp__
2 #define __fovis_depth_source_hpp__
3 
4 #include <Eigen/Core>
5 
6 namespace fovis
7 {
8 
9 class OdometryFrame;
10 class FeatureMatch;
11 
30 {
31  public:
38  virtual bool haveXyz(int u, int v) = 0;
39 
43  virtual void getXyz(OdometryFrame * frame) = 0;
44 
49  virtual void refineXyz(FeatureMatch * matches,
50  int num_matches,
51  OdometryFrame * frame) = 0;
52 
57  virtual double getBaseline() const = 0;
58 
59 };
60 
61 }
62 
63 #endif
virtual bool haveXyz(int u, int v)=0
Stores data specific to an input frame.
Definition: frame.hpp:33
Provides depth estimates for input image pixels.
Definition: depth_source.hpp:29
Represents a single image feature matched between two camera images taken at different times...
Definition: feature_match.hpp:41
virtual double getBaseline() const =0
virtual void refineXyz(FeatureMatch *matches, int num_matches, OdometryFrame *frame)=0
quick and dirty profiling tool.inspired by the matlab tic/toc command
Definition: camera_intrinsics.hpp:6
virtual void getXyz(OdometryFrame *frame)=0