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.
 
 
 
 
 
 

27 lines
465 B

#ifndef CLHE_H
#define CLHE_H
#include <QObject>
#include <QThread>
#include <opencv2/opencv.hpp>
class clhe : public QObject
{
Q_OBJECT
public:
explicit clhe(QObject *parent = nullptr);
void setthreshold(int threshold);
void off();
public slots:
void slotprocimg(cv::Mat img);
signals:
void signalsendimg(cv::Mat img);
private:
int threshold;
QThread* thread;
int* hist;
int* HIST;
bool ready;
};
#endif // CLHE_H