
2. 去掉多余的std::out,避免采集log过于杂乱; 3. 通过OpenCV从高光谱影像中提取rgb影像; 4. 在log中记录开始采集时间和停止采集时间; 5. 添加手动设置曝光时间的功能:127.0.0.1 7,2; 6. 头文件中写入仪器序列号;
20 lines
372 B
C++
20 lines
372 B
C++
#ifndef UTILITY_TC_H
|
|
#define UTILITY_TC_H
|
|
|
|
#include <iostream>
|
|
#include <ctime>
|
|
|
|
#include <QString>
|
|
#include <QDebug>
|
|
|
|
QString getFileNameBaseOnTime();
|
|
|
|
QString formatTimeStr(char * format);
|
|
|
|
//https://blog.csdn.net/MoreWindows/article/details/6657829
|
|
void bubbleSort(unsigned short * a, int n);
|
|
|
|
void swap(unsigned short * a, unsigned short * b);
|
|
|
|
#endif // UTILITY_TC_H
|