• 大小: 361KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-02
  • 语言: 其他
  • 标签: OpenCV  

资源简介

相机加投影仪三维扫描源代码基于opencv,相机标定,投影仪标定,输出三维数据等

资源截图

代码片段和文件信息

#include “AdditionalFunctions.h“


AdditionalFunctions::AdditionalFunctions(void) { }


AdditionalFunctions::~AdditionalFunctions(void) { }

cv::Mat AdditionalFunctions::toScreenSize(cv::Mat image) {


//bei bedarf bild um 90grad drehen
if(image.cols==640 && image.rows==480){
cv::transpose(imageimage);
}






if (image.cols > SCREENWIDTH) 
cv::resize(image imagecv::Size(SCREENWIDTH
(image.rows * SCREENHEIGHT) / image.cols));

if (image.rows > SCREENHEIGHT)
cv::resize(image image
cv::Size((image.cols * SCREENHEIGHT / image.rows) SCREENHEIGHT));
return image;
}

void AdditionalFunctions::loadImages() {
this->phase1Image = AdditionalFunctions::toScreenSize(cv::imread(“./captured/phase1.jpg“));
this->phase2Image = AdditionalFunctions::toScreenSize(cv::imread(“./captured/phase2.jpg“));
this->phase3Image = AdditionalFunctions::toScreenSize(cv::imread(“./captured/phase3.jpg“));
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-28 10:49  3DScanner-master\
     文件        4202  2013-01-28 10:49  3DScanner-master\PLYExporter.cpp
     目录           0  2019-01-10 21:55  __MACOSX\
     目录           0  2019-01-10 21:55  __MACOSX\3DScanner-master\
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._PLYExporter.cpp
     文件        1304  2013-01-28 10:49  3DScanner-master\RunScanner.cpp.orig
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._RunScanner.cpp.orig
     文件         920  2013-01-28 10:49  3DScanner-master\AdditionalFunctions.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._AdditionalFunctions.cpp
     文件        4971  2013-01-28 10:49  3DScanner-master\3-D-Scanner.vcxproj
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._3-D-Scanner.vcxproj
     文件        5235  2013-01-28 10:49  3DScanner-master\CamCalib.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._CamCalib.cpp
     文件        4786  2013-01-28 10:49  3DScanner-master\CamCalibdoof.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._CamCalibdoof.cpp
     文件        2543  2013-01-28 10:49  3DScanner-master\3-D-Scanner.vcxproj.filters
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._3-D-Scanner.vcxproj.filters
     文件        4403  2013-01-28 10:49  3DScanner-master\CaptureScan.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._CaptureScan.cpp
     文件        1982  2013-01-28 10:49  3DScanner-master\scanParams.h
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._scanParams.h
     文件        4868  2013-01-28 10:49  3DScanner-master\3DScan.vcxproj
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._3DScan.vcxproj
     文件         128  2013-01-28 10:49  3DScanner-master\CamCalib.h.orig
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._CamCalib.h.orig
     文件        3773  2013-01-28 10:49  3DScanner-master\EncodePhase.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._EncodePhase.cpp
     文件        4324  2013-01-28 10:49  3DScanner-master\3DScanner.vcxproj
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._3DScanner.vcxproj
     文件        1451  2013-01-28 10:49  3DScanner-master\RunScanner.cpp
     文件         172  2013-01-28 10:49  __MACOSX\3DScanner-master\._RunScanner.cpp
............此处省略72个文件信息

评论

共有 条评论