GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — code/Chapter4_StructureFromMotion/RichFeatureMatcher.h at master · supergis/code Expand file tree/ Copy pathRichFeatureMatcher.hMore file actions executable file ·31 lines (25 loc) · 1.15 KB / Copy pathRichFeatureMatcher.hFile metadata and controlsexecutable file ·31 lines (25 loc) · 1.15 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 /***************************************************************************** * ExploringSfMWithOpenCV ****************************************************************************** * by Roy Shilkrot, 5th Dec 2012 * http://www.morethantechnical.com/ ****************************************************************************** * Ch4 of the book "Mastering OpenCV with Practical Computer Vision Projects" * Copyright Packt Publishing 2012. * http://www.packtpub.com/cool-projects-with-opencv/book *****************************************************************************/ #include "IFeatureMatcher.h" class RichFeatureMatcher : public IFeatureMatcher { private: cv::Ptr<cv::FeatureDetector> detector; cv::Ptr<cv::DescriptorExtractor> extractor; std::vector<cv::Mat> descriptors; std::vector<cv::Mat>& imgs; std::vector<std::vector<cv::KeyPoint> >& imgpts; public: //c'tor RichFeatureMatcher(std::vector<cv::Mat>& imgs, std::vector<std::vector<cv::KeyPoint> >& imgpts); void MatchFeatures(int idx_i, int idx_j, std::vector<cv::DMatch>* matches = NULL); std::vector<cv::KeyPoint> GetImagePoints(int idx) { return imgpts[idx]; } }; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |