subbandsymbol.h

来自「该程序把数字图像处理与小波变换结合起来」· C头文件 代码 · 共 44 行

H
44
字号
#ifndef __SUBBANDSYMBOL_H_
#define __SUBBANDSYMBOL_H_
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* 
 * Mow-Song, Ng 2/9/2002
 * msng@mmu.edu.my
 * http://www.pesona.mmu.edu.my/~msng
 *
 * I do not claim copyright to the code, but if you use them or modify them,
 * please drop me a mail.
 *
 */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>

#include "memchk.h"

typedef struct SubbandSymbolStruct{
	int hsize, vsize;
	int nsteps;
	int nSubbands;
	int *subbandSize;
	int *subbandHSize;
	int *subbandVSize;
	int *symbol;
	int **subbandPtr;
} SubbandSymbol; 

SubbandSymbol *SubbandSymbolAlloc(int hsize, int vsize, int nsteps);
int SubbandSymbolGetNodeSymbol(SubbandSymbol *symbol, int scale, 
										 int orientation, int x, int y);
void SubbandSymbolSetNodeSymbol(SubbandSymbol *symbol, int scale, 
										  int orientation, int x, int y, int s);
void SubbandSymbolDealloc(SubbandSymbol *symbol);
void SubbandSymbolError(char *fmt, ...);

#endif

⌨️ 快捷键说明

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