You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
702 B

#ifndef MULTIPOINT_H
#define MULTIPOINT_H
#include <QObject>
#include <QMap>
#include <QThread>
#include <opencv2/opencv.hpp>
class MultiPoint : public QObject
{
Q_OBJECT
public:
explicit MultiPoint(QObject *parent = nullptr);
public slots:
void saveData(cv::Mat );
void calcData();
void runData(cv::Mat );
void meanmat(cv::Mat);
void save();
void savedata();
signals:
void signalsendimg(cv::Mat);
private:
QThread* thread;
bool ready;
QMap<double,cv::Mat> datas;
int stagecount;
double* stages;
double* kstages;
double* bstages;
cv::Mat msave;
bool b_save;
int n_save;
};
#endif // MULTIPOINT_H