GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — code/Chapter4_StructureFromMotion/RichFeatureMatcher.h at master · supergis/code

Expand file tree

/

RichFeatureMatcher.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
31 lines (25 loc) · 1.15 KB
/

RichFeatureMatcher.h

Copy path

File metadata and controls

executable file
·
31 lines (25 loc) · 1.15 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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.