Files
ximeaAirborneSystem/Header_Files/utility_tc.h
tangchao0503 447a1aafb1 1. 最大曝光时间乘以0.95,目的:避免曝光时间超过最大,而造成帧率降低;
2. 去掉多余的std::out,避免采集log过于杂乱;
3. 通过OpenCV从高光谱影像中提取rgb影像;
4. 在log中记录开始采集时间和停止采集时间;
5. 添加手动设置曝光时间的功能:127.0.0.1 7,2;
6. 头文件中写入仪器序列号;
2023-03-19 16:44:12 +08:00

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