📄 图像增强技术doc.h
字号:
// 图像增强技术Doc.h : interface of the CMyDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DOC_H__D3D402CB_6534_11D6_8DF1_5254AB3A9FFE__INCLUDED_)
#define AFX_DOC_H__D3D402CB_6534_11D6_8DF1_5254AB3A9FFE__INCLUDED_
DECLARE_HANDLE(HDIB);
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMyDoc : public CDocument
{
protected: // create from serialization only
CMyDoc();
DECLARE_DYNCREATE(CMyDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
double FNMSETemp1;
double FNMSETemp2;
double FNMSETemp3;
double FNMSE;
unsigned char MaxValue(unsigned char* array,int longth);
unsigned char MidValue(unsigned char* array,int longth);
void HightFilterIFFT();
void HightFilterFFT();
double* FFD2;
double* FFD1;
void IFFT(double* FD1,double* FD2,double* TD1,double* TD2,int r);
void FFT(double* TD1,double* TD2,double* FD1,double* FD2,int r);
unsigned char* lpTempDIB;
unsigned char* lpTemp1DIB;
CString Caption;
double FPSNRTemp;
double FPSNR;
double FSIF;
int PSNR;
void OnDraw(CDC* pDC);
LPBYTE lpBits;
CSize m_size;
LPBITMAPINFO lpbmi;
BITMAPFILEHEADER bmh;
virtual ~CMyDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMyDoc)
afx_msg void OnReserve();
afx_msg void OnLinerchange();
afx_msg void OnStre();
afx_msg void OnThre();
afx_msg void OnGradsharp();
afx_msg void OnLplssharp();
afx_msg void OnMidfilter();
afx_msg void OnNeismooth();
afx_msg void OnAddmidfilter();
afx_msg void OnAdaptiveSmoothFilter();
afx_msg void OnRandnoise();
afx_msg void OnSaltnoise();
afx_msg void OnCopynonoiseimage();
afx_msg void OnFft();
afx_msg void OnIfft();
afx_msg void OnInteequalize();
afx_msg void OnRecursivemidfilter();
afx_msg void OnSmallwave();
afx_msg void OnNormallowfilter();
afx_msg void OnBaterwofulowfilter();
afx_msg void OnZhishulowfilter();
afx_msg void OnTixinglowfilter();
afx_msg void OnBaterwofuhightfilter();
afx_msg void OnZhishuhightfilter();
afx_msg void OnTixinghightfilter();
afx_msg void OnCopysaltnoiseimage();
afx_msg void OnBlurredaddedmeanfilter();
afx_msg void OnMixedmidfilter();
afx_msg void OnRecursivetremendousmidfilter();
afx_msg void OnNorecursivetremendousmidfilter();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DOC_H__D3D402CB_6534_11D6_8DF1_5254AB3A9FFE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -