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/IDistance.h at master · Seahawk27/code

Expand file tree

/

IDistance.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
25 lines (22 loc) · 1.05 KB
/

IDistance.h

Copy path

File metadata and controls

executable file
·
25 lines (22 loc) · 1.05 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
/*****************************************************************************
* 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
*****************************************************************************/
#pragma once
#define STRATEGY_USE_OPTICAL_FLOW 1
#define STRATEGY_USE_DENSE_OF 2
#define STRATEGY_USE_FEATURE_MATCH 4
#define STRATEGY_USE_HORIZ_DISPARITY 8
class IDistance {
public:
virtual void OnlyMatchFeatures(int strategy = STRATEGY_USE_OPTICAL_FLOW + STRATEGY_USE_DENSE_OF + STRATEGY_USE_FEATURE_MATCH) = 0;
virtual void RecoverDepthFromImages() = 0;
virtual std::vector<cv::Point3d> getPointCloud() = 0;
virtual const std::vector<cv::Vec3b>& getPointCloudRGB() = 0;
};
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.