1 #ifndef __fovis_stereo_depth_hpp__
2 #define __fovis_stereo_depth_hpp__
6 #include "stereo_calibration.hpp"
7 #include "depth_source.hpp"
9 #include "stereo_frame.hpp"
10 #include "feature_match.hpp"
13 #include "motion_estimation.hpp"
32 void setRightImage(
const uint8_t * img);
34 virtual bool haveXyz(
int u,
int v);
42 virtual double getBaseline()
const {
return _calib->getBaseline(); }
45 typedef std::vector<std::pair<double, double> > Points2d;
49 Points2d* matched_right_keypoints);
56 int _feature_window_size;
58 int _num_pyramid_levels;
62 int _fast_threshold_min;
63 int _fast_threshold_max;
64 int _target_pixels_per_feature;
65 float _fast_threshold_adaptive_gain;
67 bool _use_adaptive_threshold;
68 bool _require_mutual_match;
69 double _max_dist_epipolar_line;
70 double _max_refinement_displacement;
75 std::vector<Points2d> _matched_right_keypoints_per_level;
76 std::vector<std::vector<int> > _legal_matches;
78 Eigen::Matrix4d *_uvd1_to_xyz;
87 int _matches_capacity;
Matches features between a reference and a target image.
Definition: feature_matcher.hpp:12
virtual double getBaseline() const
Definition: stereo_depth.hpp:42
One level of a Gaussian image pyramid.
Definition: pyramid_level.hpp:21
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 bool haveXyz(int u, int v)
virtual void getXyz(OdometryFrame *frame)
virtual void refineXyz(FeatureMatch *matches, int num_matches, OdometryFrame *frame)
Stores the right-hand image for a stereo pair.
Definition: stereo_frame.hpp:24
std::map< std::string, std::string > VisualOdometryOptions
Options.
Definition: options.hpp:106
Computes useful information from a StereoCalibrationParameters object.
Definition: stereo_calibration.hpp:42
Stores image data for a stereo camera pair.
Definition: stereo_depth.hpp:24
quick and dirty profiling tool.inspired by the matlab tic/toc command
Definition: camera_intrinsics.hpp:6