#include <Features.h>
Public Member Functions | |
template<typename T > | |
void | addMatcher (const T &matcher) |
cv::Mat & | descriptors () |
const cv::Mat & | descriptors () const |
virtual void | deserialize (const cv::FileNode &fn) |
void | detect (const cv::FeatureDetector &detect, const cv::Mat &img) |
template<typename T > | |
void | extract (const cv::DescriptorExtractor &extracter, const cv::Mat &img, const T &matcher) |
Features () | |
Features (const Features &rhs) | |
std::vector< cv::KeyPoint > & | kpts () |
const std::vector< cv::KeyPoint > & | kpts () const |
cv::Ptr< cv::DescriptorMatcher > | makeMatcher () const |
void | match (const Features &features, const cv::Mat &mask, std::vector< cv::DMatch > &matches) const |
Features & | operator= (const Features &rhs) |
std::vector< cv::Point2f > & | pts () |
const std::vector< cv::Point2f > & | pts () const |
virtual void | serialize (cv::FileStorage &fs) const |
virtual int | version () const |
virtual | ~Features () |
Private Member Functions | |
void | copyData (const Features &rhs) |
void | extract (const cv::DescriptorExtractor &extract, const cv::Mat &img) |
Private Attributes | |
cv::Mat | descriptors_ |
std::vector< cv::KeyPoint > | kpts_ |
cv::Ptr< cv::DescriptorMatcher > | matcher_ |
cv::Ptr< Copier < cv::DescriptorMatcher > > | matcher_copier_ |
std::vector< cv::Point2f > | pts_ |
Definition at line 21 of file Features.h.
Definition at line 10 of file Features.cpp.
virtual pano::Features::~Features | ( | ) | [inline, virtual] |
Definition at line 26 of file Features.h.
pano::Features::Features | ( | const Features & | rhs | ) | [inline] |
Definition at line 30 of file Features.h.
void pano::Features::addMatcher | ( | const T & | matcher | ) | [inline] |
Definition at line 50 of file Features.h.
void pano::Features::copyData | ( | const Features & | rhs | ) | [inline, private] |
Definition at line 105 of file Features.h.
cv::Mat& pano::Features::descriptors | ( | ) | [inline] |
Definition at line 65 of file Features.h.
const cv::Mat& pano::Features::descriptors | ( | ) | const [inline] |
Definition at line 69 of file Features.h.
void pano::Features::deserialize | ( | const cv::FileNode & | fn | ) | [virtual] |
Implements pano::serializable.
Definition at line 44 of file Features.cpp.
void pano::Features::detect | ( | const cv::FeatureDetector & | detect, |
const cv::Mat & | img | ||
) |
Definition at line 14 of file Features.cpp.
void pano::Features::extract | ( | const cv::DescriptorExtractor & | extracter, |
const cv::Mat & | img, | ||
const T & | matcher | ||
) | [inline] |
Definition at line 57 of file Features.h.
void pano::Features::extract | ( | const cv::DescriptorExtractor & | extract, |
const cv::Mat & | img | ||
) | [private] |
Definition at line 20 of file Features.cpp.
std::vector<cv::KeyPoint>& pano::Features::kpts | ( | ) | [inline] |
Definition at line 74 of file Features.h.
const std::vector<cv::KeyPoint>& pano::Features::kpts | ( | ) | const [inline] |
Definition at line 78 of file Features.h.
cv::Ptr<cv::DescriptorMatcher> pano::Features::makeMatcher | ( | ) | const [inline] |
Definition at line 46 of file Features.h.
void pano::Features::match | ( | const Features & | features, |
const cv::Mat & | mask, | ||
std::vector< cv::DMatch > & | matches | ||
) | const |
Definition at line 28 of file Features.cpp.
Definition at line 35 of file Features.h.
std::vector<cv::Point2f>& pano::Features::pts | ( | ) | [inline] |
Definition at line 82 of file Features.h.
const std::vector<cv::Point2f>& pano::Features::pts | ( | ) | const [inline] |
Definition at line 86 of file Features.h.
void pano::Features::serialize | ( | cv::FileStorage & | fs | ) | const [virtual] |
Implements pano::serializable.
Definition at line 37 of file Features.cpp.
virtual int pano::Features::version | ( | ) | const [inline, virtual] |
Implements pano::serializable.
Definition at line 93 of file Features.h.
cv::Mat pano::Features::descriptors_ [private] |
Definition at line 120 of file Features.h.
std::vector<cv::KeyPoint> pano::Features::kpts_ [private] |
Definition at line 121 of file Features.h.
cv::Ptr<cv::DescriptorMatcher> pano::Features::matcher_ [private] |
Definition at line 123 of file Features.h.
cv::Ptr<Copier<cv::DescriptorMatcher> > pano::Features::matcher_copier_ [private] |
Definition at line 124 of file Features.h.
std::vector<cv::Point2f> pano::Features::pts_ [private] |
Definition at line 122 of file Features.h.