#include <pe2d.h>

Public Member Functions | |
| 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. | |
| 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. | |
| PoseEstimator2d (int NRansac=10000) | |
| ~PoseEstimator2d () | |
Protected Member Functions | |
| void | setPose (const cv::Mat &rvec, const cv::Mat &tvec) |
Protected Attributes | |
| bool | initialized_ |
Definition at line 41 of file pe2d.h.
| pe::PoseEstimator2d::PoseEstimator2d | ( | int | NRansac = 10000 |
) | [inline] |
| int pe::PoseEstimator2d::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.
| int pe::PoseEstimator2d::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.
| void pe::PoseEstimator2d::setPose | ( | const cv::Mat & | rvec, | |
| const cv::Mat & | tvec | |||
| ) | [protected] |
bool pe::PoseEstimator2d::initialized_ [protected] |