decompress.h

来自「这是用提升小波变换与嵌入零树编码实现的256色灰度BMP图像压缩与解压缩的程序。」· C头文件 代码 · 共 59 行

H
59
字号
// Decompress.h : main header file for the DECOMPRESS application
//

#if !defined(AFX_DECOMPRESS_H__62E4B019_9A6E_4F2B_9BDA_F443069A85A0__INCLUDED_)
#define AFX_DECOMPRESS_H__62E4B019_9A6E_4F2B_9BDA_F443069A85A0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CDecompressApp:
// See Decompress.cpp for the implementation of this class
//

class CDecompressApp : public CWinApp
{
public:
	CDecompressApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDecompressApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CDecompressApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

typedef struct CoefficientNode
{
	int x;  //横坐标
	int y;  //纵坐标
	char scale;  //所在尺度(层)分辨率最低的子带对应着最大尺度
	char orientation;  //空间定位(1为水平方向,2为垂直方向,3为对角方向)
	int flag;    //标志位(是否是零树上的结点,0代表不是,1代表是)
	int importflag;  //是否是重要元素标志(0代表不是,1代表是)
	int coef;
}CNode;
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DECOMPRESS_H__62E4B019_9A6E_4F2B_9BDA_F443069A85A0__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?