You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#ifndef _ALGOTEST_H_
|
|
|
|
|
#define _ALGOTEST_H_
|
|
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
|
#include "ui_AlgoTest.h"
|
|
|
|
|
#include "lpImgViewer.h"
|
|
|
|
|
#include "QAlgDetect.h"
|
|
|
|
|
|
|
|
|
|
class AlgoTest : public QMainWindow
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
AlgoTest(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
~AlgoTest();
|
|
|
|
|
void loadImage(QString strPath);
|
|
|
|
|
void algCallFunc(QImage img);
|
|
|
|
|
Q_SLOT void onButtonClicked();
|
|
|
|
|
private:
|
|
|
|
|
Ui::AlgoTestClass ui;
|
|
|
|
|
|
|
|
|
|
lpImgViewer* m_srcView{ nullptr };
|
|
|
|
|
lpImgViewer* m_rltView{ nullptr };
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QStringList m_filelst;
|
|
|
|
|
int m_gIndex{ 0 };
|
|
|
|
|
|
|
|
|
|
QAlgDetect *m_pAlg{ nullptr };
|
|
|
|
|
};
|
|
|
|
|
#endif
|
|
|
|
|
|