-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
56 lines (53 loc) · 2.16 KB
/
main.cpp
File metadata and controls
56 lines (53 loc) · 2.16 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#include "mainwindow.h"
#include <QApplication>
#include <QSplashScreen>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QSplashScreen *splash = new QSplashScreen;
splash->setPixmap(QPixmap(":/splash.png"));
splash->show();
MainWindow w;
w.showMaximized();
w.show();
splash->finish(&w);
delete splash;
return a.exec();
}
/***************************************************
* 截止到2014-10-12日以前的工作汇总:
* 实现功能:新建工程(即选择一个空的文件夹作为图片的存放目录)
* 打开摄像头,能够实时预览图像以及对在校准过程中采集的图像进行预览,保存图像到指定文件夹
* 开关投影仪,其中关投影通过投射黑色图像实现
* 投射条纹图像,投射窗口由OpenCV生成
* 采集扫描图像并保存
* 设置工作过程中可能用到的全局变量并写入xml文件
* ***************************************************
* 10-13
* 对文件存放路径的生成进行了调整,新建工程直接生成calib、reconstruction、scan三个文件夹
* 通过选择文件夹函数selectPath选择当前存储路径projChildPath
* 对配置文件set.xml的存储进行了调整,储存在工程根目录下
* 自定义类调用时,应防止头文件相互包含,可以采用前置声明方式
* 目前将set作为参数储存库,有些参数不需要手工设置,应在初始化时自动设置
* *****************************************************
* 10-18
* 完成了重建相关代码的添加,构建无错误
* *****************************************************
* 10-19
* 优化reconstruct类代码
* *****************************************************
* 10-20
* 成功将大恒相机移植到Qt环境,对rawbuffer的调取没有采用callback函数,而是通过定时器触发信号槽的形式
* 对QImage*指针指向图片的操作,应首先将其转换为QPixmap,再进行缩放、变形等操作
* ******************************************************
* 10-25
* 改进了扫描图像的采集方式,利用单帧采集函数采集,在投影和采集之间添加延时
*
*
*
*
*
*
*
*
*/