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.
84 lines
1.8 KiB
84 lines
1.8 KiB
|
|
// DIP182002108Dlg.h: 头文件
|
|
//
|
|
|
|
#pragma once
|
|
#include <opencv.hpp>
|
|
|
|
|
|
// CDIP182002108Dlg 对话框
|
|
class CDIP182002108Dlg : public CDialogEx
|
|
{
|
|
// 构造
|
|
public:
|
|
CDIP182002108Dlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_DIP182002108_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedButton1();
|
|
|
|
cv::Mat src;
|
|
afx_msg void OnBnClickedOpenvideo();
|
|
int m_width;
|
|
int m_height;
|
|
afx_msg void OnBnClickedButton2();
|
|
double m_angle;
|
|
afx_msg void OnBnClickedRotate();
|
|
double m_shearRatio;
|
|
afx_msg void OnBnClickedHshear();
|
|
afx_msg void OnBnClickedVshear();
|
|
int m_a;
|
|
int m_b;
|
|
int m_ga;
|
|
int m_gb;
|
|
afx_msg void OnBnClickedLinear();
|
|
afx_msg void OnBnClickedNonlinear();
|
|
afx_msg void OnBnClickedHisteq();
|
|
int m_pseudoMode;
|
|
afx_msg void OnBnClickedPseudo();
|
|
int m_kemalSize;
|
|
int m_filterType;
|
|
afx_msg void OnBnClickedSmooth();
|
|
int m_sharpType;
|
|
afx_msg void OnBnClickedSharp();
|
|
int m_th;
|
|
afx_msg void OnBnClickedThre();
|
|
int m_kernalSize;
|
|
int m_bias;
|
|
afx_msg void OnBnClickedAdthre();
|
|
int m_seedX;
|
|
int m_seedY;
|
|
int m_regionTh;
|
|
afx_msg void OnBnClickedRegoingrow();
|
|
int m_fSeedX;
|
|
int m_fSeedY;
|
|
int m_fTh;
|
|
afx_msg void OnBnClickedButton3();
|
|
afx_msg void OnBnClickedErode();
|
|
int m_morphType;
|
|
int m_morphSize;
|
|
afx_msg void OnBnClickedDilate();
|
|
afx_msg void OnBnClickedMorphopen();
|
|
afx_msg void OnBnClickedMorphclose();
|
|
int m_colorType;
|
|
afx_msg void OnBnClickedColor();
|
|
afx_msg void OnBnClickedButton9();
|
|
};
|