1 #ifndef __fovis_frame_hpp__
2 #define __fovis_frame_hpp__
10 #include <Eigen/Geometry>
13 #include "keypoint.hpp"
14 #include "grid_filter.hpp"
15 #include "pyramid_level.hpp"
20 class CameraIntrinsics;
41 void prepareFrame(
const uint8_t* raw_gray,
45 int getNumKeypoints()
const {
47 for(
int i=0; i<_num_levels; i++)
48 result += _levels[i]->getNumKeypoints();
52 int getNumDetectedKeypoints()
const {
54 for(
int i=0; i<_num_levels; i++)
55 result += _levels[i]->getNumDetectedKeypoints();
59 int getNumLevels()
const {
71 void sanityCheck()
const;
73 int getFeatureWindowSize()
const {
return _feature_window_size; }
77 void purgeBadKeypoints();
83 int _feature_window_size;
85 bool _use_image_normalization;
90 std::vector<PyramidLevel*> _levels;
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
std::map< std::string, std::string > VisualOdometryOptions
Options.
Definition: options.hpp:106
Maps image coordinates from an input image to image coordinates on a rectified camera.
Definition: rectification.hpp:41
quick and dirty profiling tool.inspired by the matlab tic/toc command
Definition: camera_intrinsics.hpp:6