#include <peh.h>
Public Member Functions | |
virtual int | estimate (const fc::Frame &frame1, const fc::Frame &frame2) |
Uses RANSAC to find best inlier count by finding matches using the provided matcher, optionally polishes the result. Frames must have filled features and descriptors. | |
virtual int | estimate (const fc::Frame &frame1, const fc::Frame &frame2, const std::vector< cv::DMatch > &matches) |
Uses RANSAC to find best inlier count from provided matches, optionally polishes the result. Frames must have filled features and descriptors. | |
PoseEstimatorH (int NRansac, bool LMpolish, double mind, double maxidx, double maxidd, float matcherThreshold, int minMatchesCount, int descriptorSize) | |
~PoseEstimatorH () | |
Private Attributes | |
std::vector< int > | filteredIndices |
cv::Ptr< HowardStereoMatcher > | howardMatcher |
int | minMatchesCount |
pe::PoseEstimatorH::PoseEstimatorH | ( | int | NRansac, |
bool | LMpolish, | ||
double | mind, | ||
double | maxidx, | ||
double | maxidd, | ||
float | matcherThreshold, | ||
int | minMatchesCount, | ||
int | descriptorSize | ||
) | [inline] |
pe::PoseEstimatorH::~PoseEstimatorH | ( | ) | [inline] |
int pe::PoseEstimatorH::estimate | ( | const fc::Frame & | frame1, |
const fc::Frame & | frame2 | ||
) | [virtual] |
Uses RANSAC to find best inlier count by finding matches using the provided matcher, optionally polishes the result. Frames must have filled features and descriptors.
Reimplemented from pe::PoseEstimator.
int pe::PoseEstimatorH::estimate | ( | const fc::Frame & | frame1, |
const fc::Frame & | frame2, | ||
const std::vector< cv::DMatch > & | matches | ||
) | [virtual] |
Uses RANSAC to find best inlier count from provided matches, optionally polishes the result. Frames must have filled features and descriptors.
Implements pe::PoseEstimator.
std::vector<int> pe::PoseEstimatorH::filteredIndices [private] |
cv::Ptr<HowardStereoMatcher> pe::PoseEstimatorH::howardMatcher [private] |
int pe::PoseEstimatorH::minMatchesCount [private] |