wav_gen.h

来自「VC++写的二维小波变换,用于图象处理,可以参考一下」· C头文件 代码 · 共 32 行

H
32
字号
// Onur G. Guleryuz 1995, 1996, 1997,
// University of Illinois at Urbana-Champaign,
// Princeton University,
// Polytechnic University.

#if !defined(_WAV_GEN_)
#define _WAV_GEN_

// Grow only the LL band after this level 
// (relevant for packet decompositions).
#define LL_ONLY_AFTER_LEV 6

// Maximum level possible in all decompositions.
// Mainly because we are using static allocation in some
// places.
#define MAX_LEV 6
#define MAX_LEV_POW 64 /* 2^MAX_LEV */

#define MAX_ARR_SIZE (MAX_LEV_POW)

#ifndef max
#define max(a,b) \
	((a)>(b)?(a):(b))
#endif

#ifndef min
#define min(a,b) \
	((a)<(b)?(a):(b))
#endif

#endif

⌨️ 快捷键说明

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