add core files

This commit is contained in:
Tang1705
2020-05-05 23:30:52 +08:00
parent e53ea3e6b7
commit edcc3e250c
82 changed files with 12139 additions and 308 deletions

18
Classes/cvtools.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef CVTOOLS_H
#define CVTOOLS_H
#include <opencv2/opencv.hpp>
#include <QtGui/qimage.h>
#include "Camera.h"
// struct CameraFrame;
namespace cvtools
{
QImage cvMat2qImage(cv::Mat mat);
cv::Mat Matx33dToMat(cv::Matx33d mat);
cv::Mat Vec3fToMat(cv::Vec<float, 3> vec);
cv::Mat camFrame2Mat(CameraFrame camFrame);
}
#endif // CVTOOLS_H