1 #ifndef __fovis_depth_image_hpp__
2 #define __fovis_depth_image_hpp__
5 #include "camera_intrinsics.hpp"
6 #include "depth_source.hpp"
23 int depth_width,
int depth_height);
33 virtual bool haveXyz(
int u,
int v) ;
42 int rgbToDepthIndex(
double u,
double v)
const {
43 return (
int)(v * _y_scale) * _depth_width + (
int)(u * _x_scale);
45 bool getXyzInterp(KeypointData* kpdata);
55 Eigen::Matrix<double, 3, Eigen::Dynamic>* _rays;
60 double _neg_cx_div_fx;
61 double _neg_cy_div_fy;
Depth source where a fully dense, metric depth image is available.
Definition: depth_image.hpp:19
Stores data specific to an input frame.
Definition: frame.hpp:33
Provides depth estimates for input image pixels.
Definition: depth_source.hpp:29
virtual void refineXyz(FeatureMatch *matches, int num_matches, OdometryFrame *frame)
Represents a single image feature matched between two camera images taken at different times...
Definition: feature_match.hpp:41
virtual double getBaseline() const
Definition: depth_image.hpp:39
quick and dirty profiling tool.inspired by the matlab tic/toc command
Definition: camera_intrinsics.hpp:6
Intrinsic parameters for a pinhole camera with plumb-bob distortion model.
Definition: camera_intrinsics.hpp:14
void setDepthImage(const float *depth_data)
virtual bool haveXyz(int u, int v)
virtual void getXyz(OdometryFrame *frame)