28 lines
411 B
C
28 lines
411 B
C
|
#pragma once
|
|||
|
|
|||
|
#include <QObject>
|
|||
|
#include <QThread>
|
|||
|
#include <QDebug>
|
|||
|
|
|||
|
#include <opencv2/opencv.hpp>
|
|||
|
#include <opencv2/imgproc/types_c.h>
|
|||
|
|
|||
|
class CvAlgorithmTools : public QObject
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
public:
|
|||
|
CvAlgorithmTools(QObject* parent = Q_NULLPTR);
|
|||
|
~CvAlgorithmTools();
|
|||
|
|
|||
|
public:
|
|||
|
void CvImageRgb2Gray(cv::Mat rgbImg);
|
|||
|
|
|||
|
|
|||
|
|
|||
|
signals:
|
|||
|
//CvImageRgb2Gray<61><79><EFBFBD>ؽ<EFBFBD><D8BD><EFBFBD>
|
|||
|
void sendCvImageRgb2GrayResult(cv::Mat grayImg);
|
|||
|
|
|||
|
|
|||
|
|
|||
|
};
|