代码拉取完成,页面将自动刷新
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <opencv2/opencv.hpp>
#include <QFileDialog>
#include <QTextCodec>
#include <QtMath>
#include <QDebug>
#include "imagequeue.h"
#include "brightdialog.h"
#include "translatedialog.h"
#include "perspectivedialog.h"
#include "convolution.h"
#include "mappingdialog.h"
#include "cannydialog.h"
#include "regiongrowingdialog.h"
#include "houghdialog.h"
#include "morphologydialog.h"
#include "skeletondialog.h"
#include "colorfeaturedialog.h"
#include "projectiondialog.h"
#include "geometrydialog.h"
#include "differencedialog.h"
#include "moravecdialog.h"
using namespace cv;
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_Bbefore_clicked();
void on_Bredo_clicked();
void openImage();
void imageFlush();
void saveImage();
void openBrightMenu();
void openTranslateMenu();
void openPerspectiveMenu();
void receiveImage(Mat);
void cuteTest();//用于测试的接口
void Histogram();//直方图均衡化
void toGrayImage();//转换为灰度图接口
void on_actionConvolution_triggered();
void on_actionmapping_triggered();
void on_actionCanny_triggered();
void on_actionOstu_triggered();
void on_actionregiongrowing_triggered();
void on_actionHough_triggered();
void on_action_morphology_triggered();
void on_actionskeleton_triggered();
void on_actioncolor_triggered();
void on_actionprojection_triggered();
void on_actiongeometry_triggered();
void on_actiondifference_triggered();
void on_actionMoravec_triggered();
signals:
void sendImage(Mat);
private:
Ui::MainWindow *ui;
imagequeue imque;
};
#endif // MAINWINDOW_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。