📄 数字水印技术doc.h
字号:
// 数字水印技术Doc.h : interface of the CDCTDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DCTDOC_H__976726ED_50FF_11D5_A3E9_C0035EC10000__INCLUDED_)
#define AFX_DCTDOC_H__976726ED_50FF_11D5_A3E9_C0035EC10000__INCLUDED_
#include "InputDlg.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDCTDoc : public CDocument
{
protected: // create from serialization only
CDCTDoc();
DECLARE_DYNCREATE(CDCTDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDCTDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
void last(float w[800][800]);
void fanhuanfang(float w[][800]);
float water_data[800][800];
float FDATA[800][800];
void w_workmarking(float water[][256]);
void jiance(void);
float hang(float matrix[][800],int length);
float sim(float a[][800],float b[][800],int n);
void ji(float sum[][800],float yuan[][800],float jia[][800]);
int bits2[256][256];
BITMAPFILEHEADER bmh_2;
int txt[16][16];
long ibit(long d[3][1]);
float chushi[800][800];
void input8_8(float yuan[][800],float *data_to,int x,int y);
float * tiqu8_8(float input[][800],int x,int y);
float picture[800][800];
void w_mixture(float m_image[][800],float water[][256]);
int Water_SuiJi[16*16];
float Datas22[256][256];
float pic22[800][800];
void OnDraw22(CDC *pDC);
int local[800][800];
int locel[800][800];
void chufa(float src[][800], int obj[8][8],int txt[16][16]);
long gray(int flag);
void zhiluan(float w[][800]);
void huanfang2(void);
CString m_sstring;
float *take_m(float t[][800], long N, long n);
void input2(float src[][800], float *opt, int*water, int N, int n);
int * make(int *t);
int getbit(int m,int n);
float water_marking[800][800];
void RMatrix();
void Matrix();
int StartData[8][8];
int aa;
int Min;
int widthx;
int widthy;
void Corsample(int N,int k,int l);
CInputDlg data;
int m_x;
int m_y;
int Max;
float Datas[800][800];
int RNw;
int RNh;
int Nh;
int Nw;
int Dnum[800][800];
int HDnum[800][800];
int ShowData[8][8];
float ShowFData[8][8];
void adaptive(float a[][800],float b[][256]);
void ZIDCT(int*,unsigned int*,int,int);
void ZDCT(int*,unsigned int*,int,int);
float Data[256][256];
void BiaoZh();
void Yuce(float,float,float,float,int,int);
void WTS(float*,int,int);
void WTSINV(float*,int,int);
void FCT(float*,unsigned int*,float*,int,int);
void IFCT(float*,unsigned int*,float*,int,int);
void chengjuzhen(long x[][3],long y[3][1],long sum[3][1]);
float DataI[800][800];
float DataR[800][800];
float middle[8][8];
float masksize[256][256];
int input[8][8];
int output[64];
void GLT(float*,float*,int,int);
void bit_reversal(unsigned*,int,int);
void FFT(float*,float*,float*,float*,int,int);
void SetXY(int x,int y,BYTE val);
void OnDraw(CDC*pDC);
void bit(long s,long b[][1]);
BYTE GetXY(int x,int y);
LPBITMAPINFO lpbmi;
LPBITMAPINFO lpbmi33;
LPBITMAPINFO lpbmi22;
BITMAPFILEHEADER bmh;
BITMAPFILEHEADER bmh33;
BITMAPFILEHEADER bmh22;
UINT m_TrueWidth;
UINT m_TrueWidth33;
UINT m_TrueWidth22;
CSize m_size;
CSize m_size33;
CSize m_size22;
LPBYTE lpbits;
LPBYTE lpbits33;
LPBYTE lpbits22;
void hvs2(float input[][800],float y_image[][800]);
// void FCT(fl0at*,unsigned int*,float*,int,int);
virtual ~CDCTDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDCTDoc)
afx_msg void OnFft();
afx_msg void OnIfft();
afx_msg void OnDct();
afx_msg void OnIdct();
afx_msg void OnZdct();
afx_msg void OnZidct();
afx_msg void OnShang();
afx_msg void OnYuce();
afx_msg void OnHuifu();
afx_msg void OnVData();
afx_msg void OnHData();
afx_msg void OnDataDCT();
afx_msg void OnIDCtHData();
afx_msg void OnZstore();
afx_msg void OnHdatadct();
afx_msg void OnHZDCt();
afx_msg void OnWucha();
afx_msg void OnJianjin();
afx_msg void OnSuijishu();
afx_msg void OnVshow();
afx_msg void OnHy();
afx_msg void OnImageDCT();
afx_msg void OnImageIDCT();
afx_msg void OnOpenfileTxt();
afx_msg void OnMagic();
afx_msg void OnGray();
afx_msg void OnFenpin();
afx_msg void OnSuan2();
afx_msg void OnHuiduPic();
afx_msg void OnNew256Pic();
afx_msg void OnDataW();
afx_msg void OnS1();
afx_msg void OnDataPic();
afx_msg void OnBeginH();
afx_msg void OnYuanPic();
afx_msg void OnChushiPic();
afx_msg void OnSubPW();
afx_msg void OnTxtToBits();
afx_msg void OnBitTxt();
afx_msg void OnS4();
afx_msg void On2Pic();
afx_msg void OnS5();
afx_msg void OnWT();
afx_msg void OnWT2();
afx_msg void OnSimYanzheng();
afx_msg void OnYanzheng();
afx_msg void OnHelpdlg();
afx_msg void OnS2();
afx_msg void OnPicSave();
afx_msg void OnS6();
afx_msg void OnS7();
afx_msg void OnFanHuanFang();
afx_msg void Onmagicx();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DCTDOC_H__976726ED_50FF_11D5_A3E9_C0035EC10000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -