📄 intdwtdoc.h
字号:
// INTDWTDoc.h : interface of the CINTDWTDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_INTDWTDOC_H__A9BA04C0_53C4_442D_9F12_BC2D17A7C9CB__INCLUDED_)
#define AFX_INTDWTDOC_H__A9BA04C0_53C4_442D_9F12_BC2D17A7C9CB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Dib.h"
#include "IntDwt97.h"
#include "Dwt.h"
#include "LiftDwt97.h"
#include "BinDwt97.h"
#include "IntDwt53.h"
class CINTDWTDoc : public CDocument
{
protected: // create from serialization only
CINTDWTDoc();
DECLARE_DYNCREATE(CINTDWTDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CINTDWTDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
void uint8(int *Imagebuffer, int height, int width);
void uint8(double *Imagebuffer, int height, int width);
void Imagedenoising(int width, int height, int level, float q,double *image);
CDib lpSrc,lpDst1,lpDst2,BMPFile;
CIntDwt97 INTDWT97;
CDwt FLOATDWT;
CLiftDwt97 NSDWT;
CBinDwt97 BINDWT;
CIntDwt53 INTDWT53;
int iwidth,iheight,level;
int *data1,*image1;
double *data2,*image2,*frame;
BOOL IsBmp(LPCTSTR lpszPathName);
virtual ~CINTDWTDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CINTDWTDoc)
afx_msg void OnOpenimage();
afx_msg void OnExit();
afx_msg void OnIntdwt();
afx_msg void OnIntidwt();
afx_msg void OnDwt();
afx_msg void OnIdwt();
afx_msg void OnNsdwt();
afx_msg void OnNsidwt();
afx_msg void OnBinnsdwt();
afx_msg void OnBinnsidwt();
afx_msg void OnImprovedFunction();
afx_msg void OnSaveimage();
afx_msg void OnOpenoriginalimage();
afx_msg void OnIntdwt53();
afx_msg void OnIntidwt53();
afx_msg void OnVideodenoising();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INTDWTDOC_H__A9BA04C0_53C4_442D_9F12_BC2D17A7C9CB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -