www.pudn.com > Videodisplay.rar > dwt.h, change:2004-11-02,size:1843b
// Dwt.h: interface for the Dwt class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DWT_H__A9308633_D311_4A97_BC73_040C6E3B66BB__INCLUDED_)
#define AFX_DWT_H__A9308633_D311_4A97_BC73_040C6E3B66BB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDwt
{
public:
CDwt();
virtual ~CDwt();
public:
// void 1DHarrDecompose(int lv,int width,double *baseData,double *reultData); //1Dharr分解
// void 1DHarrCompose(int lv,int width,double *baseData,double *reultData);
void cdf97Compose( int lv,int Width,int height, double *baseData, unsigned char *resultData);//97重构
void cdf97Decompose(int lv, int width, int height, unsigned char*baseData,double *resultData); //97分解
// void cdf97Compose(int nNumber,int nWidth,int nHeight, double *baseData, unsigned char *resultData); //97重新构造
// void cdf97Decompose(int nNumber,int nWidth,int nHeight, unsigned char *baseData, double *resultData); //97分解
void HarrDecompose(int nNumber,int nWidth,int nHeight, unsigned char *baseData, double *resultData); //harr分解
void HarrCompose(int nNumber,int nWidth,int nHeight, double *baseData, unsigned char *resultData); //harr重构
public:
void HarrCompose1D(int lv,int width,double *baseData,double *resultData);
void HarrDecompose1D(int lv,int width,double *baseData,double *resultData);
void IDwt1D(double *buffer, int buflen, int hBen, int hEnd, int h1Ben, int h1End, double *h, double *g);
void FilterSet(float t);
void Dwt1D(double *buffer, int buflen, int hBen, int hEnd, int h1Ben, int h1End, double *h, double *g);
// CDwt();
int hBen, hEnd, h1Ben, h1End, hLen, h1Len;
double *h, *g, *h1, *g1;
// virtual ~CDwt();
};
#endif // !defined(AFX_DWT_H__A9308633_D311_4A97_BC73_040C6E3B66BB__INCLUDED_)