资源简介

很好的一个基于双目的三维重建C++源代码。使用了Opencv,OpenGL还包括三维重建的显示,很全的流程。

资源截图

代码片段和文件信息

#include “header.h“

// sift is 50 times slower but get 7 times more matched points
// FAST detect more points than SURF
// STAR/MSER generate very few keypoints
#define DETECTOR_TYPE “FAST“ // FASTSIFTSURFSTARMSERGFTTHARRIS...see the create function
#define DEscriptOR_TYPE “SIFT“ // SURFSIFTBRIEF...BRIEF seemed to has bug
#define MATCHER_TYPE “Flannbased“ // BruteForceFlannbasedBruteForce-L1...

#define MAXM_FILTER_TH .8 // threshold used in GetPair
#define HOMO_FILTER_TH 60 // threshold used in GetPair
#define NEAR_FILTER_TH 40 // diff points should have distance more than NEAR_FILTER_TH


// choose the corresponding points in the stereo images for 3d reconstruction
void GetPair( Mat &imgL Mat &imgR vector &ptsL vector &ptsR ) 
{
Mat de

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\
     文件          23  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\HEAD
     文件         349  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\config
     文件          73  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\description
     目录           0  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\
     文件         452  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\applypatch-msg.sample
     文件         896  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\commit-msg.sample
     文件         160  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\post-commit.sample
     文件         552  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\post-receive.sample
     文件         189  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\post-update.sample
     文件         398  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\pre-applypatch.sample
     文件        1704  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\pre-commit.sample
     文件        4951  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\pre-rebase.sample
     文件        1239  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\prepare-commit-msg.sample
     文件        3611  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\hooks\update.sample
     文件        3448  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\index
     目录           0  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\info\
     文件         240  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\info\exclude
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\
     文件         213  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\HEAD
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\heads\
     文件         213  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\heads\master
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\remotes\
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\remotes\origin\
     文件         213  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\logs\refs\remotes\origin\HEAD
     目录           0  2017-04-14 22:41  OpenCV-OpenGL--Reconstuction3d\.git\objects\
     目录           0  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\objects\02\
     文件         157  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\objects\02\0b89cfc6f7c655f3cac32000240978ddc3c456
     目录           0  2017-04-14 22:39  OpenCV-OpenGL--Reconstuction3d\.git\objects\08\
............此处省略124个文件信息

评论

共有 条评论