#include <viso.h>
Classes | |
struct | bucketing |
struct | calibration |
struct | parameters |
Public Member Functions | |
float | getGain (std::vector< int32_t > inliers_) |
std::vector< int32_t > | getInlierIndices () |
std::vector< Matcher::p_match > | getMatches () |
Matrix | getMotion () |
int32_t | getNumberOfInliers () |
int32_t | getNumberOfMatches () |
bool | process (std::vector< Matcher::p_match > p_matched_) |
VisualOdometry (parameters param) | |
~VisualOdometry () | |
Protected Member Functions | |
virtual std::vector< double > | estimateMotion (std::vector< Matcher::p_match > p_matched)=0 |
std::vector< int32_t > | getRandomSample (int32_t N, int32_t num) |
Matrix | transformationVectorToMatrix (std::vector< double > tr) |
bool | updateMotion () |
Protected Attributes | |
std::vector< int32_t > | inliers |
double * | J |
Matcher * | matcher |
std::vector< Matcher::p_match > | p_matched |
double * | p_observe |
double * | p_predict |
Matrix | Tr_delta |
bool | Tr_valid |
Private Attributes | |
parameters | param |
Friends | |
std::ostream & | operator<< (std::ostream &os, VisualOdometry &viso) |
VisualOdometry::VisualOdometry | ( | parameters | param | ) |
virtual std::vector<double> VisualOdometry::estimateMotion | ( | std::vector< Matcher::p_match > | p_matched | ) | [protected, pure virtual] |
Implemented in VisualOdometryMono, and VisualOdometryStereo.
float VisualOdometry::getGain | ( | std::vector< int32_t > | inliers_ | ) | [inline] |
std::vector<int32_t> VisualOdometry::getInlierIndices | ( | ) | [inline] |
std::vector<Matcher::p_match> VisualOdometry::getMatches | ( | ) | [inline] |
Matrix VisualOdometry::getMotion | ( | ) | [inline] |
int32_t VisualOdometry::getNumberOfInliers | ( | ) | [inline] |
int32_t VisualOdometry::getNumberOfMatches | ( | ) | [inline] |
vector< int32_t > VisualOdometry::getRandomSample | ( | int32_t | N, |
int32_t | num | ||
) | [protected] |
bool VisualOdometry::process | ( | std::vector< Matcher::p_match > | p_matched_ | ) | [inline] |
Matrix VisualOdometry::transformationVectorToMatrix | ( | std::vector< double > | tr | ) | [protected] |
bool VisualOdometry::updateMotion | ( | ) | [protected] |
std::ostream& operator<< | ( | std::ostream & | os, |
VisualOdometry & | viso | ||
) | [friend] |
std::vector<int32_t> VisualOdometry::inliers [protected] |
double* VisualOdometry::J [protected] |
Matcher* VisualOdometry::matcher [protected] |
std::vector<Matcher::p_match> VisualOdometry::p_matched [protected] |
double* VisualOdometry::p_observe [protected] |
double* VisualOdometry::p_predict [protected] |
parameters VisualOdometry::param [private] |
Reimplemented in VisualOdometryMono, and VisualOdometryStereo.
Matrix VisualOdometry::Tr_delta [protected] |
bool VisualOdometry::Tr_valid [protected] |