#pragma once #include #include #include #include #include #include "QtCore\qdatetime.h" #include "QImage.h" #include #include #include #include #include //#define __DEBUG #ifdef __DEBUG #define DEBUG(format, ...) printf (format "\n", ##__VA_ARGS__) #else #define DEBUG(format, ...) #endif #define Queue_Size 15 std::vector string_split(std::string str, std::string pattern); std::string format(const char *pszFmt, ...); QImage cvMatToQImage(const cv::Mat& mat); void getMinMax(std::vector points,cv::Point3i &min, cv::Point3i &max); QString SecondToQStrTime(qint64 time_sec); void getFiles(std::string path, std::vector& files); std::string SelectDirBRI(); std::string SelectFileOFN(); std::string SelectDirIFD();