1 #ifndef __fovis_stereo_frame_hpp__
2 #define __fovis_stereo_frame_hpp__
8 #include <Eigen/Geometry>
11 #include "keypoint.hpp"
12 #include "pyramid_level.hpp"
13 #include "rectification.hpp"
33 void prepareFrame(
const uint8_t* raw_gray,
int fast_threshold);
35 int getNumDetectedKeypoints()
const {
37 for(
int i=0; i<_num_levels; i++)
38 result += _levels[i]->getNumDetectedKeypoints();
42 PyramidLevel * getLevel(
int level_num) {
return _levels[level_num]; }
44 void rectify(Eigen::Vector2d xy_in, Eigen::Vector2d * out) {
49 void initialize(
int bucket_width,
int bucket_height,
int max_keypoints_per_bucket);
53 int _feature_window_size;
56 std::vector<PyramidLevel *> _levels;
61 bool _use_image_normalization;
One level of a Gaussian image pyramid.
Definition: pyramid_level.hpp:21
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
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
void rectifyBilinearLookup(const Eigen::Vector2d &dist_uv, Eigen::Vector2d *rect_uv) const
Definition: rectification.hpp:128