Stores the right-hand image for a stereo pair. More...
#include <stereo_frame.hpp>
Public Member Functions | |
PyramidLevel * | getLevel (int level_num) |
int | getNumDetectedKeypoints () const |
void | prepareFrame (const uint8_t *raw_gray, int fast_threshold) |
void | rectify (Eigen::Vector2d xy_in, Eigen::Vector2d *out) |
StereoFrame (int width, int height, const Rectification *rectify_map, const VisualOdometryOptions &options) | |
~StereoFrame () | |
Private Member Functions | |
void | initialize (int bucket_width, int bucket_height, int max_keypoints_per_bucket) |
Private Attributes | |
int | _base_height |
int | _base_width |
int | _feature_window_size |
std::vector< PyramidLevel * > | _levels |
int | _num_levels |
Rectification * | _rectify_map |
bool | _use_bucketing |
bool | _use_image_normalization |
fovis::StereoFrame::StereoFrame | ( | int | width, |
int | height, | ||
const Rectification * | rectify_map, | ||
const VisualOdometryOptions & | options | ||
) |
Definition at line 28 of file stereo_frame.cpp.
Definition at line 49 of file stereo_frame.cpp.
PyramidLevel* fovis::StereoFrame::getLevel | ( | int | level_num | ) | [inline] |
Definition at line 42 of file stereo_frame.hpp.
int fovis::StereoFrame::getNumDetectedKeypoints | ( | ) | const [inline] |
Definition at line 35 of file stereo_frame.hpp.
void fovis::StereoFrame::initialize | ( | int | bucket_width, |
int | bucket_height, | ||
int | max_keypoints_per_bucket | ||
) | [private] |
Definition at line 59 of file stereo_frame.cpp.
void fovis::StereoFrame::prepareFrame | ( | const uint8_t * | raw_gray, |
int | fast_threshold | ||
) |
Definition at line 78 of file stereo_frame.cpp.
void fovis::StereoFrame::rectify | ( | Eigen::Vector2d | xy_in, |
Eigen::Vector2d * | out | ||
) | [inline] |
Definition at line 44 of file stereo_frame.hpp.
int fovis::StereoFrame::_base_height [private] |
Definition at line 52 of file stereo_frame.hpp.
int fovis::StereoFrame::_base_width [private] |
Definition at line 51 of file stereo_frame.hpp.
int fovis::StereoFrame::_feature_window_size [private] |
Definition at line 53 of file stereo_frame.hpp.
std::vector<PyramidLevel *> fovis::StereoFrame::_levels [private] |
Definition at line 56 of file stereo_frame.hpp.
int fovis::StereoFrame::_num_levels [private] |
Definition at line 55 of file stereo_frame.hpp.
Rectification* fovis::StereoFrame::_rectify_map [private] |
Definition at line 58 of file stereo_frame.hpp.
bool fovis::StereoFrame::_use_bucketing [private] |
Definition at line 60 of file stereo_frame.hpp.
bool fovis::StereoFrame::_use_image_normalization [private] |
Definition at line 61 of file stereo_frame.hpp.