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.
29 lines
485 B
29 lines
485 B
#ifndef BILA_H |
|
#define BILA_H |
|
|
|
#include <QObject> |
|
#include <QThread> |
|
#include <opencv2/opencv.hpp> |
|
|
|
class bila : public QObject |
|
{ |
|
Q_OBJECT |
|
public: |
|
explicit bila(QObject *parent = nullptr); |
|
|
|
void setparas(int r, double sigmac, double sigmar); |
|
void off(); |
|
public slots: |
|
void slotprocimg(cv::Mat img); |
|
signals: |
|
void signalsendimg(cv::Mat img); |
|
|
|
private: |
|
int r; |
|
double sigmac; |
|
double sigmar; |
|
QThread* thread; |
|
bool ready; |
|
}; |
|
|
|
#endif // BILA_H
|
|
|