📄 imageprocessview.h
字号:
// ImageProcessView.h : interface of the CImageProcessView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMAGEPROCESSVIEW_H__C02CE78D_2BF1_11D7_B637_000021B00837__INCLUDED_)
#define AFX_IMAGEPROCESSVIEW_H__C02CE78D_2BF1_11D7_B637_000021B00837__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ImagePr.h"
class CImageProcessView : public CView
{
protected: // create from serialization only
CImageProcessView();
DECLARE_DYNCREATE(CImageProcessView)
// Attributes
public:
CImageProcessDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImageProcessView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
protected:
class ImagePr * myP;
class Histogram *Hist;
// Implementation
public:
int shisto[100];
int hhisto[360];
int ihisto[256];
void ComputeHistogram(int label);
static bool IsOpen;
void OnPaint();
void DrawCenterDC(CDC * pDC);
virtual ~CImageProcessView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CImageProcessView)
afx_msg void OnButtongray();
afx_msg void OnFileOpen();
afx_msg void OnButtontest();
afx_msg void OnMenuitemsobel();
afx_msg void OnMenuitemvisionsobel();
afx_msg void OnSkinclassify();
afx_msg void OnBUTTONIngSheen();
afx_msg void OnFirstclassify();
afx_msg void OnSmalldel();
afx_msg void OnMoment();
afx_msg void OnFillholes();
afx_msg void OnRegdescr();
afx_msg void OnEyeextract();
afx_msg void OnMenuitemintandsd();
afx_msg void OnTemptest();
afx_msg void OnLowlfeatures();
afx_msg void OnBwdisplay();
afx_msg void OnRegbwdisplay();
afx_msg void OnEyepairs();
afx_msg void OnFileSave();
afx_msg void OnProjectiontest();
afx_msg void OnMouthextract();
afx_msg void OnYcbcr();
afx_msg void OnHighboost();
afx_msg void OnGrayscaledilate();
afx_msg void OnGrayscaleerosion();
afx_msg void OnButtonsave(CArchive &ar);
afx_msg void OnFilterOpen();
afx_msg void OnRegionfilter();
afx_msg void OnEditCopy();
afx_msg void OnFilterfeature();
afx_msg void OnHueseg();
afx_msg void OnLocseg();
afx_msg void OnHistogram();
afx_msg void OnStatistical();
afx_msg void OnTestclassify();
afx_msg void OnVisionimage();
afx_msg void OnHistequliz();
afx_msg void OnMomentseg();
afx_msg void OnImageenhance();
afx_msg void OnItertive();
afx_msg void OnMouthdef();
afx_msg void OnMeanfiltering();
afx_msg void OnImgadjust();
afx_msg void OnGauss();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ImageProcessView.cpp
inline CImageProcessDoc* CImageProcessView::GetDocument()
{ return (CImageProcessDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGEPROCESSVIEW_H__C02CE78D_2BF1_11D7_B637_000021B00837__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -